Postmortems, Root Cause Analysis, and Blameless Culture Questions
Investigating what caused an incident and turning the lessons into lasting improvement. Covers root-cause techniques (five whys, causal chains, contributing-factor analysis), writing postmortem documents, and tracking follow-up action items to prevent recurrence, as well as facilitating those reviews blamelessly: building psychological safety, treating failures as learning opportunities rather than occasions for blame, and driving continuous-improvement loops across teams. The structured after-the-fact analysis discipline together with the organizational culture that makes it effective.
Here is a draft line from a postmortem: "The on-call engineer failed to run the migration checklist, causing the service outage." Rewrite it to remove blame language and focus on the systemic gap, and give one alternative phrasing with a brief explanation of why it is an improvement.
Sample Answer
Direct answer
The original line, "The on-call engineer failed to run the migration checklist, causing the service outage," names a person and implies personal failure. A blameless rewrite: "The deploy process for database migrations did not include an automated check enforcing the migration checklist, allowing a migration to proceed without it and causing the service outage." This keeps the same causal fact (the checklist wasn't followed) but relocates the fixable gap from the person to the system.
Structured elaboration
The technique is straightforward once named: identify the verb that assigns action to a person ('failed to run,' 'forgot to,' 'didn't check'), and ask what would make that action structurally difficult or impossible to skip regardless of who was involved. That reframing usually reveals the real, fixable gap, since 'a person could skip a manual step' is true of almost anyone under enough time pressure or fatigue, and is therefore not itself a useful or actionable finding.
Worked example
An alternative phrasing: "The migration checklist relied on manual execution with no automated enforcement, so a migration proceeded without completing it, causing the service outage." This version goes slightly further than the first rewrite by explicitly naming WHY the gap existed (manual reliance, no automated enforcement), which points more directly at the actual fix (automate the check) rather than just removing the blame language while still describing a fundamentally manual, person-dependent process.
Comparing all three: the original blames a person for a system failure; the first rewrite removes blame but is still fairly generic; the second rewrite removes blame AND points precisely at the systemic fix, which is the stronger version because a reader immediately understands what needs to change, not just that something should.
Trade-offs and pitfalls
A common mistake when doing this rewrite is going too far in the other direction and writing something so passive and vague it obscures what actually happened ('an issue occurred during the deployment process'), which is dishonest by omission and unhelpful to a reader trying to understand the incident. The goal isn't to hide the causal chain, it's to describe the same facts in terms of the system gap rather than a person's character or competence; the on-call engineer's action stays in the timeline as a fact, it's just not framed as the ROOT cause when a system gap explains why that action was possible in the first place.
A key API returned errors for 45 minutes after a deploy, affecting a fifth of users. Apply the Five Whys technique to this incident: show five chained why-statements and conclude with an actionable root cause and one remediation.
Sample Answer
Direct answer
Five Whys means repeatedly asking 'why did that happen' about the answer to the previous why, until you reach a condition that is actually fixable rather than just another symptom. It typically takes about five iterations, though the number is a rule of thumb, not a hard rule: you stop when you hit something you can change, not necessarily on the fifth why.
Structured elaboration
For the incident (a key API returned errors for 45 minutes after a deploy, affecting a fifth of users), a Five Whys chain might look like:
- Why did the API return errors? Because the newly deployed version crashed on a specific request shape.
- Why did it crash on that request shape? Because a null field that used to always be populated was left unhandled by new code.
- Why was the field null? Because an upstream service started omitting it after its own recent change, and the API's input validation did not reject the malformed payload.
- Why did input validation not catch it? Because the API's schema validation checks types but not presence of this particular field, and there is no contract test between the two services that would have caught the mismatch before deploy.
- Why is there no contract test between these services? Because the team has no standard practice requiring consumer-driven contract tests for internal service dependencies, so this class of breaking change can slip through again.
Root cause at the fifth why: the absence of a contract-testing practice between dependent services, which let an upstream breaking change reach production undetected. Remediation: add a consumer-driven contract test between the two services that fails the upstream service's CI if it would omit a field the downstream API depends on, and, as an immediate mitigation, add explicit null-handling and a clear 400 response for the malformed field so a similar future gap fails safely instead of crashing.
Worked example
The chain above IS the worked example. The key discipline: each why answers the previous one specifically, not by restating a broader class of the same problem ('bugs happen') or jumping straight to a process indictment ('nobody tests enough'). Each step should be falsifiable, meaning someone could look at logs, code, or configuration and confirm or reject it.
Trade-offs and pitfalls
Five Whys works well for a single, mostly-linear causal chain, but it can mislead on incidents with multiple independent contributing factors, because it forces a single narrative thread and stops once any plausible chain reaches a stopping point, even if a second, unrelated factor also mattered. In this incident, if the on-call engineer's alert also fired 15 minutes late due to an unrelated threshold problem, a rigid Five Whys chain focused only on the crash would miss that second, independently-worth-fixing gap. When you suspect multiple contributing factors, pair Five Whys with a fishbone diagram or explicit causal-chain mapping so parallel factors don't get dropped.
How do you define measurable acceptance criteria for a corrective action, and what verification plan confirms the fix actually reduced recurrence rather than just looking plausible on paper? Walk through an example: reducing a service's timeout rate from a higher baseline to a specific target over a defined window.
Sample Answer
Direct answer
Acceptance criteria for a corrective action should be a specific, measurable, time-boxed statement of what 'fixed' looks like, defined before the work starts, not after. A verification plan then confirms that criterion is actually met using real data, not just confidence that the fix was implemented correctly.
Structured elaboration
- Define the metric and target explicitly. Not 'reduce timeouts' but 'reduce the service's timeout rate from its current baseline to a specific target percentage, measured over a specific window.' A vague criterion can't be verified; a specific one can.
- Set a monitoring window long enough to be meaningful. Too short a window risks declaring success on noise; too long delays knowing whether the fix worked. The right window depends on the incident's natural frequency, for example enough days to capture a representative mix of peak and off-peak traffic.
- Separate short, medium, and long-term verification. Immediately after deploying the fix: a targeted test or synthetic check confirms the mechanism works as intended. Over the following weeks: real production monitoring against the target metric confirms it holds under real conditions, not just in a controlled test. Longer term: a periodic audit or scheduled re-check confirms the improvement is durable and hasn't quietly regressed.
- Define what "success" and "failure" mean numerically in advance, including what would trigger reopening the item if the target isn't met, so there's no ambiguity or motivated reasoning once the data comes in.
- Name who signs off, so verification isn't just a self-assessment by whoever implemented the fix.
Worked example
A corrective action targets reducing a service's timeout rate from 0.5% to 0.05% within 30 days. Acceptance criteria: timeout rate, measured as a 7-day rolling average, must be at or below 0.05% for two consecutive weeks within the 30-day window, using the same monitoring dashboard and definition of 'timeout' used to measure the original 0.5% baseline. Verification plan: short-term, a synthetic load test immediately after deploy confirms the fix reduces timeout rate under simulated peak load; medium-term, the real 7-day rolling average is checked weekly against the target for the full 30 days; long-term, the metric is re-checked at 90 days to confirm it hasn't quietly crept back up as traffic patterns shift. If the 30-day window ends with the metric at 0.15%, that's a defined failure, not an ambiguous 'mostly worked,' and it triggers a re-investigation of whether the fix addressed the actual root cause or only a symptom.
Trade-offs and pitfalls
The most common mistake is defining acceptance criteria loosely enough that almost any outcome can be called success, which defeats the purpose of having criteria at all. A second is skipping the longer-term recheck: many fixes look successful in the first two weeks and then quietly regress as conditions change, and without a scheduled longer-term verification, that regression goes unnoticed until the incident recurs.
Compare Five Whys, a fishbone (Ishikawa) diagram, fault-tree analysis, and causal-chain/timeline analysis as root-cause techniques. For each, describe what kind of incident it suits best, and its main weakness.
Sample Answer
Direct answer
Five Whys, fishbone (Ishikawa) diagrams, fault-tree analysis, and causal-chain or timeline analysis are all structured root-cause techniques, but they suit different incident shapes. Five Whys is fast and best for a single, mostly-linear chain of causation. Fishbone is best when you suspect several independent categories of cause (people, process, technology, environment) and want to brainstorm broadly before narrowing. Fault-tree analysis is best for complex, multi-path failures where you need to reason about combinations of conditions, not just one chain. Causal-chain or timeline analysis is best when the incident unfolded over a long period with many events, and reconstructing the sequence itself is most of the work.
Structured elaboration
- Five Whys. Strength: fast, requires no special tooling, good for straightforward incidents with a genuinely linear cause. Weakness: it forces a single narrative thread, so on an incident with multiple independent contributing factors it can stop at the first plausible-sounding chain and miss a second, unrelated gap that also mattered. Combining it with a causal-graph or fault-tree check on the resulting hypothesis (does this cause actually explain the full timeline, or just part of it) helps catch that failure mode.
- Fishbone (Ishikawa). Strength: structured brainstorming across categories (commonly people, process, technology, environment) surfaces candidates you might not think of starting from a single chain. Weakness: it's a divergent tool, good for generating hypotheses, but it doesn't by itself tell you which candidate cause is actually correct; you still need evidence to narrow down.
- Fault-tree analysis. Strength: models AND/OR combinations of conditions, so it's the right tool when the incident required several things to go wrong simultaneously (a database failover only failed because BOTH the standby was on an incompatible version AND the health check didn't catch the mismatch). Weakness: more effort and formalism than most incidents justify; overkill for a simple single-cause bug.
- Causal-chain or timeline analysis. Strength: best when the incident unfolded across many events over hours or days, and the real analytical work is establishing what happened when and in what order, which then makes the cause fairly evident once assembled. Weakness: doesn't add much analytical structure beyond reconstruction; you often still need Five Whys or fishbone on top of the assembled timeline to go from 'here's what happened' to 'here's why.'
Worked example
A multi-hour cascading outage across several services: causal-chain or timeline analysis is the right first tool, since the priority is establishing the sequence across services before anything else makes sense. A single service crashing on a specific malformed input: Five Whys is fast and sufficient. A database failover that should have worked but didn't: fault-tree analysis, since it likely required more than one condition (incompatible standby version AND a health check that didn't catch it) to align. A vague, hard-to-pin-down data-quality issue with no obvious single trigger: fishbone, to broadly brainstorm across categories (was it the data source, the pipeline code, a schema change, an environment difference) before narrowing with evidence.
Trade-offs and pitfalls
The most common mistake is defaulting to Five Whys for everything because it's the most familiar technique, even on incidents with multiple independent contributing factors where it will produce a tidy but incomplete story. Pick the technique to fit the shape of the incident, not out of habit, and don't hesitate to combine two (fishbone to generate candidates, then Five Whys or fault-tree to narrow and validate).
During an active incident, one engineer publicly and pointedly blames a specific colleague or team in the incident channel. As the person running the response, how do you handle it in the moment, and how do you make sure the eventual postmortem stays blameless and fair to everyone involved?
Sample Answer
Direct answer
When someone publicly blames a colleague during an active incident, the immediate priority is de-escalating without derailing the response itself: move the personal comment to a private channel quickly, keep the shared incident channel focused on resolving the problem, and address both the blaming behavior and its target separately, afterward, once the incident is stable.
Structured elaboration
- In the moment, prioritize the response, not the conflict. A brief, calm redirect in the shared channel ("let's keep this channel focused on mitigation, happy to discuss root cause separately") is usually enough; a longer confrontation in the middle of an active incident just adds noise and delay to something that's still actively harming users.
- Move the personal conversation private and prompt. Message the person who made the comment directly and briefly, acknowledging the stress of the moment but making clear that public blame isn't how the team operates, even under pressure; this shouldn't wait until after the incident closes.
- Check in with whoever was blamed. A quick, private, supportive message during or immediately after the incident, separate from the group, matters even if it feels like a small gesture; being publicly blamed during a stressful live incident is genuinely uncomfortable and worth acknowledging directly.
- Address it properly afterward, not just in the moment. A brief private conversation with the person who made the comment once things are calm, focused on what was actually happening for them in that moment (panic, feeling exposed, genuine frustration) and reinforcing the expectation clearly but without punitive framing, since this was very likely a stress reaction, not a considered decision.
- Ensure the eventual postmortem stays genuinely blameless despite what happened live. The public comment doesn't get carried into the written postmortem's tone or content; the facilitator should be deliberate about resetting the frame explicitly at the start of that meeting.
Worked example
During a live incident, a junior engineer posts in the shared channel, "this is happening because the PM pushed us to ship without proper testing." The incident commander responds immediately in-channel: "Let's keep this thread on mitigation, I'll follow up on that separately," and continues coordinating the response. Within the hour, they privately message the junior engineer: acknowledging the stress of the moment, but being direct that publicly blaming a specific person, even under pressure, isn't how the team handles incidents, and that there's a structured space (the postmortem) for exactly this kind of concern to be raised constructively. Separately, they check in privately with the PM, who appreciated the acknowledgment. When the postmortem runs a few days later, the facilitator opens by explicitly restating the blameless ground rules, and the underlying concern (a real gap in test coverage before this kind of deploy) does get surfaced and addressed, just through the process designed for it rather than as a live accusation.
Trade-offs and pitfalls
The most common mistake is either ignoring the comment entirely (which signals it's tacitly acceptable) or turning it into a bigger disruption in the moment than the underlying incident already is. A second is failing to follow up afterward at all, assuming the moment passed once the incident resolved, which misses both the coaching opportunity with the person who made the comment and the chance to support the person who was blamed.
Unlock Full Question Bank
Get access to all 32 Postmortems, Root Cause Analysis, and Blameless Culture interview questions and detailed answers.
Sign in to ContinueJoin thousands of developers preparing for their dream job.