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
- Most asked How do canary releases and progressive delivery reduce risk?
- Most asked Explain RTO and RPO, and how they drive disaster recovery design.
- Most asked How much downtime does each 'nine' allow, and how do you pick an SLO target?
- Most asked A Linux server has a high load average. How do you find out why?
- How does distributed tracing work, and what does OpenTelemetry provide?
- How do feature flags help reliability, and what are their risks?
- A disk filled up and took a service down. What do you do now and to prevent it next time?
- How do rate limiting and admission control protect a service?
Kubernetes Core 18
- Most asked Describe the Kubernetes architecture: what runs on the control plane and what runs on the nodes?
- Most asked What happens, step by step, when you run kubectl apply for a Deployment?
- Most asked Deployment, StatefulSet, DaemonSet, Job and CronJob: when do you use each?
- Most asked How do rolling updates work in a Deployment, and how do you roll back?
- Most asked Explain the Service types: ClusterIP, NodePort, LoadBalancer, ExternalName and headless.
- Most asked How does the scheduler place pods? Explain resource requests, node affinity, taints and tolerations.
- Most asked Liveness, readiness and startup probes: how do you configure them correctly?
- Most asked How does RBAC work in Kubernetes, and how do you apply least privilege?
- Most asked How do you secure workloads on Kubernetes? Explain Pod Security Standards and securityContext.
- Most asked How do persistent volumes work? Explain PV, PVC, StorageClass and CSI.
- How does pod networking work in Kubernetes, and what does the CNI plugin do?
- A Service is not reachable from another pod. How do you troubleshoot it?
- How does DNS work in a Kubernetes cluster, and what is the ndots problem?
- How do container logs work in Kubernetes?
- How do topology spread constraints and anti-affinity improve availability?
- How does kube-proxy work, and what are the alternatives?
- How do you run batch and scheduled workloads reliably on Kubernetes?
- How do you handle configuration and secrets for different environments with Kubernetes?
Logging & Observability Core 6
- How should log levels be used?
- How is audit logging different from application logging?
- Can logging hurt application performance? How do you mitigate it?
- How does chaos engineering relate to observability?
- Explain the Prometheus metric types: counter, gauge, histogram, summary.
- How do log rotation and retention work for services that write log files?
Performance & Scalability Core 7
- Most asked How do load balancers work, and what algorithms do they use?
- How does autoscaling work and what are its pitfalls?
- How does a CDN improve performance?
- How can garbage collection affect application performance?
- How can moving work to background jobs improve performance?
- How can serialization become a bottleneck?
- How do algorithm and data structure choices affect backend performance?
Networking Core 11
- Most asked What happens, at the network level, when you type a URL into a browser and press Enter?
- Most asked How does DNS resolution work, and what does a record's TTL control?
- Most asked How does NAT work, and what are its limits?
- Most asked A service is unreachable. How do you troubleshoot it systematically?
- Most asked Explain the OSI and TCP/IP models. Why do engineers still talk about 'layer 4' and 'layer 7'?
- Most asked Walk through the TCP three-way handshake and connection teardown. What is TIME_WAIT and why can it cause problems?
- Most asked How do private subnets reach AWS services like S3 without going over the internet?
- How does a router choose a route when several routes match a destination?
- What happens if two networks you need to connect have overlapping CIDRs, and what can you do?
- CNAME, A and alias records: why can't the zone apex be a CNAME, and how do cloud DNS services work around it?
- How does DNS work inside a VPC, and how do you resolve names between the cloud and on-premises?
Linux Core 3
DevOps Engineer Recommended 8
- Most asked How do you handle database schema migrations in an automated deployment pipeline?
- Most asked How do you handle secrets in CI/CD pipelines securely?
- Most asked What happens when you type a URL into a browser and press Enter?
- Most asked How does DNS work, and what DNS issues have you seen in production?
- Most asked A Dockerfile copies a .env file, uses it, and deletes it in a later RUN step. Is the secret safe?
- Most asked How do Kubernetes rolling updates work, and how do maxSurge and maxUnavailable affect them?
- A service shows 30% average CPU but high p99 latency. How could CPU limits be involved?
- How do you approach a monorepo's CI at scale?
Docker Recommended 8
- Most asked How does Docker build caching work, and how do you order a Dockerfile to use it well?
- Most asked Volumes, bind mounts and tmpfs: when do you use each?
- Most asked How does Docker networking work? Explain bridge, host and user-defined networks.
- How do container logs work in Docker, and how do you stop them filling the disk?
- How do you handle configuration for containers across environments?
- Explain what happens when you run docker run nginx.
- How do you handle time zones, locales and certificates in minimal images?
- Docker Compose in production: is it appropriate?
Terraform Recommended 8
- Most asked Walk through terraform init, plan and apply. What does each do?
- Most asked How do you handle secrets in Terraform?
- Most asked A terraform plan wants to destroy and recreate a database. What do you do?
- Most asked Workspaces, separate state files, or separate directories: how do you manage multiple environments?
- Most asked How do sensitive variables and outputs work in Terraform, and what are their limitations?
- How does Terraform determine the order in which it creates resources?
- How do you handle large-scale changes, such as a provider major version upgrade across many stacks?
- How do you roll back a bad Terraform change?
Database Concurrency & Scaling Recommended 10
- Most asked Database CPU is at 85%. How do you decide what to optimise before buying a bigger server?
- Most asked A user saves their profile and the next page shows the old data. Reads go to replicas. How do you fix it?
- Most asked An order is saved but the 'OrderPlaced' event sometimes never reaches Kafka. How do you fix it?
- Most asked A Spring @Transactional method threw an exception but the data was still saved. What are the likely causes?
- Scale a read-heavy product catalog 100× — where do you start?
- Explain write skew with a real example and how to prevent it.
- A customer has two active subscriptions created 40 ms apart. How do you make that impossible?
- A viral post's like counter makes requests slow. How do you handle hot rows?
- A scheduled job runs on every app instance and double-bills customers. How do you fix it?
- A dashboard aggregates years of data on every view. How would you speed it up?
Messaging & Queues Recommended 5
CI/CD & Deployment Recommended 4
Behavioral & STAR Recommended 8
- Most asked Describe a disagreement you had with a coworker and how you resolved it.
- Most asked Describe a mistake that had a significant impact and how you handled it.
- Most asked Describe a project you owned from start to finish.
- Describe a situation where you had to make a decision without all the information you wanted.
- Describe how you decide what to work on when everything feels urgent.
- Describe how you handle working on something without a clear owner.
- Describe your approach to onboarding a new team member.
- Describe how you typically respond to criticism.