Mock Interview, Scored: 429s at Peak Because One Customer's Batch Job Eats the Capacity
A shared support assistant returns 429s at peak because one customer's batch job uses up the capacity. A complete answer in seven moves scores 100 with a simple keyword scorer; a partial one scores 47.5 with fairness at zero; and a list of stuffed keywords is flagged and still scores 100. All answers were written for the lesson.
What you will learn
- Answer a noisy-neighbour 429 question in seven moves: clarify, algorithm, storage, fairness, overload, measure, trade-off
- Read a low score by the row at zero, not by the total
- See why a keyword-stuffed answer is flagged and still scores 100
- Split the work between a scorer (what's missing) and a person (does it hold up)
Before you start
- From Symptom to Pattern
- Mock ML Engineer Interview, Scored: A Rollout Question
Let's run a mock interview and score the answer while it's being given. The question starts from a symptom, the way many scale questions do. The answers here were written for this lesson, not taken from real interviews, and they're scored by a simple keyword scorer. You'll hear a complete answer move by move, and you'll see a score of 100 on an answer that doesn't deserve it.
The symptom
A support assistant is shared by many customers. At peak hours, people using the chat start getting 429 errors, the "too many requests" reply. The servers look healthy. One customer's batch job is running, and it's using up the shared capacity. The interviewer asks: how would you fix this?
Notice they didn't say "rate limiting". You have to get there from the symptom, which is exactly the skill in From Symptom to Pattern.
The answer, scored as it's given
The scorer checks seven moves, each with its weight. Here is the complete example answer, and the running total:
- Clarify (10). What's the limit for each customer, and how fast must chat stay?
- Algorithm (20). A token bucket for each customer, so short bursts can pass.
- Storage (15). One shared place for the count, so every gateway sees the same number.
- Fairness (20). Batch traffic gets its own quota, and some room stays free for chat.
- Overload (15). At the limit, the customer gets a clear reply and waits before trying again.
- Measure (10). Watch how often limits get hit.
- Trade-off (10). The shared counter adds a step to every call; in return, the limit stays consistent.
That's 100, and each move is a sentence you can defend.
Reading a low score
Here is the scorer's output for all four example answers, then the partial answer row by row:
Scores for the example answers
strong 100.0 strong density 0.24
partial 47.5 weak density 0.14
weak 10.0 weak density 0.04
stuffed 100.0 strong density 0.9 STUFFED?
Partial answer, points per criterion
clarify 5.0 / 10
algorithm 20.0 / 20
storage 15.0 / 15
fairness 0.0 / 20
overload 7.5 / 15
measure 0.0 / 10
tradeoff 0.0 / 10
Follow-ups for the partial answer
- How do batch jobs avoid starving chat?
- Which metric says the limit is too low?
The total, 47.5, doesn't teach you much. The rows do. Algorithm and storage are full marks. Fairness is zero out of twenty, and the whole problem was a batch job starving other users. Measure and trade-off are zero too. The row at zero is where the interviewer goes next, which is exactly what the two follow-ups ask.
One honest detail: the lesson calls this answer "partial", and the scorer's own level says "weak". That mismatch is left as it is.
A driving test in a parked car
An examiner sits beside you with a checklist: mirrors, signal, speed, parking. That's a good system. Now picture a learner in a parked car who only says the words, "mirrors, signal, speed, parking". If all you mark is the words, every box gets a tick. The car never moved, and the sheet says full marks.
A keyword scorer is that sheet. It's good at showing what you left out. It can't tell you whether you can drive.
Flagged, and still one hundred
The fourth example answer is stuffed: token bucket, sliding window, burst, redis, atomic, and on like that, without one sentence. Look at its row above. Full marks on all seven checks, 100, level strong.
The scorer also measures how much of an answer is keywords (density). It's 0.9 for the stuffed answer and 0.24 for the strong one, so only the stuffed answer gets the STUFFED? flag. But the flag takes no points away. The row still says 100 and strong. This scorer can be gamed.
It slips the other way too. The weak answer gets 10 points, all from fairness, and the only hit is the word "batch", in a sentence hoping the batch job finishes soon. Counting words can't tell you what an answer means.
What the person judges
To run a mock with a friend: answer out loud, let your friend check it against the seven moves, ask about whatever's missing, and mark you with the three questions on the right. There's no data here on how any company marks answers, so don't treat a number as a prediction. It's only a way to find your gaps. The same lesson, on a different question, is in Mock ML Engineer Interview, Scored: A Rollout Question.
Follow-ups and a simple rubric
- How do batch jobs avoid starving chat? Batch gets its own quota, and some room stays free for chat.
- Which metric says the limit is too low? How often each customer hits the limit, and whether well-behaved customers are getting rejected.
- Charge the quota before the call or after? As a design choice, reserve an estimate before the call and settle up after, so one huge prompt can't run past the limit.
Each answer has the same shape: a choice, a reason, and what you'd watch.
| Level | What it sounds like |
|---|---|
| Weak | The right words, with no reasons |
| Solid | All seven moves, with a reason behind each choice |
| Strong | All of that, changes sensibly when pushed, and names what it gave up |
The rubric is a suggestion, not any company's official sheet.
Recap
| Idea | What to remember |
|---|---|
| Symptom first | 429s at peak, healthy servers, one batch job |
| Seven moves | Clarify, algorithm, storage, fairness, overload, measure, trade-off |
| Low score | Read the row at zero; that's where the follow-ups go |
| Stuffed answer | Flagged, still 100: a keyword score can be gamed |
Try it yourself
Pick one design question, answer it out loud, and have a friend mark you with the rubric. Then ask them which of your moves would have scored zero.
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.