Site Reliability Engineer (SRE) · interview questions
Site Reliability Engineer (SRE) interview questions: definition
From the role's core and recommended topics, most asked first. Filter by the kind of answer the question wants.
Site Reliability Engineering Core 22
- Most asked What is Site Reliability Engineering, and how does it relate to DevOps?
- Most asked Define SLI, SLO and SLA, and explain how they relate.
- Most asked What is an error budget, and how should it be used?
- Most asked What is burn-rate alerting, and why is it better than alerting on raw error rates?
- Most asked What are the four golden signals?
- Most asked What is a blameless postmortem, and what makes one effective?
- Most asked What is load shedding, and how does graceful degradation work?
- Most asked What is a cascading failure, and how do you prevent one?
- Most asked What is toil, and how do you reduce it?
- Most asked What is chaos engineering, and how do you start safely?
- What Kubernetes settings matter most for reliability?
- What are the RED and USE methods?
- What is metric cardinality, and why can it become a problem?
- What should a good runbook contain?
- What are MTTD, MTTR and MTBF, and what are their limitations?
- What are common pitfalls of autoscaling?
- What is a circuit breaker, and when is it useful?
- What are game days and disaster recovery tests?
- What is a thundering herd, and how do you prevent it?
- What is a production readiness review?
- What are logging best practices for production systems?
- What SRE engagement models exist?
Kubernetes Core 18
- Most asked What is GitOps, and how do Argo CD or Flux implement it?
- Most asked What are Kubernetes namespaces, when should you create them, and what isolation do they provide?
- Most asked What is the reconciliation loop, and why is Kubernetes called declarative?
- Most asked What are NetworkPolicies, and how would you lock down traffic in a namespace?
- Most asked What are Custom Resource Definitions and operators?
- Most asked What is Kubernetes not good at, or when would you avoid it?
- Most asked What do the common kubectl debugging commands tell you?
- What is a Pod, and why are containers grouped into Pods?
- What is a PodDisruptionBudget, and why does it matter?
- What are the pod lifecycle phases, and how do you use them for debugging?
- What are init containers and sidecar containers?
- What are admission controllers and webhooks used for?
- What is etcd's role, and what can go wrong with it?
- What is a service mesh, and when is it worth it?
- What are ResourceQuota and LimitRange?
- What is the Kubernetes container runtime, and why was dockershim removed?
- What are priority classes and preemption?
- What are ephemeral containers and kubectl debug used for?
Logging & Observability Core 13
- Most asked What is structured logging and why is it preferred over plain text logs?
- Most asked What is a correlation (request) ID and how do you propagate it?
- Most asked What is distributed tracing and how does OpenTelemetry fit in?
- Most asked What are the RED, USE and Four Golden Signals methods?
- Most asked What are SLIs, SLOs and error budgets?
- Most asked What should never be logged, and how do you prevent it?
- What are head-based and tail-based sampling in tracing?
- What is metric cardinality and why can it break a monitoring system?
- What does an error-tracking tool (like Sentry) add beyond logs?
- What goes into a good blameless postmortem?
- What are synthetic monitoring and real-user monitoring (RUM)?
- What is continuous profiling and when is it useful?
- What is eBPF and why is it popular for observability?
Performance & Scalability Core 9
- Most asked What are the most common database-related performance problems?
- What are common concurrency bottlenecks in web applications?
- What are Core Web Vitals and how do you improve them?
- What is the 'chatty API' problem and how do you fix it?
- What is load shedding?
- What is graceful degradation?
- What changes when you scale to multiple regions?
- What are cold starts and how do you reduce them?
- What are common mistakes when benchmarking?
Networking Core 9
- Most asked What is CIDR notation? How many usable addresses are in a /26, and in an AWS /26 subnet?
- Most asked What does TLS provide, and how does certificate validation work?
- Most asked What do 502, 503 and 504 errors from a load balancer usually mean?
- What are the private IPv4 ranges, and what are 100.64.0.0/10 and 169.254.0.0/16 used for?
- What is MTU, and how can it break connections?
- What are ephemeral ports?
- What are the options for connecting on-premises networks to the cloud?
- What is a CDN and how does it improve performance and resilience?
- What are VPC Flow Logs and what can't they tell you?
Linux Core 1
DevOps Engineer Recommended 11
- Most asked What are DORA metrics, and how would you use them without gaming them?
- Most asked What does 'build once, deploy many' mean, and why does it matter?
- Most asked What is platform engineering, and how does it relate to DevOps?
- What are ephemeral (preview) environments, and what are their trade-offs?
- What are the security risks of self-hosted CI runners, and how do you mitigate them?
- What is configuration management with Ansible, and where does it still fit?
- What does 'shift left' on security mean in practice?
- What does `set -euo pipefail` do in a bash script, and what are its pitfalls?
- What is real-user monitoring, and how do tools like Akamai mPulse help an ecommerce team?
- What is an artifact repository, and how do you manage it?
- What is chaos engineering's place in a DevOps practice?
Docker Recommended 11
- Most asked What are multi-stage builds, and why use them?
- Most asked What are Dockerfile best practices for production images?
- Most asked What is Docker Compose used for, and how do you handle service start-up order?
- Most asked What is a software supply chain attack on containers, and how do you defend against it?
- What is BuildKit, and what does docker buildx add?
- What does HEALTHCHECK do in a Dockerfile, and do orchestrators use it?
- What is the OCI, and how do Docker, containerd, runc and Podman relate?
- What is the Docker build context, and why does it matter?
- What is Docker Swarm, and why do most teams use Kubernetes or managed services instead?
- What are rootless Docker and user namespaces?
- What changed with Docker Desktop licensing, and what are the alternatives?
Terraform Recommended 16
- Most asked What is Terraform, and how does it work at a high level?
- Most asked What is Terraform state, why is it needed, and where should it be stored?
- Most asked What are Terraform modules, and how do you design good ones?
- Most asked What are the main terraform state subcommands, and when do you use them?
- Most asked What lifecycle settings does Terraform offer, and when do you use them?
- Most asked What is drift, and how do you detect and handle it?
- Most asked What are the most common Terraform mistakes you have seen in teams?
- Most asked What does terraform plan -target do, and why is it risky?
- What is policy as code for Terraform, and which tools are used?
- What do dynamic blocks, for expressions and conditionals give you, and when do they hurt?
- What are provisioners, and why are they considered a last resort?
- What does 'known after apply' mean, and why can it cause problems?
- What are check blocks and pre/postconditions used for?
- What is Terragrunt, and when is it useful?
- What is HCP Terraform (Terraform Cloud), and what does it add?
- What is Terraform's resource graph parallelism, and when would you change it?
Database Concurrency & Scaling Recommended 2
Messaging & Queues Recommended 6
CI/CD & Deployment Recommended 13
- Most asked What stages does a typical CI/CD pipeline contain?
- Most asked What are best practices for writing Dockerfiles?
- Most asked What is shift-left testing, and what security scanning belongs in a CI pipeline?
- Most asked What is pipeline as code and why does it matter?
- What are the core Kubernetes objects a web service needs?
- What is graceful shutdown and why does it matter for deployments?
- What is trunk-based development?
- What is infrastructure as code and why use it?
- What is GitOps?
- What are DORA metrics?
- What is semantic versioning?
- What should happen when a deployment causes an incident?
- What is progressive delivery?