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
- Most asked What is the difference between monitoring and observability? Explain metrics, logs and traces.
- Most asked What is the difference between liveness, readiness and startup probes in Kubernetes?
- Compare rolling, blue-green and canary deployments.
- Active-active or active-passive multi-region: what are the trade-offs?
- What is the difference between synthetic monitoring and real-user monitoring?
Kubernetes Core 8
- Most asked ConfigMaps and Secrets: how do they differ, and how should secrets really be handled?
- Most asked What is the difference between resource requests and limits, and what are the QoS classes?
- Most asked How does autoscaling work in Kubernetes? Compare HPA, VPA, Cluster Autoscaler and Karpenter.
- Most asked Ingress or Gateway API: how do you expose HTTP services, and what has changed recently?
- Most asked Helm or Kustomize: how do you manage manifests?
- Should you run databases on Kubernetes?
- What are labels, selectors and annotations, and how should you use them?
- What is the difference between a Deployment's rollout and a restart, and when would you use kubectl rollout restart?
Logging & Observability Core 3
Performance & Scalability Core 4
Networking Core 7
- Most asked What's the difference between TCP and UDP, and when would you choose UDP?
- Most asked What's the difference between stateful and stateless firewalls? Give cloud examples.
- Most asked Security groups versus network ACLs: how do they differ and how would you use them together?
- Most asked Compare HTTP/1.1, HTTP/2 and HTTP/3.
- Most asked Compare layer 4 and layer 7 load balancers. When would you use each?
- Most asked What makes a subnet public or private in AWS?
- What's the difference between Azure VNets and Google Cloud VPCs compared with AWS VPCs?
Linux Core 2
DevOps Engineer Recommended 6
- Most asked Trunk-based development or GitFlow: which do you prefer, and why?
- Most asked Explain the difference between L4 and L7 load balancers and when to use each.
- Most asked What is the difference between continuous integration, continuous delivery and continuous deployment, in practice?
- Most asked Which Linux skills matter most for a DevOps engineer?
- Mutable or immutable infrastructure: what is the difference?
- What is the difference between a canary release, a feature flag and an A/B test?
Docker Recommended 5
- Most asked What is a container, and how does it differ from a virtual machine?
- Most asked What is the difference between an image and a container, and how do image layers work?
- Most asked CMD or ENTRYPOINT: what is the difference, and what are exec and shell forms?
- Most asked ARG or ENV: what is the difference, and how do you pass secrets into a build safely?
- COPY or ADD: what is the difference?
Terraform Recommended 11
- Most asked count or for_each: when do you use each?
- Most asked When do you need depends_on in Terraform, and when is it a code smell?
- Most asked Terraform and Ansible: how do they differ, and do you need both?
- Most asked Compare Terraform with CloudFormation, CDK and Pulumi.
- Most asked Terraform or OpenTofu: what is the difference, and how would you choose?
- How should nonprod and production Terraform configurations differ, and how do you enforce those differences?
- What is the difference between an ECS task execution role and a task role, and how do you define them in Terraform?
- How do variable validation rules work in Terraform, and when should you use them?
- What is the difference between variables, locals and outputs?
- What are data sources, and when should you use them?
- What is the difference between terraform refresh, plan -refresh-only and apply -refresh-only?
Database Concurrency & Scaling Recommended 6
- Most asked What's the difference between Read Committed and Repeatable Read in practice?
- When would you choose optimistic locking over SELECT … FOR UPDATE?
- What is the difference between partitioning and sharding?
- When should you NOT use SKIP LOCKED?
- What's the difference between a deadlock and a lock wait timeout?
- How does Postgres SERIALIZABLE differ from MySQL SERIALIZABLE?
Messaging & Queues Recommended 7
- Most asked Compare Kafka and RabbitMQ (and managed queues like SQS).
- What is the difference between a work queue and publish/subscribe?
- Choreography vs orchestration for multi-service workflows?
- How do you schedule delayed or future work with queues?
- When is Redis (lists or streams) good enough as a queue?
- When would you use a workflow engine like Temporal instead of plain queues?
- When should a request be handled synchronously versus asynchronously?
CI/CD & Deployment Recommended 6
- Most asked What's the difference between continuous integration, continuous delivery and continuous deployment?
- Most asked Compare rolling, blue-green and canary deployments.
- Most asked What's the difference between liveness and readiness probes?
- What are self-hosted vs managed CI runners, and when do you choose each?
- What are the CI/CD trade-offs of monorepos vs polyrepos?
- When would you choose serverless functions vs containers vs VMs for deployment?