Learning path: Prepare for ML Engineer Interviews · Step 2 of 13
The Answer Framework for Technical Interviews: Five Moves, Scored Out of 24
Good interview answers share one shape: a 30-second answer, the mechanism, the trade-off, the metric and the failure test. Worked on one question about a batch job starving everyone else, with a 24-point example rubric.
What you will learn
- Answer any technical question in five moves: short answer, mechanism, trade-off, metric, failure test
- Stop after the first move and let the interviewer choose where to go deeper
- Apply the moves to a real question about one customer starving the others
- Read a six-category, 24-point rubric and know which follow-up tests which move
Before you start
- Some experience building or running a backend or ML service
This article isn't about what to say in an interview. It's about the shape of the answer, because good answers use the same five moves whatever the question is. Everything else in interview preparation builds on it.
The breaking moment
Here's something that happens a lot. The question is: "One customer's batch job is starving everyone else. Fix it."
The candidate says: Redis, Kafka, a gateway, sharding, more GPUs. Every one of those is a real tool. What the interviewer writes down is: five tools, but which problem does each one fix? This person knows a lot, and still scores low. Knowing is not the same as answering.
Five moves, in this order
- The 30-second answer. The whole idea, short.
- The mechanism. How it really works.
- The trade-off. What it costs you, because everything costs something.
- The metric. What proves that it worked.
- The failure test. How you break it on purpose to check it.
One small tip: after move one, stop, and let them ask for more. They'll tell you where they want the depth.
The five moves on one question
Back to the batch job that's starving everyone else.
Move 1: the 30-second answer
"Give each tenant its own token bucket, so the batch job waits and chat stays fast." A tenant is simply one customer, and a token bucket is a counter that refills over time. Then stop.
Move 2: the mechanism
Chat requests go in a fast lane, straight to the model. The batch job goes in a slow lane, so it still gets through, only later. Two lanes, with one shared limit per tenant.
Most people stop here, but the marks are still ahead of you.
Move 3: the trade-off
A shared counter adds one extra hop on every request, and the batch job finishes later. Say that yourself, before they ask.
Move 4: the metric
The 429 rate per tenant, and the top tenant's share of the traffic. 429 is the HTTP "slow down" error (Too Many Requests).
Move 5: the failure test
Replay that same batch job at peak. Chat has to hold. To be honest, moves three to five are where senior candidates separate.
How it gets scored: six categories, 24 points
One common way to score a design answer is a rubric with six categories, each marked 0 to 4:
| Category | Marks |
|---|---|
| Framing and assumptions | 0-4 |
| Architecture and data flow | 0-4 |
| Reliability and security | 0-4 |
| Quality and evals | 0-4 |
| Cost and scale | 0-4 |
| Clarity and trade-offs | 0-4 |
Six times four is twenty-four. Example bands to read the total:
The follow-ups
Then come the follow-ups, and each one tests a different move:
- "Which metric proves that?" Name it, and say where it starts and stops.
- "What fails when the queue redelivers?" They want a failure walked through your own design.
- "What's the cheaper baseline?" What you would try before any of this.
Common mistakes
- Listing tools. Every tool needs the problem it fixes next to it.
- Talking for five minutes after move one. Give the short answer, then stop and let them steer.
- Skipping the cost. If you don't name the trade-off, the interviewer will, and it counts against you.
- No way to prove it. A fix with no metric and no failure test is a guess.
Recap
| Move | Say |
|---|---|
| 1 30-second answer | The whole idea first, then stop |
| 2 Mechanism | How it really works |
| 3 Trade-off | What it costs |
| 4 Metric | What proves it worked |
| 5 Failure test | How you would break it |
Same five moves, any question. For questions that start from a problem you can see ("cost doubled", "p95 is high"), pair this with From Symptom to Pattern.
Try it yourself
Pick a system you've built. Write one line for each of the five moves on the question "how would you stop it falling over at peak?", then say it out loud and stop after the first line.
Related course on Udemy
Machine Learning Engineer: From First Model to ML Engineer
Learn machine learning in Python, then ship it: data analysis, regression, classification, tuning, deployment and MLOps.View on Udemy ↗: Machine Learning Engineer: From First Model to ML Engineer (paid course, opens in a new tab)Related posts
The ML Engineer Interview Loop: Five Rounds, What Each One Looks For, and a Simple Rubric
The rounds you go through for one ML engineer job: recruiter screen, coding, ML depth, ML system design and behavioural. What each round looks for, the follow-up it brings, and a four-check rubric for your own answers.
From Symptom to Pattern: How to Answer "Which Pattern Would You Use?" in an Interview
Start from what you can see, not from the pattern you know. A four-step rule (symptom, cost, metric and failure test, ship first), a symptom table, one worked answer for 429s at peak, and the trap of using a prompt as a lock.
The ML System Design Framework: Eight Steps, in Order, on a Spam Filter
One repeatable route through any ML system design question: goal, metric, data, features, model, serving, monitoring and failure. Worked on an email spam filter, with the follow-ups and a three-check rubric.
ML System Design Interview: Fraud Detection for Card Payments, in Eight Steps with Numbers
A full interview answer to "design a fraud detection system for card payments": a do-nothing model at 98.8% accuracy that catches 0 of 71 frauds, a cost metric, a cut-off that moves cost from 7100 to 6610, a 50 ms budget and a rules fallback.