Courses / Cloud and DevOps Interview Prep / Chapter 12
Module 8 · Stories and interview day · Chapter 12 of 13
Behavioural Stories and Talking to Stakeholders
Builds on Observability and SLOs with OpenTelemetry and Incident Response: Command, Mitigation and Blameless Review. Next up: Final Week, Interview Day and a Timed Mock.
Part 1 · A story bank for DevOps roles
Why prepare stories, and how to shape one
How you behaved in a real incident, a dispute or a release is best shown by telling the story, in a performance review, a promotion case, a retrospective or a first conversation with a new team.
A behavioural question asks about something you did in the past: "Tell me about a time you stopped a risky change" or "Describe an outage you handled". The people asking are looking for evidence of how you think and act under pressure, and the best evidence is a specific event told in order. A general claim such as "I always test before releasing" is easy to say and tells them little.
The standard shape for such an answer is STAR: Situation, Task, Action, Result. The Situation gives just enough context for a stranger to follow. The Task is what you were responsible for. The Action is what you personally did. The Result is what happened, ideally with numbers, and what you learned. The career-services guide from MIT suggests spending about 20 percent of the time on the Situation, 10 percent on the Task, 60 percent on the Action and 10 percent on the Result. It calls the split a guide and not a rule. The point is that most of the answer should be your actions.
Preparing every answer from nothing the night before does not work, because the questions vary widely. What works is a story bank: five or six real events, each prepared in detail, each flexible enough to answer several different questions. You choose the story that fits the question when it comes, and you adjust the emphasis.
The stories a DevOps bank needs
A DevOps or SRE role has recurring kinds of work, so the useful stories come from the same few places. The table lists them with what each one proves and the numbers worth having ready.
| Story | What it shows | Numbers to have |
|---|---|---|
| An incident you led or worked | Calm triage, evidence before action, clear communication | Time to detect, time to mitigate, users affected |
| A risky change you stopped or reshaped | Judgement, using data, being willing to slow a release | The risk you saw, the data behind it, the outcome |
| Toil you automated | Initiative and engineering, not just operating | Hours saved a week, errors before and after |
| A disagreement you worked through | Respect, evidence, and commitment to the decision | The options, the decision, what happened next |
| A mistake you made | Honesty, learning, changing the system and not only yourself | Impact, how you found it, what changed |
| Work across teams | Influence without authority, plain communication | Who was involved, what you needed from them |
Notice how many of these are about the system and the people around it, not only about technical skill. A strong story from a small team is better than a vague story from a big company. A mistake is a good story as long as it ends with a change that stops the same mistake, for example a new check in the pipeline, not with "I was more careful afterwards".
Collect each story from your own history. Check the facts against your notes, the ticket, the review document or the chat log, so that the dates, durations and counts you say can be defended. If you do not remember a number, say "about" and give your best estimate, and do not invent precision.
Mapping stories to what a company says it values
Many companies publish the values they work by, and your stories land better when you can connect them to those values. Amazon is a well-known example. Its careers site lists 16 Leadership Principles: Customer Obsession, Ownership, Invent and Simplify, Are Right, A Lot, Learn and Be Curious, Hire and Develop the Best, Insist on the Highest Standards, Think Big, Bias for Action, Frugality, Earn Trust, Dive Deep, Have Backbone; Disagree and Commit, Deliver Results, Strive to be Earth's Best Employer, and Success and Scale Bring Broad Responsibility. Its page says the company uses the principles every day, whether it is discussing ideas for new projects or deciding how to solve a problem.
Treat the list as a vocabulary. You do not recite the names. You check that each of your stories can show several of them in the way the company describes them, and you check that your bank is not missing one. A mapping for the stories above might look like this.
| Story | Principles it can show |
|---|---|
| Incident you led | Ownership, Dive Deep, Bias for Action |
| Risky change you stopped | Have Backbone; Disagree and Commit, Insist on the Highest Standards |
| Toil you automated | Invent and Simplify, Frugality |
| Disagreement | Have Backbone; Disagree and Commit, Earn Trust |
| Mistake | Ownership, Learn and Be Curious |
The page words three of these in a useful way. Ownership: leaders are owners and never say "that is not my job". Dive Deep: leaders stay connected to the details and stay sceptical when metrics and anecdotes disagree. Have Backbone: leaders are obliged to challenge decisions respectfully when they disagree, and once a decision is made, they commit fully. An incident story that includes your reading of the metrics and a story about disagreeing with a plan, each told with evidence, covers all three.
A story card
Write each story on a single card with a fixed set of fields. The card keeps you from rambling and makes the stories easy to compare and rehearse.
Title: Orders not reaching restaurants Situation: two sentences, with the business impact My role: the part I owned Actions: 3 to 5 steps, each starting with "I" Evidence: what I looked at and why it mattered Result: numbers, before and after After: what changed in the system Different: one thing I would change Values: Ownership, Dive Deep, Bias for Action
Two fields do the most work. Evidence forces you to say what you looked at before you acted, which is the habit that troubleshooting guides such as the SRE book teach, and it is easy to skip when you tell a story from memory. After forces you to say what changed in the system so the problem would not repeat, which shows that you work on causes and not only on symptoms.
Rehearse aloud and time yourself. A story of about 90 seconds leaves room for follow-up questions. If you need five minutes, you are telling the whole history and not the part that matters. The next lesson turns one card into a timed outline.
Which part of a STAR answer should take the most time, and why?
- The Action, about 60 percent by MIT's guide, because the listeners want to hear what you personally did and decided.
What is a story bank, and why have one?
- A small set of real, detailed stories that can answer many different questions. It avoids preparing each answer from nothing and keeps your facts consistent.
A mistake story ends with "I was more careful afterwards". What is missing?
- A change to the system. A stronger ending names the new check, alert or process that stops the same mistake, whoever makes it next.
Part 2 · Telling an incident story
Ownership without blame
An incident story is the most common one a DevOps bank needs, and the easiest to tell badly. The two usual faults are opposite. One speaker blames a person, a team or a vendor. The other speaker either says "we" for everything, so no individual action is visible, or takes sole credit for a team effort.
A few habits fix both. Use "I" for the steps you took and "we" for the outcomes the team achieved. Describe causes in terms of the system and not people: "the pipeline had no canary stage, so a bad release reached all users" says more than "a colleague shipped a bug", and it fits the blameless style that engineering teams use in reviews. Own your part honestly, including a wrong turn, because a wrong turn followed by a correction is evidence that you test your own hypotheses.
Numbers make the story credible, and they must be yours. Useful ones are how long the problem went undetected, how long until you mitigated it, how many users or orders were affected, and the cost. Take them from the incident record, not from memory. Be exact about what you measured: "four minutes from the release to the alert" and "14 minutes from the alert to the rollback" are two different figures, and each tells the listener something.
Finally, say what changed afterwards. An incident story that stops at "and then it was fixed" misses its best part. The follow-up shows that you looked for the cause behind the symptom and changed something durable.
From a timeline to an outline
A reliable way to prepare is to start from the record. The incident timeline, kept during or after the event, already holds the times and the steps. The file below is a made-up timeline for the story card from the last lesson. Each event has a time, an actor (me, team or system), a kind and a text.
{
"title": "Orders not reaching restaurants",
"myRole": "on-call engineer",
"numbers": { "ordersDelayed": 640, "restaurants": 112 },
"events": [
{ "at": "20:58", "actor": "team", "kind": "change",
"text": "release 87 went out" },
{ "at": "21:02", "actor": "system", "kind": "detect",
"text": "alert: unacknowledged orders above 200" },
{ "at": "21:05", "actor": "me", "kind": "declare",
"text": "paged the on-call lead and declared a SEV 2" },
{ "at": "21:11", "actor": "me", "kind": "hypothesis",
"text": "matched the alert time to release 87" },
{ "at": "21:16", "actor": "me", "kind": "mitigate",
"text": "rolled release 87 back" },
{ "at": "21:31", "actor": "me", "kind": "communicate",
"text": "gave support the list of restaurants to call" },
{ "at": "21:40", "actor": "system", "kind": "resolve",
"text": "queue empty, orders flowing" },
{ "at": "next week", "actor": "me", "kind": "followup",
"text": "added a 10 percent canary stage to the pipeline" },
{ "at": "next week", "actor": "team", "kind": "followup",
"text": "wrote the review and fixed the consumer bug" }
]
}story.json: made-up timeline for the story
The script reads that file and builds an outline for a 90-second answer. It splits the time 20, 10, 60 and 10 percent across the four parts, takes the "I" steps from the events marked me, calculates the intervals from the timestamps, and adds the follow-up items. The speaking time uses an assumed rate of 130 words a minute, which is a rough figure for steady speech.
import { readFileSync } from 'node:fs' type Ev = { at: string; actor: string; kind: string; text: string } const s = JSON.parse(readFileSync(process.argv[2], 'utf8')) const ev: Ev[] = s.events const min = (t: string) => +t.slice(0, 2) * 60 + +t.slice(3) const at = (k: string) => ev.find((e) => e.kind === k)! const gap = (a: string, b: string) => min(at(b).at) - min(at(a).at) const total = 90 // seconds const share = { Situation: 0.2, Task: 0.1, Action: 0.6, Result: 0.1 } const mine = ev.filter((e) => e.actor === 'me' && e.at !== 'next week') const after = ev.filter((e) => e.kind === 'followup')
outline.mts, part 1: read and measure
const parts: Record<string, string[]> = { Situation: [`${s.title}: ${s.numbers.ordersDelayed} orders delayed,` + ` ${s.numbers.restaurants} restaurants`, `Release at ${at('change').at}, alert at ${at('detect').at}`], Task: [`I was the ${s.myRole}; my job was to stop the delay`], Action: mine.map((e) => `At ${e.at} I ${e.text}`), Result: [`Detected ${gap('change', 'detect')} min after the release`, `Rolled back ${gap('detect', 'mitigate')} min after the alert`, `Resolved at ${at('resolve').at}`, ...after.map((e) => `Afterwards (${e.actor}): ${e.text}`)], } for (const [name, lines] of Object.entries(parts)) { const sec = Math.round(total * share[name as keyof typeof share]) console.log(`${name} (${sec} s)`) for (const l of lines) console.log(' -', l) } const wc = Object.values(parts).flat().join(' ').split(/\s+/).length console.log(`\n${wc} words in the outline; at 130 words a minute,`) console.log(`speaking it takes about ${Math.round(wc / 130 * 60)} s.`) const owned = mine.length / ev.filter((e) => e.kind !== 'followup' && e.actor !== 'system').length console.log(`Actions that are mine: ${mine.length}` + ` (${Math.round(owned * 100)}% of the human steps).`)
outline.mts, part 2: build and print
Reading the outline critically
The outline gives each part its share of the 90 seconds: 18 for the Situation, 9 for the Task, 54 for the Action and 9 for the Result. The four actions are all in the first person and in time order: paged the lead and declared a SEV 2, matched the alert to the release, rolled back, and told support which restaurants to call. The intervals come straight from the timestamps: detected 4 minutes after the release, rolled back 14 minutes after the alert.
The last lines are checks. The bullets add up to about 48 seconds when read out, which means there are about 40 seconds of room. Spend them in the Action part, on the reasoning that the bullets leave out: why you compared the alert time with the deploy list before doing anything else, and why you rolled back and not forward. That reasoning is the evidence a listener wants. The "actions that are mine" figure, 80 percent of the human steps, is a prompt to check the balance. A very low share would suggest you are telling the team's story and not yours, and a share of 100 percent would suggest you leave out the people who helped.
The script cannot judge whether the story is true or interesting, and it cannot tell you what you left out. It does protect against three common failures: no numbers, no personal actions and no follow-up. If the timeline has no followup events, the Result part has nothing to say about what changed, and that is the gap to fill before you rehearse.
Keep the timeline file for every story in your bank, and update it while the memory is fresh. It is also a useful record of your own work for performance reviews.
Why say "the pipeline had no canary stage" and not "a colleague shipped a bug"?
- It describes a cause in the system that can be fixed, which matches blameless reviews, and it avoids blaming a person who is not there to answer.
The detection interval and the mitigation interval are both in a story. How should you describe them?
- Name what each one measures from the record: for example 4 minutes from the release to the alert and 14 minutes from the alert to the rollback. Two clearly labelled numbers beat one vague "it took a while".
Part 3 · Updating people who are not engineers
What the audience needs
During an incident, many people need to know what is happening and cannot read a dashboard. Support teams talk to customers. Business owners decide whether to delay a campaign. Executives want to know whether they will hear about it on the news. The Google SRE book on managing incidents gives one role the job of being the public face of the response: the communications role issues periodic updates to responders and stakeholders, often by email. It is a job in its own right because good updates take thought and a commander has no spare attention.
The audience asks four things, in this order. What are customers experiencing? How many are affected, and is it growing? What are you doing, and when will you update again? And what do you need from me? Technical detail is welcome only if it answers one of those. A listener who must translate your update before using it will stop reading, or will translate it wrongly.
The same facts need different words for different readers. Engineers want the cause as far as you know it. Support wants what to tell a customer and which customers are affected. Executives want impact, trend and the time of the next update. Write one update per audience from the same facts, so that they never disagree.
| Audience | Lead with | Leave out |
|---|---|---|
| Engineers | Current hypothesis, what was tried, what is next | Reassurance without evidence |
| Support | What customers see, what to say, who is affected | Internal system names |
| Business owners | Impact in orders or money, trend, decisions needed | Debugging detail |
| Executives | Customer impact, expected time to recovery, next update |
Impact in the customer's terms
The most useful change is to state impact as users experience it. "The location consumer is lagging" is accurate and useless to a support agent. "The map pin can be up to 12 minutes old, for about 1 in 5 orders" is something they can say to a customer. It should also say what is not affected, so that people do not assume the worst: placing and paying for an order still works.
The incidents chapter showed a script that turns the incident record into a status update. This lesson adds a second script for the other direction of the problem: starting from numbers and translating them. It reads an incident record in the same format, plus a few figures, and writes an update for people outside engineering. The made-up scenario is a map that shows stale delivery locations.
{
"id": "INC-231",
"title": "Order tracking map not updating",
"severity": 3,
"status": "mitigating",
"impact": "tracking pins are stale for some orders",
"now": "restarting the consumer to clear lag on the geo queue",
"roles": { "commander": "Isha Menon", "comms": "Rohan Pillai" },
"numbers": {
"affectedPct": 20,
"ordersPerHour": 1800,
"staleMinutes": 12,
"since": "18:40",
"now": "19:05",
"nextInMinutes": 30
},
"asks": [
"Support: say the order is moving even if the pin is old",
"Marketing: hold the map announcement until recovery"
]
}incident.json: made-up scenario
The script turns the affected percentage into "1 in N", multiplies the hourly volume by the percentage to estimate orders affected, works out the time of the next update, and replaces a small list of jargon words with plain ones. It prints every replacement so that you can see what it changed.
Running it
import { readFileSync } from 'node:fs' const inc = JSON.parse(readFileSync(process.argv[2], 'utf8')) const n = inc.numbers const JARGON: [string, string][] = [ ['consumer', 'background service'], ['lag', 'delay'], ['queue', 'waiting line'], ['rollback', 'undoing the release'], ] const found: string[] = [] function plain(text: string) { return JARGON.reduce((t, [word, say]) => { const re = new RegExp(`\\b${word}\\b`, 'g') if (re.test(t)) found.push(`${word} -> ${say}`) return t.replace(re, say) }, text) } const wrap = (t: string) => t.replace(/(.{1,60})(\s|$)/g, ' $1\n')
plain.mts, part 1: the jargon list and helpers
const oneIn = Math.round(100 / n.affectedPct) const hourly = Math.round(n.ordersPerHour * n.affectedPct / 100) const [h, m] = n.now.split(':').map(Number) const next = new Date(Date.UTC(2026, 10, 22, h, m + n.nextInMinutes)) console.log(`${inc.title}: ${inc.status}`) console.log(`Customers see: the map pin can be up to ${n.staleMinutes}` + ' minutes old.') console.log(`How many: about 1 in ${oneIn} orders, around ${hourly}` + ' an hour, since ' + n.since + '.') console.log('What is not affected: placing and paying for orders.') console.log('What we are doing:') process.stdout.write(wrap(plain(inc.now) + '.')) console.log('What we need from you:') for (const a of inc.asks) console.log(' -', a) console.log(`Next update at ${next.toISOString().slice(11, 16)}.`) console.log('\nJargon replaced:') for (const f of found) console.log(' ', f)
plain.mts, part 2: the update
Order tracking map not updating: mitigating Customers see: the map pin can be up to 12 minutes old. How many: about 1 in 5 orders, around 360 an hour, since 18:40. What is not affected: placing and paying for orders. What we are doing: restarting the background service to clear delay on the geo waiting line. What we need from you: - Support: say the order is moving even if the pin is old - Marketing: hold the map announcement until recovery Next update at 19:35. Jargon replaced: consumer -> background service lag -> delay queue -> waiting line
Output of node plain.mts incident.json.
The numbers come out as intended. 20 percent becomes "about 1 in 5", and 20 percent of 1,800 orders an hour is 360, which the update presents as "around" because it is an estimate and not a count. The next update is 30 minutes after the 19:05 timestamp. The two requests at the bottom are specific and addressed to named teams, so each reader knows whether the message is for them.
Look closely at the "What we are doing" line. The script replaced consumer, lag and queue, and the result, "clear delay on the geo waiting line", is still unclear, because geo was not on the list and the phrase still describes the machinery. A person has to finish the job. A better line is "restarting the service that updates map positions", which names what customers care about. Treat the jargon list as a prompt to rewrite, not as a replacement for judgement.
Part 4 · Saying no with data, and disagreeing well
A budget turns an opinion into a number
Saying "I think this release is risky" starts an argument about feelings. Saying "we have used 85 percent of this month's error budget and this change could cost 30 percent" starts a conversation about trade-offs. The first needs the listener to trust your judgement. The second can be checked.
An error budget is the amount of unreliability a service may have under its service-level objective (SLO) before it misses the target. A 99.9 percent SLO over 28 days allows 0.1 percent of requests to fail. Some teams agree an error budget policy in advance, so that when the budget runs low the response is a rule that everybody accepted earlier, and not a personal veto. Google's published example policy is a good template. In it, if the service has exhausted its budget for the preceding four weeks, all changes and releases stop except for P0 issues and security fixes, until the service is back within its SLO. If one incident consumes more than 20 percent of the budget over four weeks, a postmortem is required, and it must include at least one top-priority action item for the root cause. Disagreements about the calculation or the actions are escalated to a named senior person who decides.
That policy is an example from one company, not a standard. What matters is the pattern: a shared number, a rule agreed before the pressure, and a named person who settles disputes. If your team has no policy, the script below still helps you to make the argument.
The calculator
The script reads a made-up month for an ordering service: the SLO, the window, the request count and three incidents, each with its number of failed requests. It also reads a planned change with its worst-case cost. It calculates the budget, the share each incident used, what remains, and whether the planned change fits.
import { readFileSync } from 'node:fs' const b = JSON.parse(readFileSync(process.argv[2], 'utf8')) const fmt = (x: number) => x.toLocaleString('en-US') const pct = (x: number) => `${(x * 100).toFixed(0)}%` const budget = Math.round(b.requests * (1 - b.slo / 100)) console.log(`SLO ${b.slo}% over ${b.windowDays} days, ` + `${fmt(b.requests)} requests`) console.log(`Error budget: ${fmt(budget)} bad requests\n`) let spent = 0 for (const i of b.incidents) { spent += i.bad const flag = i.bad / budget > 0.2 ? ' > 20%: postmortem' : '' console.log(`${pct(i.bad / budget).padStart(4)} ${i.name}${flag}`) } const left = budget - spent console.log(`\nSpent ${fmt(spent)} (${pct(spent / budget)}), ` + `left ${fmt(left)} (${pct(left / budget)})`) const p = b.planned const worst = left - p.worstCaseBad console.log(`\nPlanned: ${p.name}`) console.log(`Worst case costs ${fmt(p.worstCaseBad)} ` + `(${pct(p.worstCaseBad / budget)} of the budget)`) console.log(worst < 0 ? `Worst case overspends by ${fmt(-worst)}: ask to delay or shrink it` : `Worst case leaves ${fmt(worst)}: inside the budget`)
budget.mts
SLO 99.9% over 28 days, 62,400,000 requests Error budget: 62,400 bad requests 50% release 87, orders not reaching restaurants > 20%: postmortem 20% payment gateway timeouts 15% slow search after index rebuild Spent 53,040 (85%), left 9,360 (15%) Planned: move orders to the new database Worst case costs 18,720 (30% of the budget) Worst case overspends by 9,360: ask to delay or shrink it
Output of node budget.mts budget.json.
The budget is 62,400 failed requests. The release incident from the earlier story used half of it, which crosses the 20 percent line and requires a postmortem under the example policy. The other two used 20 percent and 15 percent. The payment incident is exactly 20 percent, and the rule says more than 20, so it does not trigger. In total 85 percent is spent and 15 percent, or 9,360 requests, is left. The planned database move could cost 18,720 in its worst case, so the worst case would overspend by 9,360 and the script says to ask to delay or shrink the change.
Be clear about what the output is. The budget and the incident figures come from measurements. The worst-case cost of the planned change is an estimate, and the proposal must say so and say how it was made. If you can reduce the risk instead, for example with a smaller first step or a canary, offer that as an option, because a plain "no" is easier to overrule than a "not that way, but this way".
The proposal and the conversation
Put the case in writing on one page. A short document slows the conversation down just enough, gives people the numbers to read before the meeting, and records the decision. The template has a fixed set of fields: the change, the ask, why now, the evidence, the options with their costs, who decides and by when, and a date to check again.
Change: move orders to the new database Ask: delay the start by one week Why now: 85% of the 28-day error budget is spent Evidence: worst case costs 30%; 15% is left Options: (a) go now (b) delay a week (c) smaller first step Cost of b: the new search ships a week later Cost of a: a bad hour could breach the SLO Decision by: Thursday; owner: product owner Check on: next Friday, with the new budget figure
A one-page proposal, shortened to its headings. A template, not output.
The scene shows the conversation. The engineer brings the figure to the manager, then makes the case to the product owner, who has a business reason for the date and asks what going ahead costs. The engineer answers with the worst case from the calculator. The on-call lead adds the cost that is easy to forget, which is who gets paged if it goes wrong. The manager decides, and the decision includes a date when the question returns.
Watch for the numbers carrying the argument, and the decision being accepted
Read it as steps
A model of the conversation in this lesson, using the budget figures from the script.
Disagree and commit
Sometimes the decision goes the other way: the product owner decides to go ahead now. A good engineer does not sulk and does not sabotage. Amazon's Leadership Principle "Have Backbone; Disagree and Commit" puts both halves in one sentence: leaders are obliged to challenge decisions respectfully when they disagree, and once a decision is made, they commit fully. The principle assumes the challenge was heard and the decision was made by the person entitled to make it.
Disagreeing well follows a pattern. State the shared goal first: both of you want the launch and a working service. Give your evidence and the option you prefer. Ask what would change your mind. When the decision is made, say it back in your own words so that everyone knows it was understood, and then help it succeed: prepare the rollback, brief the on-call lead, and agree what would make you stop. Write the risk and the date of the next review into the record, so that the decision can be judged fairly later.
A story like this one shows two things at once: you can hold a position with data, and you can accept a decision without resentment. End it with what happened. If the release went fine, say so, and say what you learned about your own estimate. If it went badly, say what you did and what the team changed. Either ending is better than a story where you were right and everyone else was wrong.
What does an error budget policy add to the argument "this release is risky"?
- A number and a rule agreed in advance. The decision to slow down follows from the budget, not from one person's opinion.
The payment incident used exactly 20 percent of the budget. Does it trigger the postmortem rule, which says "more than 20 percent"?
- No. The rule needs a share above 20 percent, and exactly 20 percent is not above it. The release incident at 50 percent does.
What are the two halves of "disagree and commit"?
- Challenge the decision respectfully, with evidence, before it is made. Once it is made by the person who owns it, support it fully and keep your risk notes and review date.
All chapters · Previous: Running AI Workloads: Serving, Delivery and Guardrails