<!--
page #7
URL: /guides/behavioral-interview-questions
-->
# Behavioral Interview Questions for Software Engineers: 30 Questions, What They Test and How to Answer

*Last updated: October 21, 2026 · ~18 min read*

Ask an engineer which project they're proud of and you may get a tour of a
codebase. Ask what made the project difficult and, eventually, you get to the
useful part: two teams meant different things by "done," a customer needed
something nobody had estimated, or a sensible shortcut became a rather
expensive habit.

Those are the things worth remembering before a behavioral interview. The
hard part is often deciding what was yours to do in work that belonged to
several people. A tidy resume bullet tends to remove precisely that detail.

This guide gives you **30 common questions, grouped by theme, with ways to
think through each one and four full sample answers**. Use it to find the
experiences you want to discuss. You don't need a separate speech for every
question, and you don't need to turn every experience into a victory.

For the shape of an answer, see the [STAR method guide](/guides/star-method).
For the opening question, see ["Tell me about yourself"](/guides/tell-me-about-yourself).
Amazon candidates can also use the
[Leadership Principles guide](/interviews/amazon/leadership-principles).

## What is a behavioral interview?

A behavioral question asks about something that happened: "Tell me about a
time you disagreed with a teammate." The interviewer can then ask what you
tried, what the other person thought, and what happened next. Your answer
gives them something more concrete to discuss than "I'm good at collaboration."

A round called "behavioral" may also contain questions about motivation,
strengths or future plans. Those aren't accounts of past behavior. They
belong here because you'll often prepare for them together, but they need a
direct answer rather than a story forced into four boxes.

Behavioral, structured and competency-based interviews overlap; the terms
aren't interchangeable. **Behavioral** describes a kind of question.
**Structured** describes how an interview is run, with consistent questions
and evaluation criteria. **Competency-based** describes what it aims to
assess, such as communication or judgment. The
[US Office of Personnel Management](https://www.opm.gov/policy-data-oversight/assessment-and-selection/other-assessment-methods/structured-interviews/)
describes structured interviews using questions about both past behavior and
hypothetical situations. A hiring conversation can use several of these
approaches at once.

## Behavioral vs technical vs situational interviews

| Type | Example | What your answer needs to provide |
|---|---|---|
| **Behavioral** | "Tell me about a time you disagreed with your tech lead." | A real incident, your contribution and its consequences |
| **Situational** | "What would you do if a proposed release looked unsafe?" | Your reasoning, assumptions and next steps |
| **Technical** | "Design a rate limiter." | A solution developed and explained in front of the interviewer |
| **Self-description or motivation** | "What are your strengths?" / "Why this team?" | A clear answer, supported by relevant experience |

Listen for the form of the question. If someone asks what you *did*, "I would
start by talking to stakeholders" leaves them waiting for the event. If they
ask what you'd do in an unfamiliar scenario, it's fine to reason from first
principles and then mention a relevant experience. You needn't pretend the
same thing has happened to you before.

## What to expect in a behavioral interview

You might have a dedicated conversation with a manager, several questions
inside technical rounds, or a mixture of both. Amazon, for example, describes
its process as
[behavioral-based and grounded in its Leadership Principles](https://www.aboutamazon.com/news/workplace/amazon-interview-guide).
Ask your recruiter how the particular loop is organized. "Behavioral round"
is a category, not a timetable.

Leave room for follow-ups. These can be surprisingly specific:

- "Who suggested that approach?"
- "What did you know when you made the decision?"
- "You said the rollout was safer. How did you check?"
- "What would your teammate say happened?"

A pause to choose an example is usually more useful than a fast start with
the wrong one. If you can't think of a direct match, say so and offer the
closest relevant experience. That gives the interviewer a choice.

## How to answer behavioral interview questions

Start by answering the question that was asked. "We missed a deadline" can
become a story about a bad estimate, a dependency, or a disagreement about
scope. Which of those did the interviewer ask you to explain?

Then establish enough context for your decision to make sense. The
[STAR structure](/guides/star-method) can help: situation, responsibility,
actions and result. Spend the detail on what you chose and why. Explain
where a colleague's contribution changed your approach. "The designer spotted
the missing state; I changed the API to support it" is clearer than either
"we collaborated" or a solo account of a team accomplishment.

Finish with what changed, including what remained awkward. Numbers help when
you have a sound basis for them. An observable result can also be a teammate
handling the next incident independently, a decision being reversed, or a
customer accepting a revised plan. Don't manufacture a percentage to make a
useful outcome look official.

For practice, try an initial answer of roughly two minutes, then see what a
listener still needs to ask. That's an editing aid. A short story may need
less; a complicated question may deserve more.

## The 30 most common behavioral interview questions for software engineers

These are preparation prompts, not a leaked scoring rubric. The notes suggest
what to examine in your experience; a particular interviewer may pursue a
different detail.

### Ownership and initiative

**1. Tell me about a time you took ownership of something outside your role.**

Find a gap that mattered enough to justify getting involved. Explain how you
checked who already owned it, what you took on, and how the work acquired a
lasting home. Quiet maintenance belongs in this answer as much as the first
clever fix.

**2. Tell me about the project you're most proud of.**

Choose it for a reason you can explain. What was hard, what did you contribute,
and why does this project still matter to you? Pride in making a confusing
system understandable can be more revealing than the biggest launch on your
resume.

**3. Tell me about a time you noticed a problem nobody else was addressing.**

Walk through the observation, how you checked it, and why it deserved time.
Sometimes other people had noticed too, but couldn't get it prioritized.
Include that if it's what happened.

**4. Describe a time you went above and beyond for a user or customer.**

Name the person or group affected, including internal users. Explain what you
learned about their difficulty and what you changed. Working late is context;
the useful part is whether your extra work helped.

### Conflict and disagreement

**5. Tell me about a conflict with a coworker and how you resolved it.**

Choose a genuine disagreement with consequences. Give the other person's
reasoning a fair hearing, explain your own part in the tension, and distinguish
the technical outcome from the state of the relationship.
[Sample answer below.](#sample-answer-1-conflict-with-a-coworker-mid-level)

**6. Tell me about a time you disagreed with your manager.**

Explain what you thought was at risk, how you raised it, and what happened
after the decision. A story in which you changed your mind is perfectly
usable. So is one in which your manager did.

**7. Describe a time you pushed back on a product requirement.**

Show that you understood the product goal before proposing another route.
What did the requirement cost, who would bear that cost, and what did your
alternative preserve or give up?

**8. Tell me about a time someone disagreed with your technical proposal.**

Recover the objection as precisely as you can. How did you investigate it?
What stayed in the design, and what changed? "They didn't understand it" is
usually the beginning of the explanation, not the end.

### Failure, mistakes and feedback

**9. Tell me about a time you failed.**

Pick an outcome you actually wish had gone differently. State your contribution
to it without making yourself responsible for everything. Describe the damage,
the response and what you changed afterward, including what you still can't
know would have worked.

**10. Tell me about a mistake you made that affected users or teammates.**

Explain when you noticed, who needed to know, and how you limited the impact.
Then discuss any repair or safeguard. The moment between discovering the
mistake and telling someone is often worth examining.

**11. Tell me about the most critical feedback you've received.**

Use a specific piece of feedback and a specific change. If your first reaction
was defensive, you can say so. Explain what made you take it seriously and
what evidence you have that your behavior changed.

**12. What is your greatest weakness?**

Answer directly, then give an example of its cost and what you do about it.
Choose something real that you're willing to discuss honestly. A weakness
needn't be solved to make a thoughtful answer.
[Sample answer below.](#sample-answer-2-what-is-your-greatest-weakness-senior)

### Ambiguity, prioritization and pressure

**13. Tell me about a time you worked with unclear requirements.**

Identify the missing decision: who the user was, what success meant, who had
authority, or which constraint was fixed. Explain how you made enough clear
to proceed, and which assumptions you kept visible.
[Sample answer below.](#sample-answer-3-unclear-requirements-staff)

**14. Describe a time you had competing priorities. How did you decide?**

Put the demands next to each other. What made them urgent, who could authorize
the trade-off, and what did you defer? Include the objection that made your
first plan harder to defend.
[Sample answer below.](#sample-answer-4-competing-priorities-senior)

**15. Tell me about a time you had to meet a tight deadline.**

Explain why the date mattered and whether it could move. Describe what you
cut, what you protected, and how you communicated risk. An honest missed
deadline can also answer this question.

**16. Tell me about a decision you made without enough data.**

What information was missing, and what would waiting have cost? Explain the
smallest useful next step, the downside you accepted and how you checked the
decision afterward.

### Collaboration, communication and influence

**17. Tell me about a time you convinced others to adopt your idea.**

Give the resistance its own logic. People may agree with the idea and still
have no time to adopt it. Explain whether you changed the proposal, reduced
the work, ran a pilot or found that their objection was correct.

**18. Describe a time you explained something technical to a non-technical audience.**

Start with what the listener needed to decide. Which detail helped them make
that decision, and which could you omit? "I avoided jargon" is a useful habit,
but it doesn't yet tell us whether the explanation worked.

**19. Tell me about a time another team blocked your work.**

Describe the dependency from both sides. What was the other team committed
to? Explain what you tried together and, if escalation was needed, which
decision it enabled. Asking for help can be responsible ownership.

**20. Tell me about a teammate who wasn't pulling their weight.**

Separate what you observed from what you assumed. Discuss a direct conversation,
what you learned, and any change in workload or expectations. Avoid disclosing
someone's private circumstances to make your account more compelling.

### Technical judgment and quality

**21. Tell me about the hardest technical problem you've solved.**

Show the investigation: symptoms, plausible explanations, a test that narrowed
them, and the decision that followed. Keep technical detail that explains
your reasoning; the entire architecture rarely needs to attend the interview.

**22. Tell me about a trade-off between shipping fast and doing it right.**

Define what "right" meant in that situation. Explain the risk you accepted,
who agreed, and how you contained or revisited it. If the cleanup never
happened, discuss that rather than ending at the ticket you created.

**23. Describe a time you simplified a complex system or process.**

Describe the burden before and after: steps, failure modes, concepts or time.
What could you remove, and what looked redundant but turned out to serve a
purpose? Fewer lines alone don't establish a simpler system.

**24. Tell me about a time you had to learn a new technology quickly.**

Explain how you chose what to learn first and how you checked your understanding.
A small experiment, a useful question to an expert or a mistake caught early
can say more than the name of a course.

### Leadership and mentoring

**25. Tell me about a time you helped a teammate grow.**

Name the capability they wanted to develop and what you did to support it.
What could they do afterward with less help from you? Let the other person
keep ownership of their achievement.

**26. Tell me about a project you led from start to finish.**

Cover how the work became a plan, how people coordinated, and which decision
needed your attention. Distinguish leading delivery from writing most of the
code; sometimes they happen together, sometimes they don't.

**27. Tell me about a time you had to give someone difficult feedback.**

Explain the behavior, its impact and what you actually said. Include the
response, especially if it revealed something you had missed. A hard
conversation doesn't have to end in instant agreement.

### Motivation and fit

**28. Why do you want to work here?**

Connect something specific about the work to your own interests or experience.
If you still need to learn about the team, acknowledge that and name the
question you want answered. The "future" section of our
[introduction guide](/guides/tell-me-about-yourself) can help.

**29. Why are you leaving your current job?**

Give a truthful reason at an appropriate level of detail. Describe what you
want next without making the interviewer adjudicate a dispute with your
current employer. A layoff or an ended contract doesn't require a story
about discovering your passion.

**30. Where do you see your career in the next few years?**

Describe the work you'd like to become better at and how you're exploring it.
You can be interested in technical leadership without claiming you've settled
your title for 2030.

## Behavioral interview questions and answers: four full samples

**These are fictional examples**, with invented companies, events and numbers.
They illustrate how much detail helps a listener follow a decision. The level
labels give context for the responsibilities described, rather than a hiring
verdict. Use your own facts.

### Sample answer 1: conflict with a coworker (mid-level)

**Question:** *"Tell me about a conflict with a coworker and how you resolved it."*

**Situation.** I owned the orders API for a food-delivery app. Two backend
releases of mine had crashed an iOS client. The iOS lead started raising the
problem in stand-up, and I started arriving ready to defend myself. That
wasn't doing much for either the app or stand-up.

**Task.** I needed to understand the failures and find a way for us to keep
shipping together. I also wanted to stop having the same argument in public.

**Action.** I asked for a one-on-one and walked through the releases that had
caused trouble. I had treated a new enum value as an additive API change.
Her decoder rejected unknown values, and customers could keep old app
versions for months. Our compatibility rules hadn't accounted for that.

I proposed contract tests using the client decoding models and client-version
checks before exposing new response values. She pointed out that advance
notice alone wouldn't protect an old installed app. We agreed the backend
would keep the existing values for those versions. For display-only states,
she added explicit unknown-state handling; we didn't invent a default for
states that affected order behavior. I wrote the first contract tests, and
she supplied fixtures from the affected app versions.

**Result.** We used those tests for the next response change and caught a
compatibility problem before release. The working relationship took longer.
We still disagreed in reviews, but we could point at a shared contract rather
than argue about whose change was "technically" backward-compatible. I now
ask which clients must survive a response change before calling it additive.

*What to notice:* both engineers have a reasonable model of the system. The
candidate admits a gap in their own model, and the technical fix makes future
cooperation easier without magically repairing the relationship.

### Sample answer 2: "What is your greatest weakness?" (senior)

> "I tend to take over when a teammate is stuck. For years I thought I was
> being helpful: the problem got fixed, and we could all move on. In my review,
> my manager pointed out that I was the author or main reviewer on most of
> our incident fixes, while two engineers had never led one. I had helped
> create a team that needed me to be available.
>
> "Now I pair while leaving the keyboard with the other person. On work that
> isn't hurting customers or facing an urgent deadline, I give them room to
> investigate before I jump in. We also agreed to rotate incident leads,
> including in my usual area, with someone available to support them.
>
> "Within two quarters, everyone had led an incident review. I could see a
> difference when the newest engineer ran a difficult one and I didn't need
> to take over. I still catch myself reaching for the keyboard, especially
> when we're tired. It's a habit I manage, and I ask teammates to tell me
> when I'm doing it again."

*What to notice:* the weakness costs other people something. The change in
behavior is specific, and the speaker hasn't declared themselves cured.

### Sample answer 3: unclear requirements (staff)

**Question:** *"Tell me about a time you had to work with very unclear requirements."*

**Situation.** Sales was negotiating an enterprise contract with a 30-day
customer-data deletion requirement. We had about 40 services, and leadership
asked whether we could commit. Engineering couldn't even agree which data
the sentence referred to.

**Task.** My VP asked me to develop a credible answer and an implementation
plan. I could coordinate the work; I couldn't decide the contractual meaning
on behalf of legal or the customer.

**Action.** I brought legal, infrastructure and the account team into the
same discussion. Through the account team, we clarified the requirement with
the customer's security contact. We recorded the treatment of live records,
backups and aggregated analytics, and legal approved the wording before we
committed to a design.

I then combined a schema scan for customer identifiers with confirmation
from each service owner. Twenty-three services held relevant data. We
assigned each an agreed handling method and an owner, and I proposed a
deletion event plus a tracker for completion and exceptions. Backup retention
was 35 days, which didn't fit the agreement. Infrastructure and legal agreed
to reduce it to 28 days under this particular contract, with a process to
avoid restoring deleted data into active use. Teams also had to check the
assumptions the scan couldn't see, such as data in exports.

**Result.** We reached an agreed plan in time for the contract. After rollout,
requests completed in about nine days on average, while exceptions remained
visible in the tracker. Later customers reused parts of the pipeline, though
each new agreement still required a review. The useful first deliverable
had been the definition. A diagram would have looked more like progress.

*What to notice:* this fictional agreement establishes the constraints of
this story. It doesn't establish a generally sufficient retention period or
a universal meaning of deletion. The engineering lesson is to identify who
can settle a requirement before building to an assumption.

### Sample answer 4: competing priorities (senior)

**Question:** *"Describe a time you had competing priorities. How did you decide?"*

**Situation.** I was tech lead for five engineers building a billing dashboard.
Two weeks before an announced launch, we received a vulnerable-library upgrade
ticket and an escalation about incorrect invoice rounding in some currencies.
The date suddenly had a lot of competition.

**Task.** I needed a plan the team could execute and an explicit agreement
about what we'd postpone. I didn't have enough people to promise everything.

**Action.** I first checked the risk behind each request. Four customers were
seeing incorrect invoice totals. I asked a security engineer to assess the
library issue against our deployed configuration; they confirmed the affected
path wasn't reachable there and that the upgrade could follow the launch
within our 30-day policy.

I proposed fixing rounding immediately, scheduling the upgrade after launch,
and removing CSV export and one settings page from the launch scope. The PM
objected that a customer had been promised export. We reviewed what that
customer actually needed, agreed a follow-up date, and had the account team
confirm the revised expectation. I wrote down the owners and dates so the
things we'd postponed wouldn't disappear into "after launch."

**Result.** Rounding was fixed in two days. We launched the smaller dashboard,
shipped export ten days later, and completed the upgrade within policy. The
settings page stayed deferred. What helped was checking which risks were real
and making the costs of our choice visible to the people carrying them.

*What to notice:* the order follows the verified facts of this example.
Another vulnerability or customer impact could have reversed it. The useful
habit is checking assumptions and getting the right owners into the decision.

## How expectations differ by level: mid, senior, staff

The same event can contain several kinds of responsibility. One engineer
fixes a bug, another coordinates the rollout, and another decides how teams
will prevent that class of problem. Explain which part was yours.

The table below is an editorial preparation aid. Companies define levels
differently, and a story's reach doesn't automatically establish its quality.
A careful local decision can reveal more judgment than a vague claim about
an organization-wide initiative.

| Area | Mid-level experience might include | Senior experience might include | Staff experience might include |
|---|---|---|---|
| **Delivery** | Owning a component or feature | Coordinating a project and its risks | Aligning several teams on a direction |
| **Ambiguity** | Clarifying an unclear task | Turning an uncertain goal into a plan | Establishing which problem teams should solve |
| **Conflict** | Working through a review disagreement | Reconciling product and engineering constraints | Helping teams with different incentives reach a decision |
| **Failure** | Repairing a mistake and improving a safeguard | Revisiting a failed project decision | Revising an assumption affecting several teams |
| **Developing others** | Helping a peer or new teammate | Sustained mentoring and sharing responsibility | Helping experienced engineers lead through others |

Across your answers, give a fair picture of the work you can take on. If
you're applying for broader responsibility, prepare experiences that let you
discuss it. Don't inflate every bug fix into a transformation program; the
interviewer may quite reasonably ask who else was transformed.

## How to prepare: build a story bank, then practice out loud

Start with a small set of experiences you remember well. Project notes,
reviews and postmortems can bring back the unglamorous parts that turned out
to matter. For each candidate story, note:

- What made the situation difficult, and the question it could actually answer.
- Your responsibility and the contributions of others.
- The decision you made with the information available then.
- The outcome, evidence and any unresolved problem.
- A detail you're uncertain about and should check before repeating.

Map those notes to the themes above. An empty conflict or failure column
is a useful prompt to look further. There's no required number of stories,
and a full spreadsheet doesn't ensure that one fits the question. A delivery
story becomes a mentoring answer only if it contains someone learning and
your contribution to that learning.

Then practice with a person who can interrupt. Ask them to choose a question
you didn't prepare in that exact wording and to follow up on an uncomfortable
detail. "What would the other person say?" is particularly effective at
removing the convenient version of events.

AI can help you rehearse questions and spot an explanation that skips a step.
Give it facts you're allowed to share and ask it to question gaps rather than
invent missing accomplishments. You're responsible for the resulting account.

> Preparing with OfferVibe? Start with the experiences you want to remember
> and the questions they genuinely answer. Any suggested wording still needs
> your judgment: it should sound like you and describe what actually happened.
> [Explore OfferVibe →](/)

## Behavioral interview quick reference

Before speaking, check these five things:

1. Am I answering a past event, a hypothetical, or a direct question about myself?
2. Have I chosen an experience that contains the requested decision?
3. Can a listener distinguish my contribution from my teammates' work?
4. Can I explain the outcome without guessing a metric?
5. Which follow-up would I least like to be asked, and why?

## FAQ

### What if I don't have a dramatic failure or conflict?

Use the scale you have. An avoidable rework cycle, a review disagreement or a
promise you couldn't keep can contain a useful decision. Describe its actual
consequences. You don't need to upgrade an awkward afternoon into an outage.

### Can I use a university, volunteer or personal project?

Yes, when it gives a relevant example of your actions and you make the context
clear. Team projects can be especially useful early in your career. For a role
requiring substantial production responsibility, prepare to discuss that
experience too if you have it.

### Can I reuse a story for several questions?

Sometimes. Check the match rather than merely changing the opening sentence.
If you've already used it in the conversation, say so and offer another
example when possible. Variety helps someone learn more about you; it isn't
a reason to tell a less relevant story.

### What if I can't share project details?

Explain the constraint and use enough non-sensitive context to make your
decision understandable. You can describe a relative change or general system
shape when exact figures or names are confidential. Don't replace them with
invented specifics presented as fact.

### How do I answer "What is your greatest weakness?"

Name a real pattern, illustrate its cost and explain what you do about it.
The [senior example](#sample-answer-2-what-is-your-greatest-weakness-senior)
shows one way to discuss a habit that still needs attention.

### Is a behavioral interview the same as a competency-based interview?

They overlap. Competency-based interviews target capabilities; behavioral
questions examine past events. A competency can also be explored through a
hypothetical question or an exercise. Follow the question you've been given.

## Related guides

- [STAR method for software engineers](/guides/star-method)
- [How to answer "Tell me about yourself"](/guides/tell-me-about-yourself)
- [Amazon Leadership Principles interview questions](/interviews/amazon/leadership-principles)

