Interview Q&A · questions with model answers
Site Reliability Engineering Interview Questions
Part of the study plan for: Site Reliability Engineer (SRE) · DevOps Engineer
Ordered by how often they're asked. Most-asked answers are free to read in full; members see every answer and can rate their confidence on each.
-
Most asked What is Site Reliability Engineering, and how does it relate to DevOps?
SRE is an engineering discipline, originated at Google, that applies software engineering to operations: reliability targets are defined with SLOs, risk is managed with error budgets, toil is…
-
Most asked Define SLI, SLO and SLA, and explain how they relate.
An SLI (service level indicator) is a measurement of service behaviour, such as the proportion of successful requests. An SLO (objective) is a target for an SLI over a window, such as 99.9% of…
-
Most asked What is an error budget, and how should it be used?
The error budget is the amount of unreliability an SLO allows: with a 99.9% availability SLO over 30 days, 0.1% of requests (or about 43 minutes of full downtime) may fail. While budget remains,…
-
Most asked What is burn-rate alerting, and why is it better than alerting on raw error rates?
Burn rate is how fast you are consuming the error budget relative to the SLO: a burn rate of 1 uses exactly the budget over the window; 14.4 exhausts a 30-day budget in about 2 days. Alerting on…
-
Most asked What are the four golden signals?
Latency, traffic, errors and saturation. If you can only measure four things about a user-facing system, measure these.
-
Most asked What is a blameless postmortem, and what makes one effective?
A written review after an incident that explains what happened, the impact, how it was detected and mitigated, the contributing factors, and the actions to prevent recurrence, while assuming…
-
Most asked What is load shedding, and how does graceful degradation work?
Load shedding deliberately rejects some work when a service is overloaded so that the rest succeeds, instead of everything slowing down and failing. Graceful degradation keeps the core experience…
-
Most asked What is a cascading failure, and how do you prevent one?
A failure that grows by positive feedback: one component fails or slows, its load shifts to others or callers retry, those become overloaded and fail too, until the whole system is down. Typical…
-
Most asked What is toil, and how do you reduce it?
Toil is operational work that is manual, repetitive, automatable, tactical, without enduring value, and that grows linearly with the service. Examples: hand-run deployments, manually restarting…
-
Most asked What is chaos engineering, and how do you start safely?
Chaos engineering runs controlled experiments that inject failures (instance loss, latency, dependency errors, zone outages) to verify that the system behaves as expected, uncovering weaknesses…
-
What Kubernetes settings matter most for reliability?
Resource requests and limits (scheduling and protection from noisy neighbours), correct probes, multiple replicas spread across nodes and zones (topology spread constraints or anti-affinity),…
-
What are the RED and USE methods?
RED (Rate, Errors, Duration) describes request-driven services from the caller's view; USE (Utilization, Saturation, Errors), from Brendan Gregg, describes resources such as CPU, memory, disks and…
-
What is metric cardinality, and why can it become a problem?
Cardinality is the number of unique time series a metric produces: every distinct combination of label values is a separate series. Labels such as user ID, request ID or full URL create millions of…
-
What should a good runbook contain?
For a specific alert: what it means and the user impact, how to confirm it, the first safe mitigation steps (with exact commands or links), how to escalate and to whom, and links to dashboards and…
-
What are MTTD, MTTR and MTBF, and what are their limitations?
Mean time to detect (from start of impact to detection), mean time to recover or restore (from start to mitigation) and mean time between failures. They summarise incident response and reliability…
-
What are common pitfalls of autoscaling?
Scaling on the wrong signal (CPU when the bottleneck is a database or connection pool), scaling too slowly for sudden spikes, new instances that are slow to warm up, scaling the web tier until it…
-
What is a circuit breaker, and when is it useful?
A circuit breaker wraps calls to a dependency and, after failures exceed a threshold, 'opens' to fail fast for a cool-down period instead of continuing to call; it then lets a few trial requests…
-
What are game days and disaster recovery tests?
Planned exercises in which a team simulates a significant failure (a region outage, a database loss, a credential leak) and practises the response for real: failing over, restoring backups,…
-
What is a thundering herd, and how do you prevent it?
Many clients doing the same thing at the same moment: all retrying when a service comes back, all reconnecting after a network blip, all missing an expired cache key, or all cron jobs firing at…
-
What is a production readiness review?
A checklist-driven review before a service launches or before SRE takes on support, covering architecture and dependencies, SLOs and monitoring, alerting and runbooks, capacity and load testing,…
-
What are logging best practices for production systems?
Write structured logs (JSON) with consistent fields (timestamp, level, service, version, trace ID, request ID), log events that help diagnose problems at the right level, never log secrets or…
-
What SRE engagement models exist?
Common models: a centralised SRE team that owns operations for selected critical services; embedded SREs working inside product teams; consulting or enabling SREs who help many teams adopt practices…