Presenting a full RCA under questioning: the structure (summary, impact, timeline, root cause, contributing factors, what went well, actions), backing each claim with evidence, using a worked example of duplicate payment charges caused by retries without idempotency keys.
I structure it so leadership gets the answer in the first minute: a three-sentence summary (what happened, impact, current state), then impact in numbers, a UTC timeline of trigger, impact, detection, mitigation and recovery, the root cause as a system condition, contributing factors, what went well, lessons learned and three to five owned actions, including customer remediation and communication. In the payments example: a release added retries to fix real provider timeouts, but POST /charges creates a new charge on every call unless it carries an idempotency key, which the provider uses to return the first result for a repeat. Ours sent none, so a timeout after the provider had charged the card produced a second charge. Detection took hours because alerts watched errors, not duplicates. Every claim links to evidence. The trade-off: brevity for leadership versus detail for engineers, so I keep the detail in an appendix.
"I'll use the duplicate charge incident, and I'll present it the way I would to leadership: summary first, detail on request.
Summary: on [Tuesday] a release added automatic retries to our payment provider call. When the provider was slow, our client timed out after it had already charged the card, retried, and charged again. About 1,200 customers were charged twice, around [$96,000] in duplicates, over 3 hours 40 minutes. Everyone has been refunded and the retries are disabled. Impact: 1,212 customers, 1,240 duplicate charges, no data exposure, plus [N] support calls. I know those numbers from reconciling the provider's settlement export against our orders table, not from logs. Timeline in UTC: release at 01:05; the provider's latency rose at 02:20 and duplicates started; support raised the first ticket at 04:30; we disabled retries with a feature flag at 05:45; the reconciliation and refunds finished the next day. So detection took over two hours, which is the number that worries me most.
Root cause: we retried a non-idempotent operation without an idempotency key, so the provider couldn't tell a retry from a new payment. Contributing factors: the retry policy was added as a generic resilience improvement and the review didn't ask whether the call was safe to repeat; our tests stubbed the provider and never simulated 'timeout after success'; and our alerts watched error rate, which stayed normal, while nothing watched duplicate charges. What went well: the feature flag let us switch retries off in seconds, and the idempotent order table made reconciliation fast. Actions, each with an owner and date: idempotency keys on every payment call, a contract test for timeout-after-success, an alert on charges per order above one, and a review checklist rule that retries need an idempotency story. The lesson I'd leave leadership with: resilience features can create incidents when they ignore whether an operation is safe to repeat."
| Section | Time | Content |
|---|---|---|
| Summary | 1 min | What happened, impact, status now |
| Impact | 1 min | Customers, transactions, money, data, duration |
| Timeline | 2 min | Trigger → impact → detection → mitigation → recovery (UTC) |
| Root cause | 1 min | The system condition, in plain words |
| Contributing factors | 2 min | Review, tests, detection, response |
| What went well | 30 s | Things to keep |
| Actions | 2 min | 3–5, owner, date, done-when |
| Questions | rest | Evidence on request |
| Claim | How I know |
|---|---|
| 1,212 customers, 1,240 duplicates | Provider settlement export joined to Orders by idempotency gap |
| Duplicates started 02:20 | Provider latency dashboard + first duplicate timestamp |
| Retries caused it | Dependency telemetry shows two POSTs per order 1–2 s apart, release diff adds retry |
| Detection at 04:30 | First support ticket, no alert fired |
With the actions in place, a later provider slowdown produced 3,400 retries and zero duplicate charges, because the provider returned the original result for each repeated idempotency key; the new duplicate-charge alert stayed quiet as it should.
Checks whether the candidate can communicate a complete, evidence-based RCA to senior stakeholders and defend it under questioning.
Green flags
Red flags
Leaders decide things (refunds, customer communication, investment) and need the answer before the story. Engineers need detail. The pyramid structure serves both:
summary (what, impact, status)
impact numbers + key timeline
root cause + contributing factors
evidence, queries, graphs (appendix, on request)
client provider
| POST /charges (t=0) |
|--------------------------->| charge card (success, slow)
| timeout at 10 s |
| (response lost) |
| retry POST /charges |
|--------------------------->| charge card again <-- duplicate
|<---------------------------| 201
A timeout tells you nothing about whether the server did the work. Retrying is only safe if the operation is idempotent. Payment providers support this with an idempotency key header: the provider stores the first result for that key and returns it for repeats.
Every request ended in success from the client's point of view. Error-rate and latency SLIs were normal. The damage was a business invariant breach (one charge per order), which only a business-level check sees:
customEvents
| where name == "PaymentCaptured"
| summarize charges = dcount(tostring(customDimensions.ProviderChargeId)) by orderId = tostring(customDimensions.OrderId), bin(timestamp, 5m)
| where charges > 1
| summarize ordersWithDuplicates = count() by bin(timestamp, 5m)
Every claim should map to an artefact: a query, a diff, a dashboard, a ticket. When you don't know, say so and say when you will: "we believe no other merchants were affected; the reconciliation for the second merchant account finishes tomorrow." Confident guesses destroy credibility faster than honest uncertainty.
Refunds, apology emails and support scripts are part of the RCA actions with owners and dates. Under Australian Consumer Law customers are entitled to refunds for charges they didn't authorise, and the payment provider may also see chargebacks if refunds lag.
Everyone knows who added the retry policy. Present the decision in context: retries were added to fix real timeouts, the review checklist didn't cover idempotency, and the test harness couldn't simulate timeout-after-success. That is accurate and keeps people talking.
Idempotency-Key header and server-side de-duplication to the stub and show the repeat returns the first result.The root cause fix: retries are only safe with an idempotency key that stays the same across attempts. The key is derived from the order, not generated per attempt.
namespace Payments;
using System.Net.Http.Json;
using Microsoft.Extensions.Http.Resilience;
using Polly;
public sealed record ChargeRequest(Guid OrderId, long AmountCents, string Currency);
public sealed record ChargeResult(string ChargeId, string Status);
public sealed class PaymentsClient(HttpClient http)
{
public async Task<ChargeResult> ChargeAsync(ChargeRequest request, CancellationToken ct)
{
using var message = new HttpRequestMessage(HttpMethod.Post, "v1/charges")
{
Content = JsonContent.Create(request)
};
// Same key for every attempt of this order's charge: the provider returns the
// original result for a repeat instead of charging again.
message.Headers.Add("Idempotency-Key", $"order-{request.OrderId:N}");
using var response = await http.SendAsync(message, ct);
response.EnsureSuccessStatusCode();
return (await response.Content.ReadFromJsonAsync<ChargeResult>(ct))!;
}
}
public static class PaymentsRegistration
{
public static IServiceCollection AddPaymentsClient(this IServiceCollection services, Uri baseAddress)
{
services.AddHttpClient<PaymentsClient>(c => c.BaseAddress = baseAddress)
.AddResilienceHandler("payments", pipeline =>
{
// Retrying a POST is acceptable here ONLY because of the idempotency key above.
pipeline.AddRetry(new HttpRetryStrategyOptions
{
MaxRetryAttempts = 2,
BackoffType = DelayBackoffType.Exponential,
UseJitter = true
});
pipeline.AddTimeout(TimeSpan.FromSeconds(10)); // per attempt
});
return services;
}
}
-- Reconciliation that produced the impact numbers: orders with more than one settled charge
SELECT s.OrderId, COUNT(*) AS Charges, SUM(s.AmountCents) / 100.0 AS TotalCharged
FROM dbo.ProviderSettlements AS s
WHERE s.SettledAt >= '2026-06-09T01:05:00' AND s.SettledAt < '2026-06-09T06:00:00'
GROUP BY s.OrderId
HAVING COUNT(*) > 1;
Presenting an RCA is a test of judgement as much as analysis: what to leave out, how to state uncertainty, and how to describe a visible human decision without blame. I aim for leadership to leave knowing the impact, that customers are being looked after, the one systemic lesson, and what we need from them (usually time or budget for the platform action).
The technical lesson in this example generalises: resilience patterns (retries, hedging, replays from a queue) are only safe when the operation is idempotent. I make "what makes this safe to repeat?" a standard review question for any retry policy.
| Option for retries on writes | When it fits | Cost | When not to |
|---|---|---|---|
| No retry, surface error | Non-idempotent call, no key support | User may retry manually | High-volume transient failures |
| Retry with idempotency key | Provider supports keys (most payment APIs) | Key design and storage | Provider ignores the header |
| Status check before retry | No key support, query API exists | Extra call, race windows | High latency budgets |
| Async with outbox and de-duplication | Internal services | More moving parts | Simple synchronous needs |
The timeline comes first because every later step (root cause, contributing factors, actions) has to be argued from evidence, and memories after a stressful night are wrong in predictable ways. I build it from deployment and config history, the Azure Activity Log, alert history, KQL queries over Application Insights / Log Analytics for the per-minute failure rate, and the incident chat channel. Each entry has a UTC timestamp, the source, what happened and a link to the evidence. I mark the key moments, trigger, impact start, detection, mitigation, recovery, which give time to detect, mitigate and recover. I watch for clock skew and log ingestion delay, which can put a cause after its effect, and I record what responders knew at the time to avoid hindsight bias. The trade-off: a thorough timeline takes hours, so I build a skeleton within a day while data is still retained and refine it before the review.
Blast radius is the impact across several dimensions: the time window, who was affected (users, customers, tenants, regions), what failed (requests, orders, payments), money, and data, both corrupted and exposed. I give a quick estimate with a range within the hour from telemetry, then exact numbers later. The impact window comes from SLI telemetry, and distinct affected users from request telemetry keyed on an authenticated user or customer id, using KQL in Application Insights. Failed requests aren't the whole story, so I reconcile the database for duplicates, missing or wrong records. If personal data may have been exposed, the clock starts on a Notifiable Data Breaches assessment under the Privacy Act 1988 (30 days at most). The trade-off: speed versus precision, so I always state assumptions and confidence.
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] a release added automatic retries to our outbound HTTP calls, including the payment provider, and over an afternoon [about 1,200] customers were charged twice. **T:** I [led the RCA] and presented it to engineering leadership and the head of customer service. **A:** I reconciled the provider's settlement export against our orders for exact impact, built a UTC timeline that showed a two-hour detection gap, and framed the root cause as retrying a non-idempotent call without an idempotency key. We added idempotency keys, a timeout-after-success contract test, a duplicate-charge alert and a review rule for retries on writes. **R:** Every customer was refunded within [24 hours], and a later provider slowdown caused [3,400] retries with zero duplicate charges.
Last updated 23 Nov 2026.