The senior engineer's craft · L2Behavioural interviews and STAR stories

Behavioural interviews and STAR stories

Build a bank of true stories, tell each one in about two to three minutes with STAR, and make the "I", the trade-offs and the result easy to hear.

L2 SeniorThe senior engineer's craft17 min read
Fact-checked by AI against cited sources · Human review pendingLast reviewed 8 Nov 2026 · How we check content
Section 1 of 8

What broke

A made-up story to show a common failure. Not about a real company.

This story is made up, but each mistake in it is common. Kiran is a backend engineer with three years of experience. He passed the coding rounds of a big-tech loop. Then he met the behavioural interviewer.

"Tell me about a time you failed," she said. Kiran answered, "I sometimes care too much about code quality, so I work late." She waited. He had nothing else.

"Tell me about a conflict with a teammate." Kiran talked for eight minutes. Most of it was about the system. He said "we" twenty times. When she asked, "What did you do yourself?", he could not say.

For the third question, he told the same story again. He never gave a result. He never said what he learned.

The feedback said "not enough signal". Kiran had done good work in his job. He just had not prepared to show it.

Section 2 of 8

The idea in simple words

A behavioural question asks what you really did in the past. "Tell me about a time…" is the usual opening. The interviewer is not looking for a right answer. They want evidence of how you behave.

Google's re:Work guide explains the logic. Behavioural questions "are good at revealing patterns of behavior". Hypothetical questions show how you might handle something new. 3

At Google, these questions are part of a structured interview. Every candidate gets planned questions and is scored on the same scale. 3 Google's hiring page says it uses "the same rubrics for everyone" for a role. 5

Google's guide says academic research has backed this for about 20 years. In Google's own data, structured interviews predicted job performance better than unstructured ones. 3 Google says it stopped asking brainteasers because they did not predict job success. 5 Amazon says it avoids them for the same reason. 1

The key idea. The interviewer can only score what you say clearly. Prepare true stories in advance, tell each one with a clear structure, and make your own actions, choices and results easy to hear.

Section 3 of 8

How it works

The big-tech loop lesson covered where this round fits. Here we go inside one answer. Step through it with Next and Back, or the ← and → keys. The time split is our advice, not a company rule.

One STAR story in two to three minutes: where the time goes≈ 150 seconds, one story SS · Situation · ~20 steam · system · why it mattered TT · Task · ~15 syour goal · your part in it A · the longest partA · Action · ~90 swhat I did · the options · why this one R✓ R · Result · ~25 sa number · what I learned Then the follow-ups"What did you do yourself?""What would you change now?" SeniorPath
  1. Start with just enough context: the team, the system and why the problem mattered. About 20 seconds. Weak stories often spend far too long here.
  2. Say what your goal was and what your part was. About 15 seconds. The listener now knows what to judge you on.
  3. Spend most of the time on your actions. Say what you did, which options you saw, and why you chose one. Use “I” for your own work.
  4. End with the result. Give a number if you have one, then one thing you learned. Without this part, the interviewer has no outcome to write down.
  5. Stop and let the interviewer ask. Follow-up questions are where they check the details. A true story holds up here; a vague one does not.
Step 1 of 5

STAR, as the companies write it

Amazon's guide lists the four parts of the STAR method: Situation, Task, Action and Result. It says to focus on "your individual contributions" and to use "I" instead of "we". It wants numbers in the result if you have them. 1

Google writes the same idea with one small change. Its A is "Activity": the steps you took and your role. 4 The meaning is the same.

Amazon also says STAR is "not the only way" to tell a story. 1 The Tech Interview Handbook suggests an extra R, for Reflection: what you learned. It says this can "show seniority". 6

Build a story bank

Do not prepare one answer per question. Prepare stories, then map each story to the themes it can answer. This is a story bank.

Our advice is 8–10 stories, as in the loop lesson's plan. Cover these common themes:

  • Conflict: you disagreed with someone and worked it out.
  • Failure: a real mistake, with its cost.
  • Ambiguity: an unclear problem you turned into a plan.
  • Influence: you changed a decision you did not own.
  • Ownership: you fixed something that was not strictly your job.
  • Mentoring: you helped someone else grow.
  • A hard technical call: you chose between two options with real costs.

One project can feed several themes. The Tech Interview Handbook suggests starting from 3–5 big projects with high impact, high complexity and high involvement by you. 6 Google calls this "a broad library of examples". 4 Amazon asks for range too: risks, successes, failures and growth. 1

Write each story as five bullet points, not a script. Amazon says it does not expect "rehearsed scripts". 1

Leadership principles: Amazon as the public example

Amazon publishes the behaviours it hires for. As of November 2026, its page lists 16 Leadership Principles. 2 Its interview page says "All candidates are evaluated through the lens of these principles". 1

Some principles map directly to themes. "Have Backbone; Disagree and Commit" asks leaders to "respectfully challenge decisions when they disagree". That is your conflict story. "Ownership" says leaders "never say 'that's not my job.'" 2 The Tech Interview Handbook says most top tech companies judge candidates against their own values. 6 Read your target company's list before you pick which stories to tell.

How stories change with level

Google's guide advises judging leadership "with different expectations based on the level of the role". 3 The handbook says people skills matter more as an engineer becomes more senior. 6 In our experience, four things change:

  • Scope. A mid-level story is often about one feature. A senior story is about a system, a team or several teams.
  • "I" and "we". Say "we" for the team's result. Say "I" for your part. At senior level, "I" often means "I aligned three teams", not "I wrote the code".
  • Numbers. "Latency went from 900 ms to 200 ms" beats "it got faster".
  • Trade-offs. Name the option you did not take, and why. Seniors are judged on choices, not only on effort.

One story, weak and strong

This example is made up. The question is "Tell me about a hard technical call."

Weak version: "We had a refund bug. It was a big problem. We worked hard and fixed it. The launch went well."

There is no "I", no choice, and no number. The interviewer has nothing to score.

Strong version:

  • S: "I was on the payments team. We planned to launch a new refund API in two weeks."
  • T: "I owned the retry logic for the API."
  • A: "In a load test, I found 3 duplicate refunds in 2,000 runs. The cause was a client retry after a timeout. I saw two options: launch on time and clean up by hand, or delay one week to add idempotency keys. I wrote a one-page note with the cost of each. I asked to delay and launch to 5% of users first."
  • R: "The product manager agreed. We had zero duplicate refunds in the first month. I learned to raise this kind of risk at design review, not after it."

Said out loud, this takes under a minute. In a real interview, add more detail to the Action, for about two to three minutes in all. Each line answers a probe before it is asked.

Follow-up probes

Expect follow-ups. Google says so on its tips page. 4 Its re:Work guide shows a behavioural question with three planned follow-ups. 3 Amazon suggests you pause and ask if the interviewer wants more context. 1

Common probes are "Why that option?", "What would you do differently?" and "What did your manager think?" Answer them directly. If you do not remember, say so.

Common mistakes

  • No result. The story stops at the action.
  • Blaming others. Others may have made mistakes, but your story is about what you did.
  • A false failure. "I work too hard" is a boast. Amazon says what matters is "what you learned and how you grew". 1
  • Too long. Google advises "concise narratives". 4 Our advice is about two to three minutes per story.
  • Made-up stories. Never invent one. Follow-ups test the details, and invented details break. Amazon asks for "real examples from your past". 1
Section 4 of 8

Trade-offs

ApproachWorks under follow-up?CostUse it when
Improvise on the dayNo Stories run long and lose the result.None up front.Never for a loop you care about.
Memorise word-for-word scriptsPartly. You sound rehearsed and stall on new probes.Many hours.Never. Learn bullets instead.
Story bank of 8–10 bullet-point storiesYes A few evenings of recall and writing.Almost always.
Map stories to the company's principlesYes Reading the company's list and choosing well.When the company publishes one, as Amazon does.

Simple rule: prepare true stories, not answers. Map them to themes, and practise telling each in about two to three minutes.

Section 5 of 8

At work: how a senior uses this

  • Keep a work log. Each Friday, write one line on a decision, a number or a conflict. Your next story bank writes itself.
  • After an incident, note your own part and the result. The incident review gives you the facts.
  • Save the doc links. A design doc shows the options you weighed.
  • When you interview others, ask for one specific time, then probe: "What did you do?" and "What happened next?"
  • Score against the rubric, not your first impression. The re:Work guide warns about confirmation bias in interviews. 3
  • When you mentor someone who is job hunting, help them find their stories. See mentoring and sponsorship.
Section 6 of 8

With AI

AI is a good practice partner. It must never write a story you did not live.

What to ask the agent

"Act as a behavioural interviewer for a senior backend role. Ask me one question. After my answer, ask two follow-up questions that test my own part. Then tell me which STAR part was weakest."

"Here is my story as five bullets. Mark every 'we' where my own action is unclear. Tell me where a number is missing. Do not add any facts."

"Here are my eight stories. Make a table of which themes each one covers: conflict, failure, ambiguity, influence, ownership, mentoring, technical call. Show the gaps."

What to check yourself

  • Every fact in the story is true. Remove anything the agent added.
  • You can answer three follow-ups on each story without notes.
  • Each story takes two to three minutes when you say it out loud with a timer.
  • The failure story has a real cost and a real change.
  • Claims about how a company hires match its current careers page.
Section 7 of 8

Check yourself

1. Why do companies like Amazon and Google ask so many "Tell me about a time…" questions?

Show answer

Behavioural questions show patterns in what you really did, and structured interviews with them predict job performance better than unstructured ones. Google's re:Work guide says behavioural questions reveal patterns of behaviour, and that structured interviews were more predictive of job performance in its own data.

2. In a STAR story, which part should usually take the most time?

Show answer

Action, because it shows what you did and why. The interviewer is judging your behaviour. The time split is our advice; Amazon asks you to focus on your individual contributions in the Action part.

3. An interviewer asks, "What did you do yourself?" right after your story. What does that most likely mean?

Show answer

Your story used "we" so much that your own part was not clear. Interviewers can only score what you did. Amazon's guide suggests using "I" instead of "we" for this reason.

4. You are asked about a failure. Which answer is strongest?

Show answer

A real mistake you made, what it cost, what you changed, and how you know the change worked. The first is a boast dressed as a failure, and the second blames others. Amazon says what matters in a failure is what you learned and how you grew.

Your progress is saved only in this browser. Export it to keep it safe.

Was this clear?
Report a mistake (opens GitHub in a new tab)
Section 8 of 8

Go deeper

Show 6 sources and related lessons
  1. Amazon Jobs, “Interview loop” (opens in a new tab)
    Amazon's sample behavioural questions, its STAR guide and its tips for great answers. Open the sections on the page to read them.
  2. Amazon Jobs, “Leadership Principles” (opens in a new tab)
    The full list of Amazon's Leadership Principles, each with a short description.
  3. Google re:Work, “A guide to structured interviewing for better hiring practices” (updated March 2026) (opens in a new tab)
    Why Google uses structured interviews, behavioural versus hypothetical questions, rubrics, and Google's own results.
  4. Google Careers, “Interviewing at Google: Best practices, advice, and tips” (opens in a new tab)
    Google's version of STAR, its advice to prepare a broad library of examples, and what it looks for on ambiguity.
  5. Google Careers, “Our hiring process” (opens in a new tab)
    Google's short description of structured interviewing with the same rubrics for everyone, and why it dropped brainteasers.
  6. Tech Interview Handbook, “Behavioral interviews for Software Engineers: How to prepare” (Yangshun, with Austen McDonald) (opens in a new tab)
    A free third-party guide on STAR, an extra R for Reflection, and how to pick the projects your stories come from.

Related: Big-tech interview loops · What "senior" really means · Mentoring and sponsorship · Reviewing code written by humans and AI · Design docs and RFCs · Incident response and postmortems · Negotiation and compensation

Before this: big-tech interview loops and what senior really means. For better stories at work: reviewing human and AI code and idempotency, retries and timeouts. Next: negotiation.

Term

See full entry

Jump to a section

  1. 1What broke
  2. 2The idea in simple words
  3. 3How it works
  4. 4Trade-offs
  5. 5At work
  6. 6With AI
  7. 7Check yourself
  8. 8Go deeper