Walking Through a Production Reliability Outage
Medium · Behavioral & Leadership · Site Reliability Engineer · Technical Screen
Prompt
Walk through a real production outage or degradation you personally managed while serving on an operations or reliability rotation. Detail how the anomaly surfaced, which telemetry metrics or paging rules triggered, the steps you took to isolate impact and restore healthy service, how you coordinated status updates across stakeholders, and how you uncovered the underlying cause afterward. Expect deep technical probing into your diagnostic reasoning, the specific charts and thresholds you inspected, and how you distinguish physical server or storage faults from software bugs.
Scope & Expectations
- Detection and telemetry: Name the concrete paging signals, thresholds, and dashboards that exposed the issue and quantified user-facing impact.
- Triage, stabilization, and coordination: Show how you narrowed the fault systematically, prioritized safe service restoration before deep forensics, and maintained clear incident communication.
- Post-mitigation root-cause analysis: Explain the evidence that confirmed why the failure occurred and the preventive safeguards you put in place afterward.
- Hardware-level troubleshooting: Be prepared to discuss specific host-level symptoms, logs, and diagnostic utilities used to isolate degraded disks, memory, CPU, or network interfaces.
Step-by-step walkthrough
What this question is really testing
An on-call incident prompt is a hands-on systems interview disguised as a behavioral story. Because the interviewer will immediately probe with questions like "Which graph showed that?", "How did you rule out a bad query?", and "How do you tell bad hardware from bad code?", they are testing five core competencies:
- Mitigate before root-causing: Restoring customer traffic safely comes first; deep forensic investigation waits until users are unblocked.
- Triage by systematic elimination: Checking signals layer by layer so every dashboard or command rules out a concrete class of causes.
- Fluent monitoring literacy: Naming real metrics, thresholds, and alerts—such as an SLO (Service Level Objective) (an agreed reliability target, like 99.9% successful checkouts) and burn rate (how many times faster than allowed current errors are consuming that reliability budget).
- Calm incident coordination: Declaring severity, splitting hands-on debugging from communication duties, and posting timed updates.
- Hardware-versus-software diagnosis: Recognizing when a degrading disk, memory stick, or network card is hurting one machine while peers stay healthy.
Shein is publicly known as a high-volume global online fashion retailer whose mobile app and website handle heavy promotional and weekend shopping spikes. For a Site Reliability Engineer role there, a checkout or order-pipeline incident where every minute of downtime affects orders is immediately relatable.
Pick an incident where every metric fits together cleanly
Choose a real incident where you held the pager or drove triage directly, and verify beforehand that all your numbers fit together mathematically. Two terms clarify database-sharded e-commerce architectures: - 5xx errors: Server-side HTTP error codes (such as
500or504) indicating the backend failed or timed out on a valid request. - Database shard: One horizontal slice of a partitioned database that stores a fraction of user orders (for example,1/8 = 12.5%of traffic) so load scales across multiple servers.System setup: 8 order-database shards (each shard handles 12.5% of checkout traffic) 21:26 UTC: Shard 3's disk begins stalling -> ~48% of Shard 3 checkouts time out Overall checkout 5xx jumps from 0.05% baseline to 6.0% (12.5% x 48%) Overall checkout p99 latency jumps from 800 ms to 9 s (hitting timeouts) 21:40 UTC: 1-hour SLO fast-burn alert pages primary on-call (after ~14 min at 60x burn) 21:58 UTC: Old primary drained + healthy replica promoted (zero lost orders) 22:03 UTC: Checkout 5xx back to 0.05% baseline (23 minutes page-to-recovery)Notice how coherent those numbers are: when one eighth (
12.5%) of traffic stalls nearly half the time, overall5xxerrors hit6%, and because12.5%exceeds the slowest1%cutoff, overall p99 latency (the response time 99% of requests finish within) jumps straight up to the9-secondrequest timeout!Walk through the incident as a seven-stage timeline
Incidents are much easier for an interviewer to follow chronologically than as a loose narrative. Walk through seven crisp beats:
1. Context ~10% Service scale, weekend traffic stakes, and your primary on-call role. 2. Detection ~10% Exact alert that paged you, metric threshold, and peak user impact. 3. Triage ~30% Layer-by-layer elimination: deploys -> app pods -> shard -> host disk. 4. Mitigation ~15% Safe failover steps (read-only + zero lag + promote) and recovery time. 5. Communication ~10% Declared severity, incident commander handoff, 15-min status cadence. 6. Root cause ~15% Post-mitigation hardware proof in kernel and drive health logs. 7. Follow-up ~10% Blameless postmortem action items you shipped—and proof they worked.Three terms make the mitigation and post-incident phases crystal clear: - Primary and replica: The primary database server accepts all writes and copies changes to standby replicas on separate hardware that can take over if the primary fails. - iowait: The percentage of time CPU cores sit idle waiting for slow disk reads or writes to finish. - Blameless postmortem: A written post-incident review focused on fixing systemic monitoring and automation gaps rather than blaming individuals.
Prepare a structured hardware-diagnosis checklist
Because the prompt explicitly warns about hardware follow-ups, anchor your hardware troubleshooting in one golden rule: if the symptom moves with a deploy or input, suspect software; if it stays pinned to one machine while identical peers run fine, suspect hardware. Then check each subsystem systematically:
Subsystem Commands / telemetry to check Failure signature Disk iostat -x (w_await, %util), dmesg / 150+ ms write latency, kernel I/O errors, journalctl -k, smartctl -a / nvme smart-log rising SMART media or wear error counters Memory edac-util, rasdaemon, or mcelog Corrected ECC single-bit error spikes or (ECC = Error-Correcting Code server RAM) uncorrected multi-bit kernel panics CPU dmesg machine-check exceptions, sensors Hardware MCE logs or thermal throttling Network ethtool -S, ip -s link, switch counters Rising CRC frame errors or packet drops Power/Host ipmitool sensor / sel list; cloud events PSU voltage/fan alerts or host degradationHere NVMe refers to high-speed solid-state storage attached over PCIe, and SMART refers to built-in drive self-monitoring firmware that records media errors and wear long before a drive dies completely.
Sample answer
Here is a realistic first-person answer (~370 words) tailored to a Site Reliability Engineer interview at Shein. Swap in an incident you personally handled.
I was primary on-call for checkout and order services at an e-commerce platform serving roughly three million daily shoppers. During a Sunday evening promotion at 21:40, our checkout SLO fast-burn alert paged me: 5xx errors had jumped from a 0.05% baseline to 6% around 14 minutes earlier, and p99 latency had climbed from 800 milliseconds to 9 seconds.
I acknowledged within two minutes and opened our checkout overview dashboard. Errors were not spread evenly—nearly every 5xx traced back to one of our eight order-database shards. Nothing had deployed in six hours and application pod CPU and memory looked normal, so I drilled into Shard 3. Query latency on Shard 3's primary was up twentyfold and app connection pools to it were saturated, whereas the other seven shards handled identical promotional traffic smoothly. Checking host metrics on Shard 3's primary clinched it: disk write latency had spiked from 1 millisecond to over 150 milliseconds with heavy CPU iowait, while its replica on separate hardware looked completely healthy.
That pointed to degraded host storage rather than bad SQL. I declared a SEV-2 incident, paged the database on-call, and ran initial coordination until our dedicated incident commander joined so I could focus on mitigation. To avoid losing orders under asynchronous replication, we set the degraded primary to read-only, waited four seconds for replica lag to hit zero, and promoted the replica at 21:58. Checkout errors returned to baseline by 22:03—23 minutes after the page. Throughout, we posted channel updates every 15 minutes and gave customer support plain guidance for shoppers retrying failed payments.
Once traffic stabilized, inspecting
dmesgandsmartctlon the old host revealed two weeks of silent NVMe I/O retries and hundreds of SMART media errors. The drive never died outright—it became gray-failure slow, while our liveness probe only checkedSELECT 1.In our blameless postmortem, I shipped three fixes: alerts on SMART media errors and sustained disk latency, write-latency checks inside automated failover probes, and per-shard error alerts. Four weeks later, that SMART alert caught another aging drive proactively with zero user impact—a habit against gray failures I would bring directly to high-traffic events at Shein.
Handle likely follow-ups
Expect sharp technical follow-ups on alert math, database safety, and hardware:
- "Why did the page fire 14 minutes after errors jumped to 6%?" Explain the burn-rate math simply: a
99.9%SLO allows a0.1%error budget, so a6%error rate burns budget60xfaster than allowed (6% / 0.1%). Standard fast-burn alerts require the one-hour rolling average burn rate to pass14.4xso brief two-minute blips do not wake engineers;14 minutesat60xplus46 minutesat normal0.5xcrosses14.4xright at the 14-minute mark ((14 x 60 + 46 x 0.5) / 60 = 14.45). Adding a per-shard alert afterward cut detection time to under three minutes. - "How did you rule out an unindexed SQL query or promotional traffic spike?" All eight shards received the exact same sale traffic and query mix, yet seven ran at
1 msdisk latency. On Shard 3,EXPLAINplans were unchanged and even single-row primary-key inserts stalled, proving the bottleneck sat below SQL in block storage. - "Why promote the replica instead of restarting the database process?" Restarting leaves the database on the same failing NVMe drive, forcing both shutdown buffer flushing and crash-recovery replay through
150+ msdisk writes—turning a partial slowdown into a long total outage on that shard. - "How did you guarantee zero lost orders during failover?" Because replication was asynchronous, promoting immediately could have orphaned the last few committed orders still in flight. Setting the old primary
read_onlyfirst blocked new writes and let the replica drain the remaining replication lag to zero in four seconds before promotion.
- "Why did the page fire 14 minutes after errors jumped to 6%?" Explain the burn-rate math simply: a
Intuition & how it works
Handling a live on-call incident is like emergency-room triage: a doctor stabilizes the patient's breathing first and orders lab work to find the underlying cause second, ruling out possibilities systematically instead of guessing. In production reliability, stabilizing user traffic via failover or rollback always comes before investigating why a server broke.
Naive incident stories fail because beginners confuse debugging with incident response. During outages, inexperienced engineers often spend an hour reading code or restarting processes blindly on a sick machine—prolonging user pain and risking lost data—while going silent in chat channels. In interviews, many candidates also tell vague observer stories ("monitoring alerted us and the team fixed the database") without naming one specific metric, threshold, dashboard, or command they personally checked.
Walking through five concrete triage steps on an e-commerce checkout incident (8 database shards, 12.5% of orders per shard) shows how systematic elimination works under pressure:
- Detect via user-facing symptoms (
21:40): An SLO (Service Level Objective) (agreed reliability target, here99.9%checkout success) fast-burn alert pages on-call because server-side 5xx errors jumped to6%(60xfaster than the0.1%error budget allows) and p99 latency (the response time 99% of requests finish within) hit9 seconds. - Isolate the blast radius (
21:42): Checkout dashboards show all6%errors come from Shard 3 (~48%failure on its12.5%share of traffic), while recent deploy history and app pods are clean. - Separate software from hardware (
21:47): Seven peer shards handle identical sale queries smoothly, whereas Shard 3's primary (the write-handling database host) shows150+ msdisk write latency and high iowait (CPU cores stalled waiting on disk I/O) while its standby replica on separate hardware sits at1 ms. - Mitigate with zero data loss (
21:58): Set the degraded primaryread_only, wait four seconds for replication lag to hit zero so no committed orders are lost, and promote the healthy replica—restoring baseline error rates in23 minutes. - Confirm root cause and prevent repeats: Post-recovery inspection of kernel logs (
dmesg) and SMART counters (built-in drive self-monitoring firmware on the NVMe solid-state disk) proves silent media degradation ("gray failure"), leading to blameless postmortem (no-fault systemic review) alerts that catch another aging disk a month later before users notice.
What interviewers look for
- Hands-on ownership with real timestamps and numbers: Clear
"I checked","I declared", and"I promoted"actions backed by error rates, latencies, affected traffic share, and time to recovery. - Symptom-based alerting knowledge: Naming concrete signals (such as SLO burn rate, HTTP
5xxrate, connection-pool saturation, and diskw_await) rather than hand-waving"an alarm went off." - Discipline to mitigate before root-causing: Taking the unhealthy component out of the live path safely before digging into kernel logs or code diffs.
- Data-safety awareness during mitigation: Explaining checks like draining writes and verifying zero replication lag before failing over an order or payment database.
- Structured communication under pressure: Declaring severity early, separating the incident commander role from hands-on keyboard work, posting updates on a fixed cadence, and briefing customer support in plain language.
- Hardware diagnostic fluency: Knowing concrete signals and Linux/cloud checks to distinguish bad disks, ECC memory (error-correcting server RAM), CPU throttling, or flaky NICs from software bugs.
Common mistakes
- Narrating as a bystander (
"we noticed... the DBA ran..."): If your personal decisions and commands disappear inside team pronouns, the interviewer assumes you only watched the Slack channel. - Chasing root cause while customers are actively failing: Spending 45 minutes reading query plans or kernel traces while
6%of checkouts fail when a healthy replica is sitting ready. - Restarting a database on degraded storage without checking disk health: Rebooting or restarting a stateful service on a stalling drive forces recovery I/O onto the broken disk and often turns partial degradation into a total outage.
- Skipping data-integrity checks during failover: Promoting an asynchronous replica blindly without stopping writes on the old primary can silently drop committed customer orders or cause split-brain writes.
- Blaming individuals or other teams: Pointing fingers instead of focusing on missing health-check signals violates core SRE postmortem culture.
- Listing follow-up tickets that never shipped: Ending an incident story without completed, verified preventive fixes makes the team look reactive.
Follow-up questions
- How do you systematically tell a hardware failure apart from a software bug? Ask whether the failure follows the machine or the workload. If identical software versions and traffic mixes run cleanly on peer hosts while errors stay pinned to one server—especially alongside kernel hardware logs like NVMe I/O timeouts, ECC memory error counts, CPU thermal throttling, or NIC CRC frame drops—suspect hardware, and verify by draining traffic off that host.
- What makes an effective paging alert versus a non-paging ticket alert? Paging alerts should wake a human only when users are actively experiencing pain or will very soon—best measured via SLO error-budget burn rates on latency and error rate—and every page must link to an actionable runbook. Slow-moving hardware precursors like early SMART media errors or disk-space trends over days should open automated daytime tickets instead of paging at 3 a.m., preventing alert fatigue.
- What do you do when you get paged for an unfamiliar service during your on-call shift? Acknowledge immediately, open the service's runbook and top-level golden-signal dashboard (traffic, errors, latency, saturation), and check whether a deploy or config change just went out. If customers are impacted and no safe rollback or runbook mitigation is obvious within five minutes, page the service's subject-matter owner right away while logging a clean timeline of what you already checked in the incident channel.
Follow-up questions
- How do you systematically tell a hardware failure apart from a software bug?
- What makes an effective paging alert versus a non-paging ticket alert?
- What do you do when you get paged for an unfamiliar service during your on-call shift?
Similar questions
- Subarray Remainder Counting and Minimal Parenthesis Removal
- Greenfield Ownership, Two-Way Candid Feedback, Success Metrics, and OpenAI Fit
- Navigating a Principle-Driven Engineering Disagreement
- Updating a Strong Technical View on Evidence
- Applying an Influential Mentor's Engineering Principle
- Solving Complex Engineering Problems Through Rigorous Root-Cause Prioritization