DevOps Engineer · interview questions

DevOps Engineer interview questions: comparison

From the role's core and recommended topics, most asked first. Filter by the kind of answer the question wants.

DevOps Engineer Core 6

  1. Most asked Trunk-based development or GitFlow: which do you prefer, and why?
  2. Most asked Explain the difference between L4 and L7 load balancers and when to use each.
  3. Most asked What is the difference between continuous integration, continuous delivery and continuous deployment, in practice?
  4. Most asked Which Linux skills matter most for a DevOps engineer?
  5. Mutable or immutable infrastructure: what is the difference?
  6. What is the difference between a canary release, a feature flag and an A/B test?

DevOps Fundamentals Core 7

  1. Most asked CI vs CD
  2. Most asked DevOps tooling: explain Docker image vs container.
  3. Most asked DevOps tooling: explain liveness vs readiness probes.
  4. Most asked DevOps tooling: explain Deployment vs StatefulSet.
  5. continuous delivery vs deployment
  6. SRE vs DevOps
  7. How does continuous integration differ from continuous deployment?

Docker Core 5

  1. Most asked What is a container, and how does it differ from a virtual machine?
  2. Most asked What is the difference between an image and a container, and how do image layers work?
  3. Most asked CMD or ENTRYPOINT: what is the difference, and what are exec and shell forms?
  4. Most asked ARG or ENV: what is the difference, and how do you pass secrets into a build safely?
  5. COPY or ADD: what is the difference?

Kubernetes Core 8

  1. Most asked ConfigMaps and Secrets: how do they differ, and how should secrets really be handled?
  2. Most asked What is the difference between resource requests and limits, and what are the QoS classes?
  3. Most asked How does autoscaling work in Kubernetes? Compare HPA, VPA, Cluster Autoscaler and Karpenter.
  4. Most asked Ingress or Gateway API: how do you expose HTTP services, and what has changed recently?
  5. Most asked Helm or Kustomize: how do you manage manifests?
  6. Should you run databases on Kubernetes?
  7. What are labels, selectors and annotations, and how should you use them?
  8. What is the difference between a Deployment's rollout and a restart, and when would you use kubectl rollout restart?

Terraform Core 11

  1. Most asked count or for_each: when do you use each?
  2. Most asked When do you need depends_on in Terraform, and when is it a code smell?
  3. Most asked Terraform and Ansible: how do they differ, and do you need both?
  4. Most asked Compare Terraform with CloudFormation, CDK and Pulumi.
  5. Most asked Terraform or OpenTofu: what is the difference, and how would you choose?
  6. How should nonprod and production Terraform configurations differ, and how do you enforce those differences?
  7. What is the difference between an ECS task execution role and a task role, and how do you define them in Terraform?
  8. How do variable validation rules work in Terraform, and when should you use them?
  9. What is the difference between variables, locals and outputs?
  10. What are data sources, and when should you use them?
  11. What is the difference between terraform refresh, plan -refresh-only and apply -refresh-only?

Linux Core 2

  1. What is load average, and how is it different from CPU utilisation?
  2. What is the difference between kill, kill -9 and a graceful shutdown?

CI/CD & Deployment Core 6

  1. Most asked What's the difference between continuous integration, continuous delivery and continuous deployment?
  2. Most asked Compare rolling, blue-green and canary deployments.
  3. Most asked What's the difference between liveness and readiness probes?
  4. What are self-hosted vs managed CI runners, and when do you choose each?
  5. What are the CI/CD trade-offs of monorepos vs polyrepos?
  6. When would you choose serverless functions vs containers vs VMs for deployment?

Logging & Observability Core 3

  1. Most asked What are the three pillars of observability, and how do they differ?
  2. What is the difference between liveness, readiness and startup checks?
  3. What's the difference between monitoring and observability?

GitHub Actions Fundamentals Core 1

  1. Reusable workflows or composite actions: what's the difference, and when do you use each?

Site Reliability Engineering Recommended 5

  1. Most asked What is the difference between monitoring and observability? Explain metrics, logs and traces.
  2. Most asked What is the difference between liveness, readiness and startup probes in Kubernetes?
  3. Compare rolling, blue-green and canary deployments.
  4. Active-active or active-passive multi-region: what are the trade-offs?
  5. What is the difference between synthetic monitoring and real-user monitoring?

Networking Recommended 7

  1. Most asked What's the difference between TCP and UDP, and when would you choose UDP?
  2. Most asked What's the difference between stateful and stateless firewalls? Give cloud examples.
  3. Most asked Security groups versus network ACLs: how do they differ and how would you use them together?
  4. Most asked Compare HTTP/1.1, HTTP/2 and HTTP/3.
  5. Most asked Compare layer 4 and layer 7 load balancers. When would you use each?
  6. Most asked What makes a subnet public or private in AWS?
  7. What's the difference between Azure VNets and Google Cloud VPCs compared with AWS VPCs?

Cloud Engineer Recommended 4

  1. Most asked Compare object, block and file storage in the cloud.
  2. Which data transfer charges surprise teams, and how do you reduce them?
  3. How do monitoring and logging differ between AWS, Azure and Google Cloud, and what defaults would you set?
  4. What is the difference between AWS Organizations SCPs, Azure Policy and Google Cloud organization policies?

Web Security & WAF Recommended 1

  1. Which HTTP security headers should every web app send?

Was this page helpful?

Report a mistake