Learning path: Prepare for ML Engineer Interviews · Step 9 of 13
Mock ML Engineer Interview, Scored: A Rollout Question Where the Labels Arrive Weeks Late
One ML engineer interview question, scored row by row. A first answer (A/B test, watch accuracy for a week) gets 4 of 20; a rebuilt answer along a timeline gets 18 of 20. Plus why a memorised answer and a bare word list fool simple scoring.
What you will learn
- Score an interview answer on five rows: clarify, baseline, trade-off, failure, evidence
- See why "A/B test and watch accuracy for a week" scores 4 of 20 when labels are weeks away
- Build an answer along a timeline (clarify, shadow, canary, wait, widen) that scores 18 of 20
- Explain why proxies can stop a rollout but can't approve one
Before you start
- Interview Answer: Safe Model Rollout With Late Labels
- Shadow, Canary and Rollback
Let's sit through one mock interview for an ML engineer job and score it as we go. We'll score a first answer, build a better one, score that too, and finish with the follow-ups. The question and both answers were written for this lesson, and the scores are mine, given by hand for illustration.
The question
You've trained a new fraud model, and it beats the old one on your test data. You put it out on a small slice of payments, and the first week looks healthy: it's fast, and it flags about as many payments as before.
But whether a payment was really fraud, you often don't know yet. That comes later, when customers dispute a charge, and that can take weeks. Then the disputes come in, and the new model has been missing more fraud than the old one. So the interviewer asks:
How do you roll out a new model safely, when the labels arrive weeks late?
Five rows to score it
| Row | The question behind it |
|---|---|
| Clarify | Did you ask what you needed to know? |
| Baseline | What are you comparing against? |
| Tradeoff | What does your choice cost? |
| Failure | How could this go wrong? |
| Evidence | What would you measure? |
Each row gets 0, 2 or 4. 0 means you never touched it, 2 means you touched it in general words, and 4 means you tied it to this question. That makes 20 at the top. Our bands: 16 and up is strong, 10 and up is a pass, below that is weak. Those bands are our choice, not an industry standard.
The first answer: 4 of 20
"I'd run an A/B test, watch the accuracy for a week, and if it looks good, I'd roll it out to everyone."
Sounds reasonable. Row by row: it never asked a question, so clarify 0. It compares against the old model in general words ("A/B test"), so baseline 2. No cost mentioned: tradeoff 0. Nothing about going wrong: failure 0. It names a measure ("accuracy"), so evidence 2. That's 4 of 20, weak.
And here's the trap. Accuracy needs labels, and the labels are weeks away. After one week you're looking at a number you mostly don't have yet.
A better answer, along a line of time
- Clarify. How late do the labels come, and what does one wrong decision cost?
- Shadow. The new model scores every payment, the old model still makes the decisions, and we compare the two.
- Canary. A small slice of payments goes to the new model, with the old model as the baseline. We watch proxies like the flag rate and speed, and a rule sends us back to the old model if they move too far.
- Wait. Hold that slice until the dispute labels arrive, and compare both groups on true outcomes.
- Widen, only then.
And say the price out loud: waiting is slower, and that small slice carries some risk. Proxies can also look healthy while outcomes get worse, so proxies can stop a rollout, but they can't approve one. The mechanics behind each step are in the safe rollout answer and Shadow, Canary and Rollback.
The second score: 18 of 20
Same five rows, same scorer. It asked about the delay and the cost: clarify 4. It kept the old model as the comparison: baseline 4. The price is named: tradeoff 4. It says how proxies can fool you: failure 4. Evidence 2: it names what to measure, but never says how far a number can move before we stop. That's 18 of 20, strong, and that 2 is the one thing to fix.
Why a person has to score
In a small simulation, with answers written for this lesson, one memorised answer got 20 on the prompt it was written for and 10 on a new prompt. And a list of bare words got 20 from a simple word checker.
So these points belong to this question, and a person has to do the scoring. An 18 describes one answer, on one day. It isn't a promise of anything.
The follow-ups
- How do you know a proxy can be trusted?
- Your proxies all look fine, but the first labels look worse. Do you roll back?
- You block the payments the model flags, so you never see whether they were fraud. How do you judge those?
Score the follow-up answers like this: 0 for no answer or the same line repeated; 2 for a general idea with no specifics; 4 for a concrete step, tied to this fraud case, where you can say what would change your plan. That last part is what you can't memorise in advance.
Recap
| Idea | What to remember |
|---|---|
| Five rows | 0, 2 or 4 each; 4 means tied to this question |
| The trap | Accuracy after a week needs labels that aren't there yet |
| The timeline | Clarify, shadow, canary, wait for true labels, then widen |
| Proxies | They can stop a rollout; they can't approve one |
Try it yourself
Have someone ask you this question. Answer it out loud, then score the five rows with a quote from your answer beside each one.
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.
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.
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.