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.
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.
You must present the postmortem for a significant outage to non-technical executives, and potentially to customers or the public. How does the structure and level of detail change from the internal engineering postmortem? Describe what you include and omit, how you present root cause and remediation without minimizing real impact, and how you handle information that is sensitive or under legal review.
Sample Answer
Direct answer
An executive or public postmortem communication keeps the same underlying facts as the internal engineering document but changes structure and depth: lead with impact and resolution status in plain language, compress the technical root cause into one or two sentences a non-specialist can follow, and route anything sensitive, legally uncertain, or still under investigation through legal or compliance review before it goes out, rather than including it by default.
Structured elaboration
- Lead with what the audience actually needs. Executives and customers care first about impact (who was affected, how badly, for how long) and current status (is it fixed, is it safe now), not the internal technical mechanism. Put that first, not buried after a long technical narrative.
- Compress, don't omit, the root cause. A one or two sentence plain-language root cause ("a configuration change removed a safeguard that normally limits how much traffic a single request can trigger") is usually enough; the internal document's full technical detail isn't needed here and can overwhelm or confuse rather than reassure.
- Say what's being done, concretely. Vague reassurance ("we take this seriously and are reviewing our processes") reads as evasive. Specific, verifiable commitments ("we are adding an automated safeguard, expected within two weeks") build more trust even when the news is bad.
- Route sensitive content through review before drafting is even final. Anything touching legal exposure, an ongoing investigation, regulatory disclosure requirements, or third-party or customer data (for example a possible PII exposure) needs legal or compliance sign-off on both content and timing, since public/customer communication commitments here can create legal exposure of their own if stated imprecisely.
- Don't minimize real impact to make the story feel better. Understating severity or hedging around clear facts, once discovered (and it usually is), costs far more trust than a direct, honest account would have.
This same discipline extends past software outages: a public account of a failed research study that led to a wrong decision, or a partnership failure with a strategic account, follows the identical shape (impact first, plain-language cause, concrete next steps), adapted in vocabulary but not in structure.
Worked example
An internal postmortem for a data-exposure incident runs several pages with full technical detail about the specific misconfigured storage permission, exact timestamps, and internal system names. The customer-facing version: a short notice stating what data was potentially exposed (in plain terms, not internal system jargon), the window of exposure, what's being done for affected customers specifically, and what changed technically (again in plain terms: "we've added an additional access control layer and are auditing all similar configurations") without naming the specific internal service or engineer. Legal reviews the draft specifically for regulatory disclosure requirements in relevant jurisdictions before it ships, and the technical team confirms every factual claim in the customer version traces back to something actually verified in the internal postmortem, not to speculation.
Trade-offs and pitfalls
The most common failure is either two extremes: an overly technical public statement that reads as evasive because it's incomprehensible, or an overly vague one that reads as evasive because it says nothing concrete. A second common failure is treating legal review as a final rubber-stamp rather than involving it early enough to shape what can honestly and safely be said, which under time pressure to communicate fast, teams sometimes skip.
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.
Given a dependency graph of jobs or services and a set of observed failure or anomaly timestamps, implement an algorithm that ranks candidate upstream root causes. Your ranking should weigh temporal proximity to the failures, how many of the observed downstream problems a given upstream node could explain (its dependency impact), and that node's historical failure rate. Explain your scoring approach, inputs, and the algorithm's complexity, and discuss approximations needed for a large graph.
Sample Answer
Direct answer. Ranking candidate upstream root causes from a dependency graph and a set of observed failures means combining three kinds of evidence into one score per candidate: how many of the observed failures a candidate could structurally explain via the dependency graph, how recently that candidate started relative to the failure window, and that candidate's own historical failure rate, since any one signal alone can point at the wrong node.
Structured elaboration. Dependency impact: for each candidate (non-failed) node, compute which failed nodes are reachable from it via the dependency graph (a breadth-first traversal), and use the fraction of total observed failures it could explain as one input to the score; a node reachable to more of the observed failures is a stronger candidate, all else equal. Temporal proximity: weight candidates that started closer in time to the observed failure window more heavily than ones that started long before, since a cause is more likely to be something that changed recently relative to when problems appeared. Historical failure rate: a node with a track record of frequently causing issues is a more probable culprit than an equally-plausible-looking node with a clean history, all else equal. Combine these into a single weighted score (the specific weights are a judgment call reflecting how much each organization trusts each signal) and approximate for a large graph by capping the reachability search depth or sampling candidate subgraphs rather than exhaustively traversing an enormous dependency graph for every candidate.
Worked example (executed in Python). A small DAG: A feeds into both B and C, and both B and C feed into D; separately, E feeds into F. Failures are observed at D and F. Running the ranking algorithm (weights: 40% dependency impact, 40% recency, 20% historical rate): C and B both rank above A, despite A being the common ancestor of both paths to D, because A started earliest of the three (lowest recency score) while B and C started closer to the failure window; E ranks below B and C despite explaining a real failure (F) because of its lower combined score, illustrating that the algorithm's recency weighting is doing real, visible work, not just reachability. This is a legitimate design choice worth being explicit about: a pure reachability-only ranking would have put A on top as the single common ancestor of the most failures, while this temporally-aware version prefers more recently-changed, more specific culprits, which better matches how root causes usually actually work (the ancestor that's ALWAYS been there is less suspicious than the specific service that changed right before things broke).
Trade-offs and pitfalls. The weighting scheme materially changes the ranking, as the worked example shows, so the weights should be treated as a tunable, disclosed design choice, not a hidden implementation detail; a team using this tool should know whether it's biased toward temporally-recent culprits or toward structurally-central ones, since that bias shapes which real incidents it will and won't surface well. For a genuinely large dependency graph, exact reachability computation for every candidate becomes expensive; capping traversal depth or focusing the search on nodes within a bounded time window of the failures first is a practical approximation that trades some completeness for tractable runtime.
Unlock Full Question Bank
Get access to all 34 Postmortems, Root Cause Analysis, and Blameless Culture interview questions and detailed answers.
Sign in to ContinueJoin thousands of developers preparing for their dream job.