Skip to content
Commitwise
Menu
Programming

Behavioral interviews: STAR stories for mobile and backend developers

How to answer "Tell me about a time when…" questions in a developer interview. The STAR structure, a story bank of six to eight stories, weak and strong answers about crashes, outages, disagreements and missed deadlines, what interviewers score at junior and senior level, a two-minute introduction, and the questions to ask at the end.

beginner

The core idea with one simple example.Step by step, with more examples and exercises.A cheat sheet: key APIs, gotchas and trade-offs.Internals, trade-offs and production pitfalls.

You solved the coding problem and drew a decent system design, and then the last interviewer asks: “Tell me about a time you disagreed with a teammate.” You say something general about valuing open communication, and the feedback reads “no clear signal on collaboration”. Many offers are lost in that round, not in the technical ones.

Behavioral questions check how you actually work: whether you own problems, make sensible trade-offs, work well with designers, product managers and other developers, and learn from mistakes. They’re easy to prepare for, because the questions repeat and the answers are your own experience. This lesson shows how to turn that experience into answers interviewers can score, with examples from mobile and backend work. The short version is also an interview question: How should you answer behavioral questions?

New to some of these? Open what you need, or skip ahead.

Basics:What is a behavioral interview?

An interview round where the questions are about your past behavior: “Tell me about a time when…”, “Give me an example of…”. The idea is that how you handled real situations predicts how you’ll handle the next ones. It’s sometimes called the “culture” or “values” round, and at many companies it carries as much weight as the coding rounds.

Basics:I don't have much work experience. What can I talk about?

Anything real where you made decisions: an internship, a university team project, an open-source contribution, a side project with users, a hackathon, even a group assignment that went wrong. Interviewers for junior roles expect smaller stories; they still want specific ones.

Part Not started

STAR: turning experience into an answer

Interviewers write down evidence: things you did, decisions you made, results you got. A general statement (“I always communicate openly”) gives them nothing to write. A specific story does. STAR keeps the story short and complete:

StepWhat to sayLength
SituationWhere, when, what was at stake2–3 sentences
TaskWhat you were responsible for1 sentence
ActionWhat you did, step by step, and whymost of the answer
ResultWhat happened, with numbers if possible, and what you learned2–3 sentences

Four habits make the difference:

  • Say “I”. “We fixed it” doesn’t tell the interviewer what you did. Credit the team, then say your part: “The team owned the release; I found the cause and wrote the fix.”
  • Give reasons. “I added a feature flag because I couldn’t test on every Android version before the release” shows judgment.
  • Use numbers. “Crash-free users went from 97% to 99.6%”, “p95 latency dropped from 1.8 s to 300 ms”, “shipped two days before the deadline”.
  • Keep it to about two minutes. The interviewer will ask follow-up questions about the parts they care about.

Most structured interviews score answers against a rubric of competencies (ownership, dealing with ambiguity, impact, collaboration, technical judgment, growth), each with level-specific expectations; some companies publish theirs, Amazon’s Leadership Principles being the best-known. At senior level the same question is graded on scope and influence: a junior story about fixing a crash is fine, a senior story is about stopping a class of crashes (a lint rule, staged rollouts, an on-call runbook) and getting other teams to adopt it. Interviewers spend the follow-ups testing whether the story is yours and how deep it goes: “What did you consider and reject?”, “What would you do differently?”, “How did the other person react?”, “How did you measure it?”. Prepare for those, not just the monologue. Keep the Situation short even when the system is impressive; the score comes from Actions and Results. Pick stories from the last two or three years at the level you’re interviewing for, and keep one honest failure ready: candidates who claim nothing ever went wrong lose points on self-awareness.

Question: “Tell me about a difficult bug you fixed.”

Weak

“We had a lot of crashes in our app once. It was a hard bug with threads. We debugged it for a while and eventually fixed it, and the crashes went away. I learned that concurrency is hard.”

Strong

Situation: “Last spring, after a release of our grocery app, crash-free users on Android dropped from 99.5% to 97% in two days. About 20,000 people a day hit it.”

Task: “I was on call for the mobile team, so it was mine to find and fix.”

Action: “Crashlytics showed a ConcurrentModificationException in the cart, only on devices with slow storage. I couldn’t reproduce it, so I first halted the staged rollout at 20% to stop the bleeding. Then I read the stack traces side by side and saw two coroutines writing the cart list: a sync job and the UI. I reproduced it in a test with a fake slow database, changed the cart to an immutable list behind a StateFlow, and added that test to CI.”

Result: “We shipped the fix the next day and crash-free users went back to 99.6%. Since then I check shared mutable state in every code review, and I wrote a short guide for the team that we still use.”

The strong answer takes about 90 seconds. It has a number at the start and the end, a clear “I”, reasons (“to stop the bleeding”, “I couldn’t reproduce it, so…”) and a lesson that changed how the person works.

Build a story bank

You can’t prepare an answer for every question, but you can prepare six to eight stories and adapt them. One good story often answers three or four different questions. Write each one down in STAR form with its numbers, then check that together they cover these themes:

ThemeExample from mobileExample from backend
A hard technical problema crash you couldn’t reproducea memory leak in a service
A production incidenta broken release, a halted rolloutan outage, a bad migration
A disagreementwith a designer about a gesturewith another team about an API contract
A mistake or failurea release that broke logina deploy that dropped data
A deadline under pressurean App Store review delay before a launcha partner integration with a fixed date
Improving something nobody asked forbuild times, a flaky test suitealerting, a slow CI pipeline
Learning something fasta new framework for a projectan unfamiliar database
Helping someone elseonboarding a new developerreviewing a junior’s first service
Exerciseeasy

Rewrite a weak answer

Question: “Tell me about a time you had to meet a tight deadline.”

Weak answer: “We had a big launch and the deadline was really tight. Everyone worked hard, we did some overtime, and we made it. It was stressful but the launch went well.”

Rewrite it in STAR form. You can invent the details for practice, but in a real interview use a real story.

›

What exactly was the deadline and why couldn’t it move? What did you decide, cut or negotiate? What number shows the result?

SolutionTry it yourself first

S: “Our banking app had to support a new card type by March 1st, because the bank’s marketing campaign started that day. Three weeks before, the backend API was still changing.”

T: “I was the iOS developer responsible for the card screens.”

A: “I listed the work and saw it wouldn’t fit, so I went to the product manager with two options: everything late, or the core flow on time with card customization in the next release. We chose the second. I agreed on a frozen API contract with the backend developer for the core flow and built against a mock server so I wasn’t blocked. I also submitted a build for App Store review a week early, because review times were unpredictable that month.”

R: “The core flow was live on February 27th, and about 40,000 cards were added in the first week. Customization followed two weeks later. Since then I raise scope trade-offs as soon as I see the numbers don’t fit, instead of hoping for overtime to fix it.”

The rewrite replaces “everyone worked hard” with decisions: cutting scope, freezing a contract, working around a dependency. Overtime isn’t an action interviewers score well; judgment is.

What separates senior answers

SignalMid-level storySenior story
Scopemy feature, my buga system, a team’s process, several teams
Ambiguitythe task was definedI defined the problem and the success metric
InfluenceI convinced my teammateI wrote the RFC, got buy-in from two teams who didn’t report to me
Trade-offsI chose the better solutionI chose the cheaper solution on purpose, and here’s the cost we accepted
Lasting effectthe bug was fixedthe class of bugs stopped: a lint rule, a runbook, a rollout policy
Deep diveHow interviewers dig with follow-up questionsInterview favorite

Experienced interviewers spend more time on follow-ups than on your first answer. They’re checking three things: that the story is really yours (rehearsed, borrowed or team stories fall apart under detail), how deep your reasoning goes, and how you reflect.

Typical probes: “What exactly did you do?” (ownership), “What else did you consider?” (judgment), “What data did you have?” (rigor), “How did the other person respond?” (collaboration), “What would you do differently?” (growth), “What happened after?” (impact). Answer them as directly as the original question: a specific detail beats a longer story. “I don’t remember the exact number, it was roughly a third of requests” is fine; making numbers up isn’t, because the next question will expose it.

  • Answers are scored against competencies (ownership, ambiguity, impact, collaboration, judgment, growth) with level expectations; senior = scope and influence beyond your own tasks.
  • Short Situation, long Actions with reasons and rejected options, quantified Results, honest reflection.
  • Prepare for follow-ups: what you did personally, alternatives, data, the other side’s reaction, what you’d change. Keep one real failure story ready.

Check this part

  1. Which part of a STAR answer should take the most time?

  2. What is wrong with answering "I always try to communicate openly with my team"?

  3. What usually distinguishes a senior answer to "tell me about a production incident"?

  4. The interviewer asks for a number you don't remember. What do you do?

Answer with one real story in STAR form: a short Situation and Task, most of the time on the Actions you took and why, and a Result with numbers plus what you learned. Say I, not only we. Prepare six to eight stories that you can adapt to most questions.

Part Not started

The questions that always come up

Questions are worded differently at every company, but they come from a short list of themes. For each, the interviewer is checking something specific:

QuestionWhat they’re checkingAvoid
“Tell me about a production incident.”Calm, ownership, fixing the causeblaming QA or another team
“Tell me about a disagreement.”Listening, arguing with data, committing to the decision“I was right and they finally saw it”
“Tell me about a mistake.”Honesty, learninga fake mistake (“I work too hard”)
“Tell me about a missed deadline.”Raising risks early, cutting scope“the estimates were wrong”, full stop
“Tell me about a hard trade-off.”Judgment: knowing the cost of your choicepresenting a choice with no downside
“Why do you want to work here?”That you looked at the product and the rolea generic answer that fits any company

Two rules cover most of them:

  • Show the other side fairly. In a disagreement story, explain why the designer or the backend developer wanted what they wanted. “The designer wanted the swipe gesture because users had asked for it; I was worried about accessibility, so I…” scores better than making them look foolish.
  • End with what changed. After an incident or a mistake: the test you added, the checklist you wrote, the alert you set up.

Senior loops add themes where the evidence is influence rather than execution: leading without authority, mentoring, pushing back on product, a technical trade-off, and ambiguity (“a project with no clear requirements”). Strong stories show you reframing a request into the underlying goal, bringing data (crash rates, latency, cost, conversion), offering options with their costs instead of a no, and committing fully once the decision is made, even when it went against you (“disagree and commit”). For incidents, structure the Actions as mitigate → find the cause → prevent, and mention the blameless postmortem; for mistakes, pick one that had real consequences and show the system change you drove, not just personal resolve. The site has a page per question with what interviewers look for: disagreement, hardest technical problem, production incident, missed deadline.

A disagreement story from backend work. Question: “Tell me about a time you disagreed with a teammate.”

Situation: “Our team was adding order history to a REST API used by the iOS and Android apps. A senior colleague wanted to return all of a user’s orders in one response, to keep the mobile code simple.”

Task: “I was building the endpoint, and I was worried about users with thousands of orders.”

Action: “Instead of arguing in the pull request, I checked the data: 2% of users had more than 500 orders, and their response would be over 3 MB. I asked the mobile developers what they needed, and they only showed 20 orders at a time. I proposed cursor pagination with a page size of 20 and wrote down what it would cost: about a day of extra work on each app. My colleague’s concern was the extra complexity in the apps, which was fair, so I offered to write the paging code for the shared Kotlin Multiplatform module myself.”

Result: “We went with pagination. The p95 response time for that endpoint stayed under 150 ms, and the same approach became our default for list endpoints. I learned that a disagreement is easier to settle with data and an offer to take on the cost than with opinions.”

Talking about a mistake

“Tell me about a mistake you made” makes people nervous, so they pick something harmless. Interviewers notice. Pick a real mistake with real consequences that you handled well:

  1. Say what happened, plainly. “I shipped a database migration that locked the orders table for four minutes during peak hours.”
  2. Own it. No “the reviewer should have caught it”.
  3. What you did right then. Rolled back, told the team, kept users informed.
  4. What you changed. “I now run migrations against a copy of production data first, and I added a check in CI that flags migrations without a timeout.”

A good mistake story often scores better than a success story, because it shows honesty and learning, the two things interviewers find hardest to judge.

Production incident, senior version

For a senior incident story, the structure is the outline of a good postmortem:

  • Detect: how you found out (an alert, a crash-rate spike, a support ticket), and how long it took. If it was a customer, say so and say what you changed.
  • Mitigate first: halt the staged rollout, flip the feature flag, roll back the deploy, scale out. Users before root cause.
  • Diagnose: the evidence you used (traces, logs, Crashlytics breadcrumbs, a diff between releases).
  • Prevent: the systemic fix, owned beyond your code: a release checklist, an SLO alert, a canary stage, a contract test.
  • Communicate: who you kept informed (support, product, other teams) and how often.
Deep diveWhy 'we' answers fail, and how to credit the team anywayInterview favorite

Interviewers have to write down what you did, because that’s what the hiring decision is about. When every sentence starts with “we”, they can’t tell whether you led the work or watched it, and they score the lower option. Candidates from collaborative teams fall into this most, out of modesty.

You can be generous and specific at once: name the team’s goal with “we”, then switch to “I” for your part. “We needed to cut cold start below one second. I profiled it and found the three slowest initializers; Marko moved them off the main thread; I set up the baseline profile and the CI check.” That answer credits a colleague and still leaves no doubt about what you did.

  • Themes: incident, disagreement, mistake, deadline, trade-off; at senior also leading without authority, mentoring, pushing back on product, ambiguity.
  • Disagreements: present the other side fairly, bring data, offer options with costs, then commit.
  • Incidents as a postmortem: detect, mitigate first, diagnose, prevent systemically, communicate. Mistakes: real consequences, own them, show the system change.
  • Credit the team with “we” for the goal, then “I” for your part.

Check this part

  1. Which mistake story works best?

  2. In a disagreement story, how should you describe the other person?

  3. In a production incident story, what usually comes before finding the root cause?

  4. Your proposal was rejected and the team went another way. What should the story show?

The same few themes come up everywhere: a production incident, a disagreement, a mistake, a deadline, a trade-off, and for seniors leading without authority, mentoring and pushing back on product. Own the problem, show the other side's point of view, and end with what changed.

Part Not started

The introduction and your questions

Almost every interview starts with “Tell me about yourself” and ends with “Do you have any questions for us?”. Both are easy points if you prepare them.

For the introduction, aim for about two minutes in three steps:

  1. Now: what you do and with what. “I’m an Android developer at a delivery startup, mostly Kotlin and Compose, on the app couriers use.”
  2. One or two highlights, with numbers. “Last year I led the move to offline-first, which cut failed deliveries caused by bad signal by 30%.”
  3. Why this role. “I’d like to work on a product with more users and a bigger mobile team, and your app is one I actually use.”

Don’t recite your CV from the first job. The interviewer has it.

At the end, ask two or three real questions. Good ones are about how the team works:

  • “How often do you release, and how does a release go?”
  • “What does code review look like here?”
  • “How does on-call work for this team?”
  • “What would you expect me to do in my first three months?”

“No, I think you covered everything” wastes a chance to show interest and to learn whether you’d actually like the job.

At senior level the introduction should already frame your level: the scope you own (an app, a platform, several services), the largest decision you drove, and what you’re looking for next, in under two minutes; it sets the interviewer’s expectations for the rest of the loop. Your questions are also an assessment of them: how technical decisions are made (RFCs, architecture reviews, who has the final say), incident culture (are postmortems blameless, who’s on call, how often are people paged), how mobile and backend teams agree on API contracts, the balance between roadmap and tech debt, and what success looks like for this role in a year. When you don’t know an answer in any round, say so and reason aloud (“I haven’t used StoreKit 2 in production; from the docs I’d expect…”): it reads as honest and senior, while bluffing reads as a risk. Never criticize a former employer; describe why you’re leaving as moving toward something (“a product where I own architecture”) rather than away from people.

A two-minute introduction for a backend role:

“I’m a backend developer with five years of experience, the last three at a logistics company, where I work on the services that plan deliveries: Java and Kotlin with Spring Boot, PostgreSQL and Kafka.

The project I’m proudest of is our routing service. It was a single process that took up to 40 seconds to plan a day for a big city. I split the work by region, moved it onto a queue, and added caching for distance lookups; now it plans the same day in under 4 seconds, and we could onboard three new cities without new hardware. I also run our team’s on-call rotation and introduced blameless postmortems.

I’m looking for a role where I work closer to the product and to mobile teams, and your marketplace is exactly the kind of system I’d like to build: a lot of traffic, real-time updates, and a public API.”

Red flags to avoid

Red flagWhy it hurtsInstead
Criticizing a former boss or teamInterviewers wonder what you’ll say about themTalk about what you’re moving toward
“I’d have to check with my team” for every decisionNo ownershipSay what you would decide and why
Not knowing anything about the productLooks like you’d accept any jobUse the app before the interview
Bluffing about a technologyOne follow-up exposes it“I haven’t used it; here’s how I’d approach it”
Very long answersThe interviewer can’t cover their questionsTwo minutes, then let them ask

Questions that tell you about the team

Ask the same question to two interviewers and compare the answers: it shows whether the team agrees on how it works.

  • “Tell me about the last technical decision your team disagreed about. How was it settled?”
  • “What happened after the last serious incident?”
  • “How much of the roadmap is reserved for tech debt and platform work, and who decides?”
  • “What do the strongest senior engineers here do that others don’t?”
  • “What would make you say in a year that hiring me was a good decision?”
Deep diveWhy the last question matters more than it seemsInterview favorite

Interviewers write their feedback right after the interview, and the last few minutes are what they remember best. A candidate who asks a thoughtful question about the team’s release process or incident culture leaves the impression of someone already thinking like a teammate.

It also helps you decide. Vague answers about on-call (“it’s fine, not much happens”) or decisions (“the lead decides”) are signals about the job you’d actually be doing. A senior interview is a two-way evaluation, and acting like it is itself a senior signal.

  • Introduction (under two minutes): scope you own, the biggest decision you drove with its result, what you want next. It sets your level for the loop.
  • Ask about decisions, incidents and postmortems, on-call, API contracts between teams, tech-debt budget, success in a year; compare answers across interviewers.
  • “I don’t know” plus reasoning beats bluffing. Leaving = moving toward something, never criticizing people.

Check this part

  1. What belongs in a "Tell me about yourself" answer?

  2. The interviewer asks if you have questions. What is the best response?

  3. You're asked about a technology you haven't used. What is the strongest answer?

  4. Why ask two interviewers the same question about the team?

Open with a two-minute introduction: what you do now, one or two highlights with numbers, and why this role. Close with real questions about how the team works: releases, on-call, code review, decisions. Handle 'I don't know' honestly, and never criticize a former employer.

Key takeaways

  • Answer with one real story in STAR form; spend most of the time on what you did and why.
  • Say “I” for your part, use numbers, keep it to about two minutes.
  • Prepare six to eight stories: a hard problem, an incident, a disagreement, a mistake, a deadline, an improvement, learning fast, helping someone.
  • Describe others fairly, own mistakes, and end with what changed.
  • Prepare a two-minute introduction and two or three real questions for the end.
  • Answers are scored against competencies; senior evidence is scope, influence, deliberate trade-offs and lasting change.
  • Expect follow-ups on alternatives, data, reactions and what you’d change; approximate honestly, never invent.
  • Structure incidents as detect, mitigate, diagnose, prevent, communicate; disagreements as data, options, commit.
  • Use your introduction to set your level and your questions to evaluate the team.

Finished this page?Nice work, this page is complete!

Mark it as done to track your progress. It's saved in this browser, no account needed.

Its cards are now in your Bites review ⚡
Esc

Type to search the whole site.