📁 Sangam Dhakal - Portfolio v2.0 - Netscape Navigator 4.0
_
□
×

๐Ÿ“š Interview question

Every RCA your team writes ends with a list of actions, yet six months later half are still open and similar incidents keep happening. As the senior engineer, how do you turn an RCA into actions that actually stick? Cover immediate versus long-term fixes, preventive actions and monitoring improvements, owners and dates, prioritising them against feature work, and how you check they worked.

Turning RCA findings into durable change: classifying actions (immediate fix, long-term fix, preventive, detection), SMART actions with owners and dates, tracking in the backlog, prioritising with error budgets, verifying effectiveness and spotting repeat factors across incidents.

Senior Theory Advanced corrective-actions error-budget postmortem production rca reliability

๐ŸŽฏ Key points

  • Classify actions: immediate fix, long-term fix, preventive action, detection/monitoring improvement
  • Each action is specific and verifiable, with one owner, a due date and a ticket in the team's backlog
  • Accountability loop: fortnightly review of open actions; overdue Sev 1 actions escalated or explicitly accepted as risk
  • Prefer mechanisms: ValidateOnStart, pipeline gates, analysers (TreatWarningsAsErrors), SLO burn-rate alerts, over 'be careful'
  • Prioritise by risk reduction; use the error budget policy to make room against features
  • Verify each action: a failing test, an alert firing in a game day, or the metric moving
  • Measure the system: TTD, MTTR, repeat incidents per factor category, % actions closed in 30 days
  • Tag contributing factors across RCAs to find systemic themes

โฑ 30-second answer

Actions stick when they are few, specific, owned and tracked like features, with someone checking on them. I sort them into four kinds: the immediate fix (already done to stop the bleeding), the long-term fix for the root cause, preventive actions that remove the class of failure, and detection and monitoring improvements that shrink the next incident whatever causes it. Each gets one owner, a due date and a ticket in the team's normal backlog, and a regular review (fortnightly, with the engineering manager) where overdue items are re-committed, re-scoped or explicitly accepted as risk. I prefer mechanisms over intentions: ValidateOnStart(), a pipeline gate, a Roslyn analyser or an alert, not "be more careful". Prioritisation uses the error budget policy. Finally I verify each action with a test, a game day or the metric moving, and watch trends like time to detect, MTTR and repeat incidents. The trade-off: fewer actions means some risks are accepted, so I record those explicitly.

๐Ÿ—ฃ Full answer (senior)

How I would answer this in an interview

"When RCA actions don't get done, it's usually for three reasons: there are too many of them, they're vague, and they live in a document instead of the backlog. So I fix all three. In the review I push for a short list, typically three to five actions for a Sev 1, and I sort them: the immediate fix, which is normally done already; the long-term fix for the root cause; preventive actions that stop the whole class of failure; and detection improvements so the next unknown incident is caught faster. Each one has to pass a simple test: could someone else tell, without asking me, whether it's done? 'Improve monitoring' fails. 'Alert at 2% 5xx over 5 minutes on POST /orders, routed to the payments on-call group, tested in staging' passes.

Then the action becomes a ticket in the owning team's backlog with one named owner and a date, linked back to the RCA, and tagged so we can report on it. For example, at [company] we had [N] open RCA actions older than 90 days; I [introduced a fortnightly reliability review where the engineering manager and I went through overdue actions and either re-committed, re-scoped or explicitly accepted the risk]. Within [two quarters] the overdue list dropped to [a handful], and the competition with feature work was settled by our error budget policy: when a service had burned its monthly budget, its next sprint started with the reliability items.

The mistake I see is closing actions when the code merges. An action is done when it's proven to work: the new alert fired in a game day, the validation test fails on the bad config, or the repeat factor stops showing up in later RCAs. I also tag contributing factors by category, so after a few months we can see themes, like 'config changes not validated' in four incidents, and fund one platform fix instead of four local ones. Actions that change the system stick; actions that ask people to try harder don't."


Kinds of action

Kind Purpose Example
Immediate fix Stop the impact now Rollback, flag off, purge cache
Long-term fix Remove this root cause Options validation with ValidateOnStart()
Preventive action Remove the class of failure Config schema check in the pipeline for every service
Detection improvement Find the next one faster SLI burn-rate alert, synthetic check, better routing
Process / knowledge Make response easier Runbook update, access for on-call, training

Strong versus weak actions

Weak Strong
"Be more careful with config" "Pipeline fails if appsettings violates schema (owner A, 21 Mar)"
"Improve monitoring" "Burn-rate alert on checkout SLO, tested in staging"
"Add more tests" "Contract test for the payments client timeout range"
"Document the fix" "Runbook step for Key Vault rotation linked from the alert"

Hierarchy of effectiveness

Most effective Least effective
Eliminate (remove the dependency or the manual step) โ†’ guard rail (validation, gate) โ†’ detection (alert) โ†’ procedure (runbook) โ†’ โ†’ training / "be careful"

Production example

After a checkout outage the first draft listed 14 actions. We cut it to 4: ValidateOnStart() on options, a pipeline schema check for all services, an SLO burn-rate alert, and an on-call runbook step. All 4 closed within 5 weeks; a later bad config failed in staging, and time to detect on the next checkout incident fell from 31 minutes to 4.

๐Ÿ” What the interviewer is checking

Checks whether the candidate can turn post-incident learning into durable change, balance it against delivery, and measure the result.

Green flags

  • Distinguishes immediate, long-term, preventive and detection actions
  • Insists on one owner, a date and verifiable "done when" criteria
  • Uses error budgets or an agreed policy to prioritise
  • Verifies effectiveness and looks for patterns across RCAs
  • Prefers guard rails and automation over training

Red flags

  • "We write the actions in the postmortem doc" with no tracking
  • Actions like "be more careful" or "more testing"
  • No way to tell whether an action worked

๐Ÿ“š Learn in depth

1. Why RCA actions decay

RCA meeting -> long action list in a doc -> no owner/date -> features win every sprint
            -> actions forgotten -> same contributing factor -> next incident

The fix is structural: put actions where work is already prioritised (the backlog), keep them few, and review them on a schedule.

2. Writing an action that can be verified

A good action names the change, the scope, the owner, the date and the evidence that it is done:

Action: Add ValidateOnStart() to PaymentsOptions and OrdersOptions
Scope : payments-api, orders-api
Owner : <one person>
Due   : 2026-03-21
Done when: unit test proves TimeoutSeconds=0 fails startup; deployed to prod
Links : RCA-1432, factor #1

One owner, not a team: shared ownership means nobody chases it.

3. Prioritising against feature work

Error budgets turn reliability into a shared, numeric rule rather than an argument:

SLO 99.9% monthly  -> budget = 43.2 minutes of failure per 30 days
Incident burned 38 minutes -> 88% of budget gone
Policy: >75% burned -> next sprint prioritises reliability actions for that service

Without an agreed policy, every RCA action competes on persuasion. With one, the product owner already agreed the trade-off in advance.

4. Verifying effectiveness

Action type Evidence it works
Guard rail A test or pipeline run that fails on the bad input
Alert Fired in a game day or chaos test, reached the right person
Runbook A new on-caller followed it in a drill without help
Platform fix Contributing factor stops appearing in later RCAs

Track outcome metrics: time to detect, time to mitigate, repeat incidents per factor category, and percentage of Sev 1 actions closed within 30 days.

5. Learning across incidents

One RCA shows one failure; ten RCAs show a system. Tag each contributing factor with a category (config, deployment, dependency, capacity, alerting, access). A quarterly look across RCAs often finds that a few categories cause most incidents, which justifies platform-level investment such as a shared options validation library or progressive delivery.

6. Accepting risk explicitly

Not every action is worth doing. When the team decides not to do one, record it as an accepted risk with the reason and who accepted it. That is honest and stops zombie actions clogging the list.

Try it yourself

  1. Pull the actions from your last five RCAs and count how many are open, vague or ownerless.
  2. Rewrite three vague actions so they have an owner, date and a "done when" test.
  3. Calculate the monthly error budget for one of your SLOs and how much your last incident consumed.
  4. Tag contributing factors from past RCAs by category and find the top two categories.
  5. Run a 30-minute game day that triggers an alert added by an RCA action and check it reached the right person.

๐Ÿ’ป Code

An action is only 'done' when proven. Here an RCA action ("bad payments config must fail startup") is backed by a test that would fail if anyone removed the guard rail.

namespace Payments.Tests;

using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Options;
using Xunit;

public sealed class Rca1432GuardRailTests
{
    [Theory]
    [InlineData("0")]
    [InlineData("600")]
    public async Task Invalid_payments_timeout_fails_host_startup(string timeout)
    {
        var builder = Host.CreateApplicationBuilder();
        builder.Configuration.AddInMemoryCollection(new Dictionary<string, string?>
        {
            ["Payments:TimeoutSeconds"] = timeout,
            ["Payments:BaseAddress"] = "https://payments.example.test"
        });
        builder.Services.AddPayments(builder.Configuration); // the production registration

        using var host = builder.Build();

        // ValidateOnStart runs during StartAsync: the deploy fails, customers never see it.
        await Assert.ThrowsAsync<OptionsValidationException>(() => host.StartAsync(TestContext.Current.CancellationToken));
    }
}
// Tagging RCA actions so they can be reported on (example work item fields)
{
  "title": "RCA-1432 #1: ValidateOnStart on PaymentsOptions",
  "tags": ["rca", "rca-1432", "factor:config-validation", "kind:long-term-fix"],
  "assignedTo": "<one owner>",
  "dueDate": "2026-03-21",
  "doneWhen": "Rca1432GuardRailTests pass in CI and change is deployed to production"
}

โš  Common mistakes

  • Mistake: A long wish list of actions. Why it is wrong: Nothing gets done when everything is a priority. Instead: Three to five high-leverage actions per Sev 1; record the rest as accepted risks or ideas.
  • Mistake: Vague actions like "improve monitoring". Why it is wrong: Nobody can tell when they are done, so they never close. Instead: State the change, scope, owner, date and "done when" evidence.
  • Mistake: Assigning actions to a team. Why it is wrong: Shared ownership means no one chases it. Instead: One named owner per action.
  • Mistake: Keeping actions only in the RCA document. Why it is wrong: Work is prioritised in the backlog; the document is forgotten. Instead: Create tickets in the owning team's backlog, tagged and linked to the RCA.
  • Mistake: Relying on training and "be careful". Why it is wrong: Intentions fade; the same conditions produce the same mistake. Instead: Prefer elimination, guard rails and detection.
  • Mistake: Closing actions when the PR merges. Why it is wrong: Unverified fixes often don't work in production. Instead: Prove it with a test, a game day or a moved metric.
  • Mistake: Fighting feature work case by case. Why it is wrong: Reliability loses every negotiation without a rule. Instead: Agree an error budget policy in advance.
  • Mistake: Treating each RCA in isolation. Why it is wrong: Repeat themes stay invisible. Instead: Tag factors and review across incidents quarterly.

๐Ÿ› Senior insight: trade-offs

The senior move is to treat RCA actions as a portfolio. Individually, each action protects against one failure; collectively, the pattern of contributing factors tells you where the platform is weak. I'd rather fund one shared fix (a config validation library, progressive delivery, a standard SLO alert template) that closes the factor across ten services than ten local patches.

I'm also comfortable not doing actions. A clear "we accept this risk because the cost is X and the likelihood is low, reviewed in six months" is better than a stale ticket. What I won't accept is a Sev 1 action overdue with no decision.

Option When it fits Cost When not to
Local fix in the affected service Unique failure, one service Low When the same factor appears across services
Platform / template fix Repeat factor across teams Higher, cross-team One-off failures
Detection improvement Unknown future causes, slow TTD Low to medium When the failure is already prevented by a guard rail
Accepted risk Low likelihood, high fix cost Documentation only Safety, security or privacy risks
Metric Tells you
% Sev 1 actions closed in 30 days Follow-through
Repeat incidents per factor category Whether actions worked
TTD / TTM trend Whether detection and response improved

๐Ÿ”— Follow-ups the interviewer may ask

  1. When: Candidate mentions error budgets to prioritise reliability work Why: Checks they understand how SLOs and error budgets are calculated and used.
    How to answer

    An SLI is a measurement of user experience expressed as a ratio of good events to valid events, for example requests to /api/orders answered in under 300 ms with a non-5xx status รท all requests. An SLO is the internal target for that SLI over a rolling window, such as 99% over 28 days. An SLA is the external contract with financial penalties, deliberately looser than the SLO (say 99.5% vs 99.9%) so you breach the SLO first.

    To turn a latency percentile into an SLO, rephrase it as a threshold ratio: "99% of requests complete in under 300 ms", computed from the ASP.NET Core http.server.request.duration histogram buckets, not by averaging p99s. The error budget is 1 โˆ’ SLO: at 99.9% over 30 days that is about 43 minutes or 0.1% of requests. When the budget is spent, risky releases pause and reliability work takes priority. The trade-off: each extra nine costs far more engineering and infrastructure.

  2. When: Candidate mentions contributing factors Why: Checks they can find the factors the actions should address.
    How to answer

    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.

  3. When: Candidate mentions the postmortem meeting Why: Checks they can run the review that produces the actions.
    How to answer

    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.

๐Ÿ›  Real-world problems: how you handle them

Overdue RCA actions and a repeat outage drive a reliability review
Situation
At [company], a [team of N engineers] owned a set of Azure-hosted .NET services. Their RCAs produced long action lists in a wiki; [N] actions were over 90 days old. A config-related outage recurred [three] times in [six] months.
Signals
Repeat incidents with the same contributing factor (config not validated); RCA documents with 10+ actions and no owners; error budget for the checkout SLO exhausted two months running; product pushback when reliability work was proposed ad hoc.
Investigation
Exported actions from the last [12] RCAs, tagged each contributing factor by category, counted open and overdue items, and calculated error budget consumption per service from the SLO dashboards in Azure Monitor.
Resolution
Immediate: re-triaged every open action into do, re-scope or accept-risk with the engineering manager. Long term: actions as backlog tickets with one owner, date and "done when" criteria; a fortnightly reliability review; an error budget policy agreed with product; a shared options validation package for the repeat config factor.
Prevention
RCA template limits Sev 1 actions to a short list with a verification column; dashboard of open RCA actions by age; quarterly cross-RCA theme review; game days to verify new alerts.

How to tell it (STAR)

**S:** At [company] we kept having config-related outages, and our RCAs had [N] actions over 90 days old sitting in a wiki. **T:** As the senior engineer I wanted the actions to actually change the system, without starting a fight with product every sprint. **A:** I re-triaged every open action with the engineering manager, moved the survivors into the backlog with one owner, a date and a 'done when' test, agreed an error budget policy with product, and tagged factors across RCAs, which showed config validation in [four] incidents, so we built one shared validation package. **R:** Overdue actions dropped from [N] to [a handful] in [two quarters], and we had no config-caused outage in the following [six] months.

โ†ฉ Usually asked after

More in RCA

Last updated 23 Nov 2026.

๐ŸŒ Sangam's Webring

โช Previous ๐Ÿ  Main Next โฉ
๐Ÿ’ฌ Chat with me