Site Reliability Engineer (SRE) · interview questions

Site Reliability Engineer (SRE) interview questions: how it works

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

Site Reliability Engineering Core 8

  1. Most asked How do canary releases and progressive delivery reduce risk?
  2. Most asked Explain RTO and RPO, and how they drive disaster recovery design.
  3. Most asked How much downtime does each 'nine' allow, and how do you pick an SLO target?
  4. Most asked A Linux server has a high load average. How do you find out why?
  5. How does distributed tracing work, and what does OpenTelemetry provide?
  6. How do feature flags help reliability, and what are their risks?
  7. A disk filled up and took a service down. What do you do now and to prevent it next time?
  8. How do rate limiting and admission control protect a service?

Kubernetes Core 18

  1. Most asked Describe the Kubernetes architecture: what runs on the control plane and what runs on the nodes?
  2. Most asked What happens, step by step, when you run kubectl apply for a Deployment?
  3. Most asked Deployment, StatefulSet, DaemonSet, Job and CronJob: when do you use each?
  4. Most asked How do rolling updates work in a Deployment, and how do you roll back?
  5. Most asked Explain the Service types: ClusterIP, NodePort, LoadBalancer, ExternalName and headless.
  6. Most asked How does the scheduler place pods? Explain resource requests, node affinity, taints and tolerations.
  7. Most asked Liveness, readiness and startup probes: how do you configure them correctly?
  8. Most asked How does RBAC work in Kubernetes, and how do you apply least privilege?
  9. Most asked How do you secure workloads on Kubernetes? Explain Pod Security Standards and securityContext.
  10. Most asked How do persistent volumes work? Explain PV, PVC, StorageClass and CSI.
  11. How does pod networking work in Kubernetes, and what does the CNI plugin do?
  12. A Service is not reachable from another pod. How do you troubleshoot it?
  13. How does DNS work in a Kubernetes cluster, and what is the ndots problem?
  14. How do container logs work in Kubernetes?
  15. How do topology spread constraints and anti-affinity improve availability?
  16. How does kube-proxy work, and what are the alternatives?
  17. How do you run batch and scheduled workloads reliably on Kubernetes?
  18. How do you handle configuration and secrets for different environments with Kubernetes?

Logging & Observability Core 6

  1. How should log levels be used?
  2. How is audit logging different from application logging?
  3. Can logging hurt application performance? How do you mitigate it?
  4. How does chaos engineering relate to observability?
  5. Explain the Prometheus metric types: counter, gauge, histogram, summary.
  6. How do log rotation and retention work for services that write log files?

Performance & Scalability Core 7

  1. Most asked How do load balancers work, and what algorithms do they use?
  2. How does autoscaling work and what are its pitfalls?
  3. How does a CDN improve performance?
  4. How can garbage collection affect application performance?
  5. How can moving work to background jobs improve performance?
  6. How can serialization become a bottleneck?
  7. How do algorithm and data structure choices affect backend performance?

Networking Core 11

  1. Most asked What happens, at the network level, when you type a URL into a browser and press Enter?
  2. Most asked How does DNS resolution work, and what does a record's TTL control?
  3. Most asked How does NAT work, and what are its limits?
  4. Most asked A service is unreachable. How do you troubleshoot it systematically?
  5. Most asked Explain the OSI and TCP/IP models. Why do engineers still talk about 'layer 4' and 'layer 7'?
  6. Most asked Walk through the TCP three-way handshake and connection teardown. What is TIME_WAIT and why can it cause problems?
  7. Most asked How do private subnets reach AWS services like S3 without going over the internet?
  8. How does a router choose a route when several routes match a destination?
  9. What happens if two networks you need to connect have overlapping CIDRs, and what can you do?
  10. CNAME, A and alias records: why can't the zone apex be a CNAME, and how do cloud DNS services work around it?
  11. How does DNS work inside a VPC, and how do you resolve names between the cloud and on-premises?

Linux Core 3

  1. How do systemd units work, and how do you debug a service that won't start?
  2. Explain Linux file permissions, ownership and the special bits.
  3. What happens when a Linux system boots?

DevOps Engineer Recommended 8

  1. Most asked How do you handle database schema migrations in an automated deployment pipeline?
  2. Most asked How do you handle secrets in CI/CD pipelines securely?
  3. Most asked What happens when you type a URL into a browser and press Enter?
  4. Most asked How does DNS work, and what DNS issues have you seen in production?
  5. Most asked A Dockerfile copies a .env file, uses it, and deletes it in a later RUN step. Is the secret safe?
  6. Most asked How do Kubernetes rolling updates work, and how do maxSurge and maxUnavailable affect them?
  7. A service shows 30% average CPU but high p99 latency. How could CPU limits be involved?
  8. How do you approach a monorepo's CI at scale?

Docker Recommended 8

  1. Most asked How does Docker build caching work, and how do you order a Dockerfile to use it well?
  2. Most asked Volumes, bind mounts and tmpfs: when do you use each?
  3. Most asked How does Docker networking work? Explain bridge, host and user-defined networks.
  4. How do container logs work in Docker, and how do you stop them filling the disk?
  5. How do you handle configuration for containers across environments?
  6. Explain what happens when you run docker run nginx.
  7. How do you handle time zones, locales and certificates in minimal images?
  8. Docker Compose in production: is it appropriate?

Terraform Recommended 8

  1. Most asked Walk through terraform init, plan and apply. What does each do?
  2. Most asked How do you handle secrets in Terraform?
  3. Most asked A terraform plan wants to destroy and recreate a database. What do you do?
  4. Most asked Workspaces, separate state files, or separate directories: how do you manage multiple environments?
  5. Most asked How do sensitive variables and outputs work in Terraform, and what are their limitations?
  6. How does Terraform determine the order in which it creates resources?
  7. How do you handle large-scale changes, such as a provider major version upgrade across many stacks?
  8. How do you roll back a bad Terraform change?

Database Concurrency & Scaling Recommended 10

  1. Most asked Database CPU is at 85%. How do you decide what to optimise before buying a bigger server?
  2. Most asked A user saves their profile and the next page shows the old data. Reads go to replicas. How do you fix it?
  3. Most asked An order is saved but the 'OrderPlaced' event sometimes never reaches Kafka. How do you fix it?
  4. Most asked A Spring @Transactional method threw an exception but the data was still saved. What are the likely causes?
  5. Scale a read-heavy product catalog 100× — where do you start?
  6. Explain write skew with a real example and how to prevent it.
  7. A customer has two active subscriptions created 40 ms apart. How do you make that impossible?
  8. A viral post's like counter makes requests slow. How do you handle hot rows?
  9. A scheduled job runs on every app instance and double-bills customers. How do you fix it?
  10. A dashboard aggregates years of data on every view. How would you speed it up?

Messaging & Queues Recommended 5

  1. Most asked Explain at-most-once, at-least-once and exactly-once delivery.
  2. Most asked How should retries and dead-letter queues work?
  3. How do Kafka partitions and consumer groups work?
  4. How does Kafka achieve exactly-once semantics?
  5. How do you handle large payloads in messages?

CI/CD & Deployment Recommended 4

  1. Most asked How should secrets be handled in CI/CD pipelines?
  2. How do feature flags change the way teams release software?
  3. How should application configuration be managed across environments?
  4. How should build artifacts be versioned and promoted?

Behavioral & STAR Recommended 8

  1. Most asked Describe a disagreement you had with a coworker and how you resolved it.
  2. Most asked Describe a mistake that had a significant impact and how you handled it.
  3. Most asked Describe a project you owned from start to finish.
  4. Describe a situation where you had to make a decision without all the information you wanted.
  5. Describe how you decide what to work on when everything feels urgent.
  6. Describe how you handle working on something without a clear owner.
  7. Describe your approach to onboarding a new team member.
  8. Describe how you typically respond to criticism.

Was this page helpful?

Report a mistake