Site Reliability Engineering interview question · Most asked
Latency for a service suddenly doubled. Walk me through how you investigate.
Summary
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 it started; what changed then; and where the time goes (traces, dependency latency, saturation of CPU, memory, connection pools, database).
Longer Answer
A structured approach:
- Scope: all traffic or a subset (one endpoint, one zone, one tenant, one version)?
- Timeline: correlate the start with deploys, config and flag changes, traffic shifts, dependency incidents, cron jobs.
- Breakdown: traces show whether time is in our code, the database or a downstream call.
- Resources: USE method on the constrained resources; garbage collection pauses; thread or connection pool exhaustion (queueing).
- Hypothesis and test: one change at a time, compare against a healthy baseline.
Communicate status throughout, and capture findings for the postmortem.
Key Points
- Impact and mitigation first.
- Scope, timeline, what changed.
- Traces and dependency breakdown.
- Saturation and queueing checks.
Explanation
What interviewers look for
A methodical narrowing process that starts with impact and recent changes, not random guessing.
More most-asked Site Reliability Engineering questions
- What is Site Reliability Engineering, and how does it relate to DevOps?
- What makes a good alert? Explain symptom-based alerting and alert fatigue.
- What is an error budget, and how should it be used?
- Define SLI, SLO and SLA, and explain how they relate.
- What is burn-rate alerting, and why is it better than alerting on raw error rates?
- How do you choose good SLIs for a service?
- What are the four golden signals?
- What is the difference between monitoring and observability? Explain metrics, logs and traces.