Root cause versus contributing factors, the five whys and its limits, alternatives for multi-cause incidents (fishbone, causal factor trees), and keeping RCA blameless by asking why the system allowed the failure.
The root cause is the condition that, if removed, stops this class of incident recurring; contributing factors are what made it possible, bigger, or slower to detect and fix: missing tests, a noisy alert, no rollback path. Real incidents usually have several causal chains, so I'm wary of a single root cause. The five whys is a good start, quick and concrete, but it follows one linear chain, depends on what the people in the room know, and often stops at "human error". For multi-cause incidents I use a causal factor tree or a fishbone across change, code, tests, monitoring and process, with each step backed by the timeline. To stay blameless I ask "why did the system let a reasonable action cause harm?" The trade-off is depth versus time: go deep on Sev 1s, keep Sev 3s light.
"I separate three things. The trigger is what set it off, say a deployment with a bad config value. The root cause is the underlying condition that let that trigger cause an outage, for example the service reading a config value with no validation and failing every request rather than failing at startup. Contributing factors are everything that made it worse or slower: the health check didn't exercise config, so the deployment went green; the alert was on CPU not errors, so detection took twenty minutes; rollback needed someone with production access who was asleep. Fixing only the trigger fixes nothing; fixing the root cause stops recurrence; fixing contributing factors shrinks the next incident, whatever its cause.
I use the five whys because it's fast and keeps people concrete. But I'm aware of its limits. It follows one chain, so you end up with one root cause when there were really two interacting problems. The answers depend on who's in the room. And it tends to stop at a person: 'why did the bad value get in? Because Sam typed it.' That's where you need to ask a better question: why could a typo reach production without a check? For anything with several interacting causes I draw a causal factor tree from the outcome backwards, or a fishbone with branches for change, code, tests, monitoring, process and people, and I require every branch to point at evidence on the timeline.
The mistake I see is ending the analysis at 'human error' or 'operator should have been more careful'. People make the same mistakes under the same conditions, so the fix has to change the conditions: validation, guard rails, safer defaults, better signals. A good RCA ends with things the team can change, not a name."
| Term | Meaning | Example |
|---|---|---|
| Trigger | The event that started it | Config change sets Payments:TimeoutSeconds to 0 |
| Root cause | The condition whose removal prevents recurrence | Options read at request time with no validation |
| Contributing factor | Made it possible, worse or slower to fix | Health check didn't touch config; alert on CPU, not 5xx |
| Mitigation | What stopped the impact | Rollback to previous release |
| Works well | Breaks down |
|---|---|
| Single, linear failure | Several interacting causes |
| Facts are clear from the timeline | Facilitator lacks domain knowledge |
| Small incidents, quick reviews | Tends to stop at a person |
| Teaching juniors to dig past the trigger | Produces one 'root cause' for a complex system |
| Technique | Shape | Use when |
|---|---|---|
| Five whys | One chain | Simple failures, quick reviews |
| Fishbone (Ishikawa) | Categories feeding one outcome | Brainstorming factors across areas |
| Causal factor tree | Outcome at top, AND/OR branches down | Several conditions had to coincide |
| Timeline-driven review | Decisions at each point | Response and detection problems |
A payments service rejected 100% of card payments for 18 minutes after a config change. The five whys stopped at "engineer set the wrong value". A causal tree found three conditions that all had to be true: no options validation at startup (root cause), a readiness probe that didn't exercise configuration, and an error-rate alert that was missing on that service. Adding ValidateOnStart() and fixing the probe meant the same bad value later failed the deployment in staging with zero customer impact.
Checks whether the candidate can reason about causation in complex systems and runs RCAs that produce systemic fixes rather than blame.
Green flags
Red flags
Modern systems fail when several conditions line up: the classic Swiss cheese model. Each layer (code review, tests, deployment checks, monitoring, rollback) has holes; an incident happens when the holes align.
change -> [review] -> [tests] -> [deploy gate] -> [monitoring] -> [rollback] -> customer
hole hole hole hole slow
Calling one hole "the root cause" is useful shorthand for prioritising, but the action list should address every layer that let it through.
Outcome: card payments failed for 18 minutes
Why? Every payment call timed out immediately (evidence: dependency telemetry)
Why? HttpClient timeout was 0 seconds (evidence: config diff)
Why? A release set Payments:TimeoutSeconds = 0 (evidence: release 412 diff)
Why did the app accept 0? No validation on the options (evidence: code)
Why did the deployment go green? Readiness probe didn't touch payments config
Rules that make it work: each answer must cite evidence; branch whenever there is more than one answer; and when an answer names a person, rephrase it to the condition ("a value could be set without validation").
Payments failed 18 min (customer impact)
|
+--------------------+--------------------+
| AND | |
Bad value reached prod Deploy went green Detection took 12 min
| | |
No options validation Probe skips config No 5xx alert on service
Config not reviewed as code Dashboard showed CPU only
The AND node says all three were needed for an 18-minute outage. Removing any one makes it smaller; removing the first prevents this class entirely.
In the write-up, keep causes and factors as a table rather than prose, so each one can be traced to evidence and to an action:
| # | Factor | Type | Evidence | Action (owner, date) |
|---|---------------------------------|---------------|---------------------|---------------------------------|
| 1 | Options not validated | Root cause | code, config diff | ValidateOnStart (A, 14 Mar) |
| 2 | Probe ignores config | Contributing | probe source | Probe resolves client (B, 21 Mar)|
| 3 | No 5xx alert on payments | Contributing | alert rules export | SLI alert (C, 14 Mar) |
| 4 | Factors 1+2 together let bad config take traffic | Interaction | timeline 22:51-22:58 | covered by 1 and 2 |
Add the causal tree as a picture, tag each factor with a category (change, code, tests, monitoring, process, people), and keep the tags consistent so you can count recurring categories across RCAs later.
Blameless analysis assumes people acted reasonably given what they knew, the tools and the time pressure. It asks why did this action make sense at the time? That produces fixes (validation, guard rails, clearer signals). Accountability is preserved: the team owns the actions and their completion. Naming individuals in the write-up makes people hide information in the next review, so the culture is what keeps the evidence honest.
Stop when the next 'why' leaves the team's control or influence ("the cloud provider had an outage") or when you reach a condition you can change. Then ask the resilience question instead: given that the provider can fail, why did our system fail with it?
ValidateOnStart() to an options class in a sample API and confirm a bad value fails at startup instead of on the first request.The payments example: the root cause fix is making a bad config value impossible to run with, so the deployment fails rather than customers. Before and after:
// Before: value read at request time, never validated. A 0 slips through to production.
namespace Payments;
public sealed class PaymentsOptions
{
public int TimeoutSeconds { get; set; }
public Uri? BaseAddress { get; set; }
}
// builder.Services.Configure<PaymentsOptions>(builder.Configuration.GetSection("Payments"));
// After: validated with data annotations and checked at startup, so a bad release
// crashes on start, fails its readiness probe and never takes traffic.
using System.ComponentModel.DataAnnotations;
namespace Payments;
public sealed class PaymentsOptions
{
[Range(1, 60)]
public int TimeoutSeconds { get; set; } = 10;
[Required]
public Uri? BaseAddress { get; set; }
}
public static class PaymentsRegistration
{
public static IServiceCollection AddPayments(this IServiceCollection services, IConfiguration config)
{
services.AddOptions<PaymentsOptions>()
.Bind(config.GetSection("Payments"))
.ValidateDataAnnotations()
.ValidateOnStart(); // contributing factor fixed: fail at deploy, not at request time
services.AddHttpClient("payments", (sp, client) =>
{
var o = sp.GetRequiredService<Microsoft.Extensions.Options.IOptions<PaymentsOptions>>().Value;
client.BaseAddress = o.BaseAddress;
client.Timeout = TimeSpan.FromSeconds(o.TimeoutSeconds);
});
return services;
}
}
A senior uses "root cause" as a prioritisation tool, not a hunt for one truth. The question I push the group towards is "which conditions, if they had been different, would have prevented this or made it small?" Usually the answers include one prevention fix and two or three detection and recovery fixes; the latter often pay off more because they help with incidents we haven't imagined yet.
The facilitator matters as much as the technique. Five whys run by someone who doesn't know the system stops early; run by the engineer who made the change, it becomes defensive. I prefer a neutral facilitator with a domain expert in the room.
| Technique | When it fits | Cost | When not to |
|---|---|---|---|
| Five whys | Simple, linear failures; quick Sev 3 reviews | Minutes | Multi-cause or response-heavy incidents |
| Fishbone | Brainstorming across areas | An hour workshop | When you already have strong evidence of the chain |
| Causal factor tree | Several coinciding conditions | Half a day for a Sev 1 | Trivial incidents |
A blameless postmortem starts from the assumption that everyone acted reasonably with what they knew at the time, so the question is "how did our system make this easy to get wrong?", not "who broke it?". That's what makes people tell the truth, and without the truth you fix the wrong thing.
I build the timeline from evidence — alerts, deployment history, Azure Activity Log, KQL queries, the incident channel — then look for contributing factors across the trigger, detection, response and recovery, not a single root cause. The output is a short list of specific, owned, dated corrective actions that change the system (a test, a guard rail, an alert), tracked in the backlog and reviewed until done. The trade-off: thoroughness versus speed — a good-enough review within a week beats a perfect one in a month.
It is a valid trigger, but not a useful root cause, because nothing in it is ours to change. The next question is why our system failed along with the provider: a single region or zone, no timeout or circuit breaker, no bulkhead isolating the dependency, a hard dependency on the critical path, no degraded mode. Those become the actions: zone redundancy or a paired region where the business case justifies it, timeouts, circuit breakers and fallbacks, caching, an explicit SLO we design to given the provider's published SLA, and alerts on the dependency's health plus Azure Service Health notifications. The postmortem then tracks whether those resilience changes actually reduce impact next time, for example in a game day that simulates the outage.
Pick a real incident where you played a clear role, and tell it in STAR order in about two minutes. Situation: the system, scale and impact in numbers (users, minutes, error rate). Task: your role — responder, incident commander, or the person who found the cause. Action: how it was detected, how you triaged and set severity, how you mitigated first (rollback, flag, failover), how you investigated with named tools (Application Insights and KQL, distributed traces, dotnet-counters, Query Store), and how you communicated. Result: time to mitigate, what the contributing factors were and which system changes came out of the postmortem, with a number that shows it worked.
The trade-off interviewers listen for: you restored service before chasing the root cause, and you fixed the system rather than blaming a person.
How to tell it (STAR)
**S:** At [company] our payments service failed every card payment for 18 minutes after a config release, and the draft RCA blamed the engineer who typed a zero. **T:** I was asked to review the RCA, and I didn't think 'be more careful' would stop the next one. **A:** I ran a causal factor tree session with a neutral facilitator and found three conditions that all had to be true: no options validation, a readiness probe that didn't touch config, and no error-rate alert. We added `ValidateOnStart`, fixed the probe and added the alert, and rewrote the RCA without names. **R:** Two months later a similar bad value failed the deployment in staging with zero customer impact, and [the template change rolled out to N services].
Last updated 23 Nov 2026.