Site Reliability Engineer (SRE) · interview questions
Site Reliability Engineer (SRE) interview questions: scenario
From the role's core and recommended topics, most asked first. Filter by the kind of answer the question wants.
Site Reliability Engineering Core 7
- Most asked How should clients retry failed requests safely?
- Most asked Latency for a service suddenly doubled. Walk me through how you investigate.
- Most asked Product wants to launch a feature, but the error budget is exhausted. What do you do?
- During an incident, when do you roll back and when do you roll forward?
- A service's p99 latency doubles every day at 2 a.m. How do you investigate?
- Certificates expired and DNS changes are classic outage causes. How do you prevent them?
- A service's memory keeps growing until it is OOM-killed. How do you handle it?
Kubernetes Core 5
- Most asked A pod is in CrashLoopBackOff. How do you debug it?
- Most asked Your application on Kubernetes has intermittent 502/503 errors during deployments. What would you investigate?
- Pods are stuck in Pending or ImagePullBackOff. What do you check?
- How do you find and fix deprecated Kubernetes APIs before a cluster upgrade?
- What happens to workloads when a node fails?
Logging & Observability Core 2
Performance & Scalability Core 1
Networking Core 3
- Most asked Why can keep-alive timeouts cause intermittent 502 errors behind a load balancer?
- Your EKS pods are stuck in Pending with IP assignment errors. What's happening and how do you fix it?
- Calls to one external API time out intermittently at peak, while other destinations work. What do you suspect?
Linux Core 3
DevOps Engineer Recommended 17
- Most asked A rollback after a release made the outage worse because the database had already been migrated. How do you design releases so rollbacks are always safe?
- Most asked Pods keep restarting with OOMKilled under load. How do you investigate and fix it?
- Most asked Every deployment produces a burst of 502s. What do you check?
- Most asked Your ecommerce site runs 30 microservices on Kubernetes. After a deployment, customers start getting HTTP 503 errors. How do you investigate and resolve it?
- Most asked Your Kubernetes-based ecommerce site goes down during peak traffic. Walk through your first 15 minutes.
- Most asked Response time rose from 200 ms to 5 seconds, but CPU and memory look normal. How do you troubleshoot it with APM tools such as Datadog or AppDynamics?
- Most asked A production API credential was committed to Git. What do you do immediately, and how do you stop it happening again?
- Most asked Your CI pipeline takes 45 minutes. How would you speed it up?
- Most asked A production deployment failed halfway and the site is partially broken. What do you do?
- Most asked Your on-call gets hundreds of pages a week. How do you fix the alerting?
- Most asked A release worked in staging but failed in production. How do you prevent that class of problem?
- After a release, checkout becomes slow. How do you use traces, JVM metrics, connection pool metrics and database monitoring to find the cause?
- Two engineers ran Terraform against production at the same time. One run failed and left the infrastructure half-changed. How do you recover safely?
- A deployment succeeds in Jenkins, but the application fails on Kubernetes. How do you tell whether the problem is the pipeline, the infrastructure, the configuration or the application?
- Your Java service throws 'connection pool exhausted' errors. How do you investigate?
- How do you keep dependencies up to date safely across many repositories?
- Nodes are running out of disk space. What are the usual causes and fixes?
Docker Recommended 1
Terraform Recommended 6
- Most asked Terraform apply fails halfway through — some resources were created, others were not. How do you recover?
- Most asked Someone manually deletes an EC2 instance that Terraform manages. What happens on the next plan and apply?
- What happens if two engineers apply at the same time without state locking?
- How would you recover a corrupted or lost Terraform state file?
- What happens if the CI runner crashes or loses connectivity during terraform apply?
- The Terraform state lock is stuck. How do you handle it?
Database Concurrency & Scaling Recommended 7
- Most asked Two customers buy the last item at the same moment and both orders are confirmed. What happened, and how do you prevent it?
- Most asked After a deploy, logs show hundreds of 'deadlock detected' errors per hour on checkout. Walk through how you'd investigate.
- Most asked Your service throws 'connection pool exhausted' errors but database CPU is only 20%. What's going on?
- A 20 ms ALTER TABLE caused a multi-minute outage. Explain and prevent it.
- An API's deep pages are slow and a sync job sees duplicate and missing rows. What would you change?
- You have 14 services autoscaling against one Postgres and hit 'too many clients'. What's the long-term fix?
- Your read replicas lag 40 seconds during a nightly import. What do you do?