QA Interview
Amazon SDET Interview Questions and Preparation
Amazon SDET interview questions with strong sample answers, the real QAE loop shape, Leadership Principles behavioral prep, coding, and test design.
2,366 words | Article schema | FAQ schema | Breadcrumb schema
Overview
Amazon hires SDETs and Quality Assurance Engineers to own quality for a service, not to run test cases someone else designed. That shift shapes the entire interview. You will be asked to code, to design tests for ambiguous systems, and above all to prove through stories that you take ownership, dive deep, and hold a high bar. This guide walks the real QAE and SDET loop, the Leadership Principles that decide it, and sample answers strong enough to survive a Bar Raiser.
The technical questions are rarely the hardest part. Candidates who can reverse a linked list still fail because they cannot tell a crisp story about a time they disagreed with a senior engineer and were proven right. Amazon weighs behavior as heavily as code. Every round maps your answers back to a written rubric of Leadership Principles, and your interviewers compare notes in a structured debrief where one dissenting voice can sink an offer.
Whether you are targeting an SDET II role in Seattle or a QAE position in Bengaluru or Hyderabad, the structure is the same. Below you will find the loop shape, the principles that matter most for quality roles, and worked examples across behavioral, coding, and test-design questions. Read the sample answers for the shape of the reasoning, then rebuild each one with your own projects and your own numbers.
What Amazon Weighs in a QAE and SDET Loop
An Amazon quality engineer sits between development and release, and the role expects you to write production-grade automation, reason about distributed systems, and push back when quality is at risk. Interviewers are calibrated to look for signal, not trivia. They want evidence that you can own a testing surface for a service other teams depend on, decide what to automate and what to leave manual, and quantify the risk of shipping. A candidate who only recites Selenium syntax reads as a manual tester with a script, not an engineer who owns quality.
- Coding that a software engineer would respect: data structures, clean code, and the instinct to test your own solution.
- Test design under ambiguity: turning a vague prompt like `test a vending machine` into risk-ranked categories.
- Ownership signals: you drove a fix, set a standard, or prevented an incident, not just filed a ticket.
- Leadership Principle behavior backed by specific, quantified stories rather than hypotheticals.
The Loop Shape: From Online Assessment to Debrief
The process usually starts with an online assessment: one or two coding problems plus a work-styles survey, sometimes a short work simulation. Passing that earns a phone screen with an engineer who mixes a coding problem with a testing discussion. The onsite loop is four to five rounds, each roughly an hour, each owned by a different interviewer assigned a pair of Leadership Principles to probe. One of those interviewers is a Bar Raiser from outside the hiring team whose job is to protect the hiring bar and who effectively holds a veto.
Every round blends technical and behavioral. A coding round still opens or closes with `tell me about a time` questions. After the loop, interviewers write detailed feedback with a hire or no-hire vote and supporting examples, then meet in a debrief to reconcile. Because feedback is written before the debrief, vague or unstructured stories get exposed. Your job is to give each interviewer a clean, quotable example they can paste straight into their notes.
Leadership Principles Are the Actual Rubric
Amazon has sixteen Leadership Principles, and for quality roles a handful carry most of the weight: Ownership, Dive Deep, Insist on the Highest Standards, Have Backbone; Disagree and Commit, Bias for Action, Earn Trust, and Invent and Simplify. Interviewers do not ask you to define Ownership. They ask for a situation and then listen for the behavior. Prepare a portfolio of six to eight stories, each tagged to two or three principles, each following STAR (Situation, Task, Action, Result) with a concrete, measured result.
- Insist on the Highest Standards maps to flake budgets, escaped-defect reviews, and refusing to certify an untested release.
- Dive Deep is your root-cause stories: you found the real cause, not a symptom.
- Ownership is quality work you drove end to end, including the parts outside your job description.
- Have Backbone is disagreeing with data, then committing fully once a decision is made.
Behavioral Questions With STAR Answers
Q: `Tell me about a time you disagreed with a developer about a bug's severity and were later proven right.` A strong answer stays factual and humble. Situation: during a checkout release, a developer marked a rounding error as low severity because it only hit multi-currency carts. Task: I owned the release sign-off. Action: rather than argue opinions, I pulled order data showing multi-currency carts were eight percent of revenue and built a failing test reproducing a two-cent overcharge. I raised it with data and proposed a one-day fix. Result: we fixed it before release, and I added the reproduction to the regression pack.
That answer scores because it shows Have Backbone (pushed back with data), Dive Deep (reproduced the exact defect), and Earn Trust (no blame, a shared safeguard afterward). Notice the structure: one sentence of situation, a task that shows your ownership, specific first-person actions, and a measured result with a durable follow-up. Avoid the word `we` when the interviewer needs to hear what you personally did.
Q: `Describe a time you delivered a testing result with incomplete information under a hard deadline.` Answer with Bias for Action: I was asked to certify a mobile release with only sixty percent of regression executed. I ranked the remaining suites by risk, ran the top payment and login journeys manually in ninety minutes, documented exactly what was unexecuted and the associated risk, and gave a conditional sign-off with a staged rollout to five percent of users plus a monitoring plan. Result: the rollout was clean, and leadership had an honest risk picture rather than a false green.
Coding Round: Solve It, Then Test It
Amazon coding for SDETs is real but rarely the hardest tier. Expect arrays, strings, hash maps, and occasionally trees or a simple graph, at a difficulty a strong mid-level engineer clears. The differentiator is that you are expected to test your own code out loud, because testing is your craft. Talk through complexity, then enumerate cases as executable examples.
Q: `Given an array of integers, return the indices of the two numbers that add to a target.` Talk through brute force at quadratic time, then give the one-pass hash-map solution in linear time and linear space, storing each value's complement as you scan. Then, without being asked, test it: an empty array, a single element with no answer, duplicates like `[3,3]` targeting six, negative numbers, and a no-solution case. Write those as assertions, not prose. That final move, converting your reasoning into a small test matrix, is the exact signal the round exists to catch.
- State time and space complexity before you are asked.
- Name your edge cases: empty, single element, duplicates, negatives, overflow, no-solution.
- Write self-tests as concrete input and expected-output pairs, not vague descriptions.
- If you finish early, discuss how you would property-test or fuzz the function.
Test Design: Turning Ambiguity Into a Risk Map
The signature Amazon question is `how would you test X`, where X is deliberately under-specified: an elevator, a vending machine, a URL shortener, the 1-Click order button. The interviewer is watching whether you clarify requirements before testing and whether you structure coverage by risk rather than listing random cases.
Q: `How would you test an elevator control system?` Start by clarifying: how many floors and cars, what is the maximum load, what are the safety and failure requirements. Then structure your coverage. Functional: call a floor, doors open and close, the correct car is dispatched. Boundary: top and bottom floors, over-capacity, simultaneous calls. Concurrency: multiple cars, competing requests, dispatch fairness. Safety and failure states: power loss, cable fault, blocked door sensor, someone trapped. Prioritize by risk to humans first, then throughput. Finally, ask what testability hooks exist: can I simulate sensors, inject faults, and observe internal state. Asking for observability is what separates an SDET answer from a checklist.
Test Strategy and Ownership at Scale
Senior QAE rounds probe how you own quality across teams. Q: `Design the automation strategy for a service twenty teams depend on. What do you own versus push to them?` A strong answer draws the boundary clearly: you own provider verification and the health of your own service, while consumers own contract tests describing how they use you. You add synthetic monitoring and canaries in production because pre-production can never cover twenty real usage patterns, and you publish quality SLAs plus a versioning and deprecation policy so dependents are never surprised. The theme Amazon rewards is that quality at scale is enablement and clear contracts, not a gate you personally stand at.
Another favorite: `Your suite has a two percent flake rate across five thousand tests and leadership says ignore it.` Make the case with numbers. Two percent of five thousand is roughly one hundred misleading signals per run, which erodes trust and trains engineers to rerun blindly until green, hiding real regressions. Quantify the rerun compute and the human triage hours, then Insist on the Highest Standards: propose a quarantine policy, a flake budget, and an owner for each quarantined test with an SLA to fix it or delete it.
The Bar Raiser Round
One interviewer in your loop is a Bar Raiser, a trained interviewer from another org whose only mandate is to keep the bar high and who can veto an offer regardless of how the hiring team feels. Bar Raisers probe depth relentlessly. They will take one of your stories and drill into it, asking what you specifically did, what the data was, and what you would do differently. Thin or exaggerated stories collapse here. The defense is genuine depth: pick real projects where you can honestly answer five layers of follow-up.
Bar Raisers also watch for growth. A candidate who can describe a failure, what they learned, and the durable change they made afterward reads as someone who raises the bar around them. Rehearse your stories out loud with a friend who keeps asking `and then what did you do, specifically?` until you reach the point where you are describing real actions rather than a polished summary.
How the Debrief Decides Your Offer
After the loop, every interviewer submits written feedback with an inclination and evidence before the group meets, so no one anchors on the room's mood. In the debrief they reconcile competing signals, and the Bar Raiser facilitates toward the bar rather than toward easy consensus. This is why one weak round with vivid negative examples can outweigh several lukewarm positives. Your goal in each hour is to hand your interviewer at least one crisp, quotable example per Leadership Principle they own, so their written note argues for you even when you are not in the room.
A Four-Week Preparation Plan
Split your prep across code, test design, and stories. Weeks one and two: solve two coding problems a day at easy-to-medium difficulty and force yourself to write a test matrix for each. Practice five `how would you test X` prompts and structure every one as clarify, then functional, boundary, concurrency, failure, then testability. Weeks three and four: write eight STAR stories, tag each to two or three Leadership Principles, and rehearse them against aggressive follow-up until they survive a Bar Raiser drill.
- Keep a story bank in a spreadsheet: situation, action, result, metrics, and the principles each covers.
- Record yourself answering `tell me about a time you failed` and cut the parts where you sound defensive.
- For every coding solution, ship a test list. Make testing a reflex the interviewer can see.
- Prepare one deep root-cause story you can defend through ten minutes of follow-up.
Frequently Asked Questions
Is the Amazon SDET interview more about coding or behavioral?
Both, but behavioral is the common failure point. Strong engineers get rejected for thin Leadership Principle stories more often than for a missed algorithm. Prepare at least eight quantified STAR stories alongside your coding practice.
How hard is the coding in an Amazon SDET interview?
Generally easy-to-medium: arrays, strings, hash maps, occasionally a tree. The twist is that you are expected to test your own code out loud with a real matrix of edge cases, since testing is the job.
What is a Bar Raiser and can they reject me alone?
A Bar Raiser is a trained interviewer from outside the hiring team who protects the hiring bar. They effectively hold a veto, so their assessment can block an offer even when the hiring manager is enthusiastic.
Which Leadership Principles matter most for QA roles?
Ownership, Dive Deep, Insist on the Highest Standards, Have Backbone; Disagree and Commit, Bias for Action, and Earn Trust show up most. Tag each of your stories to two or three of these.
How do I answer `how would you test an elevator`?
Clarify requirements first (floors, capacity, safety modes), then structure coverage by risk: functional, boundary, concurrency, and failure states, prioritizing human safety. Close by asking what testability hooks exist.
What is the SDET online assessment like?
Usually one or two coding problems plus a work-styles survey and sometimes a short work simulation. Treat the coding portion seriously and, where the format allows, state your test cases.
How long is the Amazon SDET loop?
The onsite is typically four to five one-hour rounds, preceded by a phone screen and an online assessment. Each round is owned by a different interviewer with assigned Leadership Principles.