Site Reliability Engineer (SRE) · interview questions

Site Reliability Engineer (SRE) interview questions: comparison

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

Site Reliability Engineering Core 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?

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?

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?

Performance & Scalability Core 4

  1. Most asked What is the difference between vertical and horizontal scaling?
  2. Most asked What's the difference between latency and throughput?
  3. When does asynchronous I/O improve performance, and when doesn't it?
  4. How can adding caches or indexes hurt performance?

Networking Core 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?

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?

DevOps Engineer Recommended 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?

Docker Recommended 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?

Terraform Recommended 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?

Database Concurrency & Scaling Recommended 6

  1. Most asked What's the difference between Read Committed and Repeatable Read in practice?
  2. When would you choose optimistic locking over SELECT … FOR UPDATE?
  3. What is the difference between partitioning and sharding?
  4. When should you NOT use SKIP LOCKED?
  5. What's the difference between a deadlock and a lock wait timeout?
  6. How does Postgres SERIALIZABLE differ from MySQL SERIALIZABLE?

Messaging & Queues Recommended 7

  1. Most asked Compare Kafka and RabbitMQ (and managed queues like SQS).
  2. What is the difference between a work queue and publish/subscribe?
  3. Choreography vs orchestration for multi-service workflows?
  4. How do you schedule delayed or future work with queues?
  5. When is Redis (lists or streams) good enough as a queue?
  6. When would you use a workflow engine like Temporal instead of plain queues?
  7. When should a request be handled synchronously versus asynchronously?

CI/CD & Deployment Recommended 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?

Was this page helpful?

Report a mistake