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 How should clients retry failed requests safely?
Retry only errors that are transient and requests that are safe to repeat (idempotent, or protected with an idempotency key); use capped exponential backoff with jitter; limit attempts; and enforce…
-
Most asked Latency for a service suddenly doubled. Walk me through how you investigate.
First assess impact and mitigate (is the SLO burning? was there a recent change? roll back if likely). Then narrow down: which endpoints, regions, instances and customers are affected; when exactly…
-
Most asked Product wants to launch a feature, but the error budget is exhausted. What do you do?
Follow the error budget policy that product and engineering agreed in advance: normally, feature launches pause and the team works on reliability until the service is back within SLO. Exceptions…
-
During an incident, when do you roll back and when do you roll forward?
Roll back when a recent change is a plausible cause and rollback is safe: it is usually the fastest, best-understood mitigation. Roll forward (ship a fix) only when rollback is impossible or…
-
A service's p99 latency doubles every day at 2 a.m. How do you investigate?
A daily pattern points to something scheduled: backups, batch jobs, cron tasks, log rotation, compaction, cache expiry or a dependency's maintenance window. Line up the latency graph with scheduled…
-
Certificates expired and DNS changes are classic outage causes. How do you prevent them?
Automate certificate issuance and renewal (ACME/Let's Encrypt, cloud certificate managers), monitor expiry dates of every certificate including internal and third-party ones, and treat DNS changes…
-
A service's memory keeps growing until it is OOM-killed. How do you handle it?
Mitigate first (restart on a schedule or raise limits temporarily, roll back if a deploy introduced it), then find the leak: compare heap profiles or dumps over time, look for unbounded caches, maps…