DevOps Graduate Trainee Interview Flashcards

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/39

flashcard set

Earn XP

Description and Tags

A complete revision flashcard set designed for a DevOps Graduate Trainee interview covering Kubernetes, Linux/Bash, networking, Docker, CI/CD, observability, troubleshooting, systems design, and cloud fundamentals.

Last updated 9:00 PM on 9/15/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

40 Terms

1
New cards

What is DevOps?

DevOps is a combination of practices, tools, and culture that brings development and operations closer together to make building, deploying, and maintaining software more reliable and efficient through automation, CI/CD, infrastructure as code, monitoring, and continuous feedback.

2
New cards

What does a normal day look like for a DevOps engineer?

A DevOps engineer monitors infrastructure and applications, checks deployment pipelines, troubleshoots incidents, works with developers to resolve issues, and automates repetitive processes to make deployments reliable and systems scalable.

3
New cards

What is Kubernetes?

Kubernetes is a container orchestration platform used to deploy, manage, scale, and maintain containerized applications by automating scheduling, restarting failed workloads, scaling, service discovery, and rolling updates.

4
New cards

What is a Pod in Kubernetes?

A Pod is the smallest deployable unit in Kubernetes. It usually contains one container, but related containers can share a Pod's network and storage context.

5
New cards

What is a Deployment in Kubernetes?

A Deployment manages the desired state of an application through ReplicaSets and Pods, supporting declarative updates, scaling, and rolling updates.

6
New cards

What is a Service in Kubernetes?

A Service provides a stable network endpoint for a group of Pods because Pod IP addresses can change when Pods are replaced.

7
New cards

What is the difference between a ConfigMap and a Secret in Kubernetes?

A ConfigMap stores non-sensitive configuration, whereas a Secret stores sensitive configuration such as passwords, API keys, and tokens.

8
New cards

What is a Namespace in Kubernetes?

A Namespace provides logical isolation and organization of Kubernetes resources within a cluster.

9
New cards

What is Ingress in Kubernetes?

Ingress provides HTTP/HTTPS routing from outside the cluster to Services, commonly based on hostnames or URL paths, through an Ingress Controller.

10
New cards

What are the main components of the Kubernetes control plane?

The API Server (main entry point), Scheduler (chooses nodes for Pods), Controller Manager (maintains desired state), and etcd (stores cluster state).

11
New cards

What is the role of the kubelet in Kubernetes?

The kubelet is an agent on each worker node that helps ensure the containers described by Pods are running as expected.

12
New cards

What is the difference between readiness, liveness, and startup probes?

Readiness checks whether a Pod should receive traffic; liveness checks whether a container should continue running or be restarted; startup gives slow-starting applications time to initialize before liveness checks begin.

13
New cards

What is the Horizontal Pod Autoscaler (HPA)?

HPA automatically adjusts the number of Pod replicas based on resource or custom metrics.

14
New cards

What is the memory aid for pre-deployment checks in Kubernetes?

IMAGE → RESOURCES → NETWORK → CONFIG → SECURITY → HEALTH → SCALE → MONITOR

15
New cards

What do common Pod states Pending, Running, CrashLoopBackOff, and ImagePullBackOff mean?

Pending: not yet scheduled/started. Running: started, but not necessarily healthy. CrashLoopBackOff: repeatedly crashing with restart backoff. ImagePullBackOff: image cannot be pulled and Kubernetes is retrying.

16
New cards

How do you troubleshoot a failing Pod in Kubernetes?

Start with status and events, then inspect the Pod, logs, image/configuration, resources, and dependencies using commands such as kubectl get pods, kubectl describe pod, kubectl logs, and kubectl get events.

17
New cards

What is the recommended health-check approach for a Linux server?

Follow the order: system overview → CPU → memory → disk → processes → networking → services → logs.

18
New cards

Which Linux commands are used to check memory, disk, listening ports, and services?

Memory: free -h; Disk: df -h; Listening ports: ss -tulpn; Services: systemctl status.

19
New cards

What is SSH and what is its default port?

SSH (Secure Shell) is commonly used to remotely connect to Linux servers, typically operating on port 22.

20
New cards

What is DNS and what is the lookup flow for a web request?

DNS (Domain Name System) translates domain names into IP addresses. Flow: www.example.com → DNS lookup → IP address → server connection → HTTP/HTTPS request.

21
New cards

How do HTTP and HTTPS differ in terms of ports and security?

HTTP uses port 80 and does not encrypt application traffic; HTTPS uses port 443 and protects HTTP traffic using TLS for confidentiality, integrity protection, and server authentication.

22
New cards

What is TCP?

TCP is a connection-oriented transport protocol that provides reliable, ordered delivery of data.

23
New cards

What is a load balancer?

A load balancer distributes incoming traffic across backend instances or servers, improving scalability, availability, and performance.

24
New cards

What is a container?

A container is an isolated application process packaged with its dependencies that shares the host operating system kernel.

25
New cards

What is the difference between a Dockerfile and Docker Compose?

A Dockerfile defines instructions for building a single Docker image, while Docker Compose defines and manages one or more related containers and services together.

26
New cards

What is the difference between a Docker image and a container?

An image is the package/template; a container is a running instance of an image.

27
New cards

What is the typical flow of a CI/CD pipeline for a Java application?

Java code → Git push → CI → Build → Test → JAR → Docker image (optional) → Registry → Deploy → Health checks → Monitoring.

28
New cards

What is the difference between CI and CD?

CI (Continuous Integration) automatically builds and tests integrated code changes; CD (Continuous Delivery/Deployment) automates the delivery and/or deployment of validated changes.

29
New cards

What is observability and what are its three major signals?

Observability is the ability to understand a system's internal behavior from its outputs. Its three major signals are logs (what happened?), metrics (how is it performing?), and traces (where did the request spend time?).

30
New cards

What components form a complete Kubernetes observability architecture?

Fluent Bit (log collection), Loki or Elasticsearch/OpenSearch (log storage), Prometheus (metrics collection), Node Exporter and kube-state-metrics (node/k8s metrics), Grafana (visualization), Alertmanager (notifications), and OpenTelemetry with Jaeger or Tempo (tracing).

31
New cards

What troubleshooting framework should be used if a service is slow?

Metrics → Logs → Dependencies → Infrastructure → Fix → Verify.

32
New cards

What action should you take if CPU utilization reaches 95%?

Investigate why CPU is high first (e.g., traffic, inefficient code, runaway processes, or resource limits) rather than immediately scaling up CPU, because scaling does not replace root-cause analysis.

33
New cards

What is a rollback?

Returning an application or deployment to a previously known-good version after a problematic change.

34
New cards

What is the difference between horizontal and vertical scaling?

Horizontal scaling adds more instances/replicas; vertical scaling increases the CPU or memory of an existing instance.

35
New cards

What is a stateless application?

An application that does not depend on local instance memory to retain state between requests, relying instead on shared systems like databases or caches.

36
New cards

What is the difference between an AWS Region and an Availability Zone?

An AWS Region is a geographic area containing multiple isolated Availability Zones, while an Availability Zone is an isolated location within a Region.

37
New cards

What is Infrastructure as Code (IaC) and what tool is commonly used?

IaC means defining infrastructure in version-controlled configuration so environments can be created consistently and automated; Terraform is a common IaC tool.

38
New cards

What is the cloud shared responsibility model?

The provider is responsible for security OF the cloud; the customer is responsible for security IN the cloud.

39
New cards

How should you handle a deployment failure disagreement with a developer?

Remain calm, focus on resolving the technical issue rather than assigning blame, investigate using logs/metrics, suggest rolling back if necessary to restore service, and document and prevent recurrence collaboratively.

40
New cards

What is the recommended graduate trainee interview answer structure?

Understand the problem → gather evidence → make a controlled change → verify → document → prevent recurrence.