Interview questions

Software Engineer Behavioral Interview Questions: 6 Stories

June 24, 2025Updated November 12, 202613 min read
Top 30 Most Common Software Engineer Behavioral Interview Questions You Should Prepare For

Software engineer behavioral interview questions fall into eight families. Learn what interviewers listen for and build six stories that cover them all.

Software engineer behavioral interview questions tend to fall into eight families, which is how we group the questions employers publish: a technical disagreement, an incident you owned, ambiguous requirements, a project that failed, a deadline trade-off, mentoring, learning something fast, and the best thing you have built. A strong answer from an engineer names one specific technical decision, makes clear which part of it was yours, gives a result you measured, and ends with what you would do differently. Six well-chosen stories, each able to answer two or three of those families, are enough to cover a full loop without sounding rehearsed.

The behavioral or hiring-manager round is one stage of a longer loop, and our guide to the whole software engineer interview process shows where it sits next to the coding and system design rounds. If you want the general picture for any job, including how the STAR method works, start with our guide to behavioral interview questions and the STAR method.

What employers say they listen for in an engineer's answer

Amazon's SDE II prep page says a significant portion of each conversation focuses on how you have demonstrated its Leadership Principles, that each interviewer typically asks two or three behavioral questions, and that your answers "should include metrics or data where applicable." Google's interview tips page says many of its questions sound like "Tell me about a time when…" or "How would you approach this situation…?", that its behavioral questions are meant to draw out specific examples rather than "I always do X", and it suggests framing achievements as "Accomplished [X], as measured by [Y], by doing [Z]."

Meta's software engineering prep article, last updated in October 2022, describes a 45-minute behavioral interview, tells candidates to avoid theoretical answers, and says that being transparent about setbacks "won't be counted against you in the interview." Microsoft recommends a STAR(R) model, which adds Reflection to Situation, Task, Action and Result. GitLab's handbook gives interviewers a checklist that includes whether a technical story is explained so a non-technical interviewer can follow it, whether the story has a result or was left unfinished, and whether that result was measured.

Read side by side, these pages ask an engineer for four things, and an answer that leaves out any one of them gives the interviewer less to score.

  • A specific technical decision, such as adding an index, rolling back a release or choosing a queue over a cron job, stated in one sentence that a non-engineer could follow.
  • Your own role, because the interviewer is assessing you rather than your team, so say what you proposed, what you built and what you left to others.
  • A measured result, such as latency, error rate, pages per week, a release date or review turnaround, with the number before and after.
  • What you would change next time, which is Microsoft's Reflection step and the point of Meta's question "What could you have done better?"

The common trap for engineers is spending most of the answer on the architecture, so give the system in two sentences and spend the rest on the choice you made and what followed.

The eight families of software engineer behavioral interview questions

Technical disagreement and code review

Meta's version is "Tell me about a time when you advocated for and pushed your own ideas forward despite opposition." The interviewer is testing whether you challenge decisions with evidence and then commit, which is Amazon's Have Backbone; Disagree and Commit principle. Google's code review guide states that "Technical facts and data overrule opinions and personal preferences," so the strongest engineering stories show the profile, benchmark or incident history you brought, not only your conviction.

Owning an incident or a production bug

"Tell me about a time something you shipped broke in production" tests Amazon's Ownership and Dive Deep principles. Walk through detection, mitigation, root cause and the change that stops it happening again. Keep the telling blameless in the sense of the Google SRE book, which describes a postmortem that focuses on contributing causes "without indicting any individual or team," and if the bug was yours, say so plainly.

Ambiguous or changing requirements

Google's tips page asks how you deal with ambiguous situations and how you make decisions "when you have no visibility of the total picture." An engineer's answer should show the questions you asked, the assumption you wrote down, and how you built so you could change course cheaply, for example behind a feature flag or with a thin first version.

A failure or a mistake

Meta lists "What could you have done better?" among its sample questions, and it says honesty about setbacks will not count against you. Pick a failure with real stakes, such as a missed launch or a migration you had to roll back, and give real time to what you changed afterwards rather than to the failure itself.

Delivering under a deadline

"Tell me about a time you had to cut scope to ship on time" maps to Amazon's Deliver Results. Name what you cut and the technical debt you accepted. Google's code review guide warns that letting people "clean things up later" is a common way for codebases to degenerate, so say whether the cleanup actually happened.

Mentoring and raising the bar

"Tell me about someone you helped grow" connects to Amazon's Hire and Develop the Best and to GitLab's senior engineer role, which includes mentoring junior and intermediate engineers. Code review as teaching, onboarding documents and pairing all count, and the result to report is what the other person could do alone afterwards.

Learning something new quickly

"Tell me about a time you had to learn a new technology fast" fits Amazon's Learn and Be Curious principle and the growth-mindset value Microsoft describes as true learners who can acquire new skills rapidly. Explain how you learned, whether from the official docs, the source code or a small prototype, and how quickly it turned into production work.

The best thing you have built

Meta asks "What are some of the best things you've built?" and "What are you most proud of?" Choose a project you can explain three levels down, including the parts that did not work, because the follow-ups will go there.

Build a six-story bank that covers every family

List every project, incident and conflict from your last few years of work, then pick the six that cover the most families, aiming for two stories per family so a second interviewer never hears the same one.

A set that usually covers all eight families looks like this.

  • A design or code review disagreement, which answers technical conflict and ambiguity, and mentoring if you brought a junior engineer along.
  • An incident you owned from the first alert to the postmortem, which answers ownership and failure.
  • A deadline trade-off where you cut scope or accepted debt, which answers delivery and disagreement with a product manager.
  • A vague project you shaped into a plan, which answers ambiguity, learning and the best thing you have built.
  • Someone you helped grow, which answers mentoring and, through review feedback, disagreement.
  • A failure with real stakes, which answers failure, learning and often ownership.

For each story, write five short lines before you practise: the context in one sentence a non-engineer could follow, the decision and your part in it, the number before and after, what you would change, and the families it answers. If you cannot fill in the number, find it now in dashboards, tickets or release notes, because a vague result is the easiest thing for an interviewer to push on.

The same bank works outside Big Tech. If your loop has an HR round at an IT services firm, or a recorded screen on an AI interviewing platform instead of a hiring-manager conversation, use the same stories in a shorter form: one sentence of context, the decision, and the result.

Illustrative example: a technical disagreement, weak then strong

The question is "Tell me about a time you disagreed with a teammate about a technical decision." Both answers below are illustrative, written for this page, and the numbers in them are invented to show the shape of a good answer.

The weak version sounds like this:

"On my last team we had a lot of performance problems, and there was a debate about whether to add caching. I felt strongly that caching wasn't the right approach because it adds complexity. We discussed it a lot as a team and eventually went with my approach, and performance got much better. I think it shows I'm not afraid to speak up."

It names no specific decision, the word "we" hides what the speaker actually did, "much better" is not measured, there is no reflection, and the ending frames the story as winning an argument rather than reaching a good outcome.

The strong version:

"Our order-history endpoint had a p95 latency of about 1.8 seconds, and a senior teammate proposed putting a Redis cache in front of it. I disagreed, because I had profiled the endpoint the week before and found it made one database query per order line, the classic N+1 problem, so a cache would hide the cost and add an invalidation problem every time an order changed. I didn't want it to become my opinion against his, so I shared the profile and proposed a two-day test: I would rewrite the lookup as a single batched query, and if p95 wasn't under 500 milliseconds we would add the cache. After the change p95 was about 400 milliseconds, so we agreed the cache wasn't needed yet, and he reviewed the pull request and suggested an index that helped further. What I'd change is the timing, because I first raised the objection in a long comment thread, which made it feel personal, and now I bring data to the design review before anyone has committed to an approach."

This version passes all four tests: the decision is specific and plainly explained, the speaker's role is clear while the teammate still gets credit, the result has a before and after, and the reflection is about behaviour rather than code. Disagreeing with data and then committing to the outcome is what Amazon's Disagree and Commit principle describes, and Google's code review standard says "Technical facts and data overrule opinions and personal preferences."

How expectations shift for senior engineers

Senior candidates get the same families of questions, but the stories need a bigger radius. Amazon's SDE II prep page says engineers at that level deliver features "that span its life cycle," make trade-offs between feature work and operational work, mentor others, and help recruit and interview for their team. GitLab's job family for backend engineers says senior engineers "exert influence on the overall objectives and long-range goals" of their team and mentor junior and intermediate engineers, while staff engineers have "significant influence" and mentor all engineers on the team.

A senior story should therefore reach beyond your own ticket, showing influence without authority (persuading another team to change an API, say), engineers who grew because of you, and decisions whose cost you can name. Our page on common Amazon SDE II behavioral mistakes shows this difference with the same prompt answered at two levels. For Amazon at any level, our walk-through of Amazon Leadership Principles interview questions maps a story to each principle. New graduates can draw the same six stories from internships, team projects and open-source work, as long as the decision and the result are genuinely theirs.

Rehearse the six stories with Verve AI

Only saying a story aloud shows whether it takes three minutes to reach the decision. Verve AI's AI Mock Interview can run a session from its Behavioral Questions or Software Engineering question banks, or from your own custom questions, with an AI recruiter asking one question at a time and both sides shown on a transcription pad, so you can count how often you said "we" when you meant "I". Afterwards you get "a detailed performance report with personalized feedback and scoring". Use it for rehearsal only: Google's hiring process page, read on 12 November 2026, says "AI tools are not permitted to be used during your interviews."

FAQ

How many stories does a software engineer need for a behavioral interview?

Six well-chosen stories are usually enough to cover the eight question families engineers get, as long as each story can answer two or three of them. Amazon says each interviewer typically asks two or three behavioral questions, so across a full loop you may tell most of your stories at least once. Aim for two stories per family so you never repeat one to the same panel.

Is STAR enough for an engineering behavioral answer?

STAR gives the order, but engineers' answers usually need two additions: a measured result, which Amazon and Google both ask for, and a reflection on what you would change, which Microsoft builds into its STAR(R) model. Keep the situation short so the technical decision arrives early. Google's "Accomplished [X], as measured by [Y], by doing [Z]" formula is a useful check on the result.

Should I say "I" or "we" when the work was a team effort?

Say "we" for what the team did and "I" for what you did, and make sure the "I" parts carry the decision. The interviewer is assessing you, so an answer told entirely in "we" leaves them unable to tell what you contributed. Giving a teammate credit for a specific idea, as in the illustrative example above, makes your own part more believable.

Sources

  • Amazon SDE II prep: Leadership Principles focus, two or three behavioral questions per interviewer, metrics or data, SDE II role scope (life cycle, trade-offs, mentoring, recruiting): https://www.amazon.jobs/content/en/how-we-hire/sde-ii-interview-prep
  • Amazon Leadership Principles text (Have Backbone; Disagree and Commit, Ownership, Dive Deep, Deliver Results, Learn and Be Curious, Hire and Develop the Best): https://www.amazon.jobs/en/principles
  • Google interview tips: "Tell me about a time when…", specific examples over "I always do X", Accomplished [X] as measured by [Y] by doing [Z], ambiguity and conflict prompts: https://www.google.com/about/careers/applications/interview-tips/
  • Google hiring process: clear rubrics, the AI rule quoted (read 12 November 2026): https://www.google.com/about/careers/applications/how-we-hire/
  • Meta software engineering prep article (updated October 6, 2022): 45-minute behavioral interview, sample questions, avoid theoretical answers, transparency not counted against you: https://www.metacareers.com/blog/preparing-for-your-software-engineering-interview-at-meta/
  • Microsoft interview tips: STAR(R) with Reflection, true learners who acquire new skills rapidly: https://careers.microsoft.com/v2/global/en/hiring-tips/interview-tips
  • GitLab handbook, conducting an interview: interviewer checklist (technical story explained for a non-technical interviewer, result left unfinished, result measured): https://handbook.gitlab.com/handbook/hiring/conducting-a-gitlab-interview/
  • GitLab backend engineer job family: senior and staff influence and mentoring: https://handbook.gitlab.com/job-families/engineering/development/backend/
  • Google engineering practices, standard of code review ("Technical facts and data overrule opinions and personal preferences"): https://google.github.io/eng-practices/review/reviewer/standard.html
  • Google engineering practices, handling pushback ("clean things up later"): https://google.github.io/eng-practices/review/reviewer/pushback.html
  • Google SRE book, postmortem culture (blameless postmortems): https://sre.google/sre-book/postmortem-culture/
  • Verve AI Mock Interview (Behavioral Questions and Software Engineering banks, custom questions, AI recruiter, transcription pad, report wording): https://docs.vervecopilot.com/features/mock-interview
R

Ryan

CEO of Verve AI

Related reads

Explore Related Interview Guides

Software Engineer Interview Process: Every Round Explained
November 12, 2026Interview blog

Software Engineer Interview Process: Every Round Explained

The software engineer interview process round by round: what each stage tests, how it differs by employer and level, and how long it takes.

Read story
Top 30 Most Common LeetCode Interview Questions You Should Prepare For
February 17, 2026Interview blog

The Most Common LeetCode Interview Questions, Cross-Checked

Fifty problems appear in Blind 75, NeetCode 150 and LeetCode's Top Interview 150. Here they are by pattern, with a worked example and a Python plan.

Read story
30 Most Common Java Coding Interview Questions for 5 Years Experience
April 11, 2025Interview blog

Java Coding Interview Questions and the Java Traps in Them

Common Java coding problems with working code, what each one tests, and the Java-specific mistakes that can sink a correct algorithm.

Read story
Top 30 Most Common 10 Years Experience Java Interview Questions You Should Prepare For
October 19, 2026Interview prep guide

Core Java Interview Questions for 10 Years Experience

Twelve questions senior Java interviews return to, from HashMap and the memory model to GC choice and virtual threads, with what strong answers cover.

Read guide
30 Most Common Java Architect Interview Questions You Should Prepare For
March 12, 2025Interview blog

Java Architect Interview Questions and How to Answer Them

Twelve questions that test an architect's judgment: design trade-offs, data consistency, modern JVM behaviour and leadership, with answer outlines.

Read story
What Should You Know About Mercor Interview Backend Code Review
March 7, 2026Interview blog

Mercor Backend Code Review: What to Flag First

A worked backend snippet with five planted bugs, ranked in the order to raise them aloud, plus what candidates report Mercor actually asks.

Read story
Are You Underestimating The Power Of Java Sorting Strings In Your Next Technical Interview
August 28, 2025Interview prep guide

Are You Underestimating The Power Of Java Sorting Strings In Your Next Technical Interview

Master Java string sorting for interviews with practical examples, comparison logic, and common pitfalls that reveal real coding skill.

Read guide
Are You Underestimating The Power Of Linked List Python In Technical Interviews
August 1, 2025Interview prep guide

Are You Underestimating The Power Of Linked List Python In Technical Interviews

Linked list Python is a common interview test; understand nodes, pointers, and tradeoffs so you can solve problems faster than with arrays.

Read guide
Are You Underestimating The Power Of Parentheses In Professional Communication
July 29, 2025Interview prep guide

Are You Underestimating The Power Of Parentheses In Professional Communication

Parentheses can clarify jargon, add context, and keep interviews or sales calls sharp, helping you sound precise, thoughtful, and articulate.

Read guide

Walk into every interview prepared and confident

Get Started For Free

Available on Mac, Windows, browser and mobile