Meet Devika, and the loop
Devika has five years as a backend engineer, the last three at Parcelo, a parcel-delivery company where she built and now owns the dispatch allocation service. It decides which van takes which parcel, for about 40,000 parcels a day across 30 depots. She is preparing for a loop at Kestrel, a company she has researched for a senior backend role. Devika, Parcelo and Kestrel are invented to teach with. Every chapter in this track follows the same engineer through the same loop, so each round can be shown on the same material instead of a fresh example each time.
The loop has six parts, and this track takes them in the order a candidate usually prepares them, not the order they happen: two behavioural rounds (this chapter and the next), a coding screen built on graphs and dynamic programming (chapters 3 and 4, with two more chapters of dynamic programming at the end, 9 and 10), a machine-coding round (chapters 5 and 6), a deep-dive on a project she owns (chapter 7), and the three questions that come up in nearly every hiring-manager conversation, why she is leaving, why this company and how she works with AI tools (chapter 8).
This track teaches a process. It does not promise an outcome. A loop is scored by people, with rubrics that differ by company, and the only thing a candidate controls is the quality of what they bring into the room. The process here is about making that as good as the underlying experience allows, which for an engineer with three or more years is usually much better than their first attempt at telling it.
Here is Devika's first attempt, in a practice session with a colleague who asked "tell me about a time a project did not go as planned":
"So, the allocation rewrite. It took longer than we thought, there were a lot of moving parts, and we had to roll part of it back once. But we got there in the end and it's in production now."
Twenty-one seconds. No decision in it anywhere. No cost named. Nothing a listener could score. The colleague wrote down "vague", and Devika's reaction was that the technical rounds are where the real evaluation happens anyway. That reaction is the mistake this chapter is about.
What a behavioural round scores at senior level
The instinct that sinks experienced candidates is treating a behavioural question as a test of whether something bad happened. It is not. Nobody who has run a team is surprised that a rollout was pulled back or a deadline moved. Those are the two most common events in software, and an interviewer who penalised them would reject everyone who has done the job. What is scored is what you did in response: whether you noticed, what you decided, what it cost, and what changed afterwards.
At senior level the bar moves in one specific way. A junior candidate is scored on whether they handled their own work well. A senior candidate is scored on whether their decisions were made with the right people, with the trade-offs said out loud, and with a visible effect on how the team works afterwards. The same event, a rollback, is a good story for both. The senior version has to show the decision to roll back, who was told, and what the team does differently now.
Two things make a senior behavioural round different from one earlier in a career, and both are worth knowing before the first story is written. The listener is usually a manager or a senior engineer, not a recruiter, and they have run rollbacks of their own, so a vague story reads as evasive rather than inexperienced. And the follow-up questions go one level deeper: not "what did you do" but "who disagreed, and what did you do about that". A story that has not been thought through to that second level runs out of material exactly when the listener leans in.
Nearly every behavioural question is a proxy for one of a few underlying dimensions:
| What is asked | What a strong answer shows |
|---|---|
| A conflict or disagreement | You can handle friction without avoiding it or escalating it |
| A failure or mistake | You take real ownership before reaching for an external cause |
| Influencing without authority | You can get things done through people who do not report to you |
| A difficult teammate | You extend good faith instead of writing people off |
| Disagreeing with your manager | You can push back on a decision without going silent or going around them |
All five reduce to one question: what is this person like to work with when something is not going smoothly, since that is most of the job. Devika's twenty-one seconds did not hurt her because a project ran late. It hurt because it gave the listener nothing on any of those rows. A confidently vague answer and a confidently dishonest one score the same, for the same reason: there is nothing real to evaluate.
STAR, built out on the allocation rollout
STAR, for Situation, Task, Action, Result, is usually taught as four letters and left there. That is like being told a function has a name, parameters, a body and a return value, and never being shown one. Here is each piece doing its job, built on Devika's rollout story, starting from her first attempt.
Situation sets the stage in the fewest sentences a stranger needs. Specific enough to feel like a real place, short enough to leave the time for Action.
Weak: "The allocation rewrite took longer than we thought."
Strong: "At Parcelo I own dispatch allocation, the service that assigns parcels to vans each morning for 30 depots. Last year I led a rewrite from a nightly batch to a continuous allocator, so a parcel scanned at 9 a.m. could be on a van by 9:10 instead of the next day. It was the headline change for the peak season, and the ops director had already told the three largest depots the date."
Three sentences, and they already do more than the whole first attempt: a named service, a named change, and a reason the date mattered beyond "we said we would". A listener who has heard forty versions of "tight deadline" that month cannot score most of them, because none said what was riding on it.
Task is one sentence, easy to skip and worth keeping short: what, specifically, were you responsible for. Not the team. You.
"My task was to design the continuous allocator and lead its rollout across the depots without a day of wrong assignments."
Action is the part every candidate rushes, and it decides the score. The next section is about why. The compressed version:
"Two weeks before the date, the first depot on the new allocator showed a 4% rate of parcels assigned to vans that had already left. The cause was a race between the scan event and the van's departure event, which the batch system never had because it ran at night. I had two options and put both to my manager and the ops lead the same afternoon: roll that depot back to batch and fix the race properly, which meant missing the date for the big three, or patch it with a short departure buffer and keep the date. I recommended the rollback, because a parcel on the wrong van is a customer complaint and a re-delivery cost, and the buffer only shrank the window. I wrote the one-page estimate for the proper fix, nine days, and named the three depots it would delay."
Result closes with what happened, including the part that does not flatter the story. The slip is in it, not edited out.
"We rolled that depot back the same day and shipped the fix eleven days later, two days over my estimate. The big three went live a week after that. The ops director was told the morning we rolled back, with the reason, and the only pushback was on the estimate, not the decision. The departure race became a standard check on the allocator's design review template, and it has caught one similar case since, in a different service."
Read the four pieces together and the difference from the twenty-one seconds is not tone. It is information density. Every sentence carries something a listener can weigh: a real stake, a specific technical cause, a decision with two named options and a stated reason, a cost admitted plainly, and a lasting change. The first attempt had none of those five.
The action section is the score
Count the sentences in each part of the story above. Action is the longest, five sentences against four for the Result, three for the Situation and one for the Task, and it should be in nearly every well-built answer, because Action is the only part that is about you. Situation is about the company and the project. Task is one line of scope. Result is largely about things that were not fully under your control: a director's reaction, a customer's complaint, the calendar. Action is where the listener gets direct evidence of how you think and what you did, which is why the question was asked.
Candidates compress it by instinct, the way Devika's first attempt did. "It took longer than we thought" jumps from problem to outcome and leaves out every decision in between, which is exactly the part a listener cannot infer and cannot score.
The fix is a habit, not a formula. For any story in your bank, write down the two or three real decision points. For each one, name the options that were on the table, which one you picked, and why. "I raised it with my manager and we decided to roll back" compresses a whole trade-off into a passive "we decided". The strong version names the two options and says which one Devika personally recommended and on what grounds.
Be precise with the pronouns. "We decided" is honest when a decision was made jointly, and most real decisions on a team are. It still has to come with what you specifically brought: the option you raised, the risk you named, the estimate you wrote. A listener is not looking for a candidate who claims sole credit for a team outcome. They are looking for your contribution inside a real, shared decision, which is more believable than either "I fixed everything" or "we somehow arrived at a good outcome".
At senior level, add one more line to each decision point: who you told, and when. The rollback story says the ops director was told the morning it happened. That line is the difference between an engineer who makes a good call and an engineer a company can trust to make good calls when nobody is watching.
Results without an invented number
Once "be specific" has landed, the next instinct is to reach for a metric. "This cut re-delivery costs by 30%" sounds more rigorous than "this went well", and it is tempting to reach for a plausible number even when nobody measured one. Resist that. A made-up figure is one of the easiest things for an experienced listener to probe: "how was that measured, and against what baseline?" A candidate caught improvising an answer to that follow-up loses far more than the number gained.
What is nearly always available without inventing anything: a concrete before-and-after state, a specific person's reaction, or a consequence that was observed rather than estimated. The rollout story claims no percentage. It says the depot was rolled back the same day, the fix shipped eleven days later against a nine-day estimate, the director was told the morning of the rollback, and the race check is now on the review template. Every one of those is a fact Devika can stand behind under a follow-up, because she watched each one happen.
Where a real number exists, a measured error rate, a latency, a count from a report, use it. The 4% wrong-van rate in the story is a number from the allocator's own dashboard, and that is what makes it strong: it is checkable, and it is specific in exactly the way "a worrying number of wrong assignments" is not. The line is not "avoid numbers". It is "never state a number you cannot say where it came from".
One more thing an experienced candidate can do that a junior one usually cannot: say what the result cost, in the same breath as what it gained. Two days over the estimate. Four days' delay for the three largest depots. Naming the cost is not a confession. It tells the listener you track your own estimates, which is a senior skill in itself.
A note on what to leave out. Devika's story does not explain how the allocator works, what a race condition is, or why the batch system never had one. The listener either knows or will ask. Technical detail belongs in the deep-dive round, chapter 7, where it is the whole point. In a behavioural round it is the thing that eats the Action.
Here is the exercise for this chapter, and it is not optional. Take one project you own and write its STAR in the shape above: three sentences of Situation with the stake named, one sentence of Task that says "I", an Action with at least two decision points each naming its options and who was told, and a Result with one real number you can source and one cost you admit. Then read it out loud and time it. Under ninety seconds and you have probably compressed the Action again. Over four minutes and the Situation has eaten the budget. The next chapter adds the stories you would rather not tell, and the bank that lets a handful of them answer most of what gets asked.