Get Hired · Interviews

Behavioural interviews

How to answer "tell me about a time" questions with STAR, build a story bank that covers most questions, handle follow-ups and prepare for leadership-principle interviews.

Behavioural questions ask about what you did in the past, because that's the best predictor of what you'll do next. "Tell me about a time you disagreed with a teammate." "Describe a project that failed." They come up in almost every tech loop, often in their own round, and they decide more offers than candidates think, especially for senior roles where collaboration and judgement matter as much as code.

The good news: these are the most preparable questions you'll face. With eight to ten well-chosen stories you can answer nearly anything.

The STAR structure

STAR keeps your answer focused and easy to follow:

Part What to say How long
Situation The context: team, project, what was going on One or two sentences
Task Your responsibility or the problem you had to solve One sentence
Action What you did, step by step, and why Most of the answer
Result What happened, ideally with numbers, and what you learned Two or three sentences

Aim for about two minutes. The most common mistake is spending a minute on the situation and rushing the action, which is the part being assessed.

An example

Question: "Tell me about a time you had to deal with a production incident."

Situation: I was on call for our payments API when error rates jumped to 15% on
a Friday evening, right after a release.

Task: As the on-call engineer, I had to restore service and work out the cause.

Action: I checked the dashboards and saw errors only on calls to our fraud
provider, so I rolled back the release first rather than debugging live. That
brought errors back under 0.5% within ten minutes. I then posted a status update
for support, and the next morning I traced the cause: a new client library had
shortened the default timeout from 10 to 2 seconds. I wrote the post-incident
review, added the timeout to our configuration explicitly, and added an alert on
provider latency.

Result: The outage lasted 14 minutes and no payments were lost. The alert caught
a slow-provider incident two months later before customers noticed, and rolling
back first became part of our on-call runbook.

Notice: "I", not "we", for the actions; specific numbers; a clear decision with a reason; a lasting improvement.

Build a story bank

Instead of preparing answers to 100 questions, prepare 8–10 stories and map each one to the themes it can answer. Most questions are variations of these themes:

Theme Example questions
Ownership A time you went beyond your role; something you fixed nobody asked you to
Conflict Disagreeing with a teammate, manager or another team
Failure A project that failed; a mistake you made; feedback that surprised you
Ambiguity Working without clear requirements; making a call with incomplete data
Impact Your proudest project; a time you improved something measurably
Collaboration Working across teams; helping a struggling colleague
Pressure Tight deadlines; incidents; competing priorities
Learning Picking up a new technology fast; learning from a mistake
Influence Persuading others without authority; changing a team's approach
Leadership Mentoring; leading a project; making an unpopular decision (senior roles)

A strong story usually covers two or three themes. The incident example above answers ownership, pressure and learning questions.

Write each story down in STAR form, with the numbers, then practise telling it out loud from bullet points rather than reciting it. Recited answers sound rehearsed; bullet points keep you natural.

Choosing good stories

  • Recent: from the last two or three years if possible.
  • Your contribution is clear: you made a decision or did the hard part.
  • Real stakes: something mattered: users, money, deadlines, the team.
  • Honest failures: for failure questions, pick a real mistake with a real lesson, not "I work too hard".
  • Varied: not all from the same project or the same type of problem.

Follow-up questions

Good interviewers dig. Expect:

  • "What would you do differently?"
  • "What did your manager or teammate think?"
  • "Why did you choose that over the alternatives?"
  • "What was the hardest part?"
  • "How did you measure the result?"

Follow-ups check that the story is real and that you reflect on your work. Prepare one honest improvement for every story, and know the numbers behind your results.

Leadership-principle interviews

Some companies, Amazon being the best-known, publish a list of principles and build every behavioural question around them ("Tell me about a time you disagreed and committed"). If the company publishes its values or principles:

  1. Read them on the company's own careers or about pages.
  2. Map your story bank to each principle; most stories fit two or three.
  3. Expect several follow-ups per story and very specific questions about your own actions and data.

Even when a company doesn't publish principles, its job advert and engineering blog usually show what it values. Use the same words naturally where they're true for you.

Common mistakes

  • "We" instead of "I". The team matters, but the interviewer needs to know what you did.
  • No result. Always close the story, even if the result was a lesson rather than a success.
  • Blaming others. In conflict and failure stories, show what you did and learned, not who was at fault.
  • Too long. Over three minutes, the interviewer stops listening. Let them ask for detail.
  • Hypotheticals. "I would…" doesn't answer "tell me about a time". If you have no exact example, say so and give the closest real one.

Practise

General guidance, not legal or immigration advice. Laws and rules change: check the official sources linked in each country note.

Was this page helpful?

Report a mistake