internalsGet Pro

Module 19 · Lesson 8 of 9Pro

Mock interview: designing a recommendation system

Level
Advanced
Topic
Machine learning engineering interviews
Reading time
29 min

When you finish this page you can

  1. Turn an open recommendation prompt into product answers that each change the design, then size it with five estimates.
  2. Explain candidate generation with two towers and ranking as one request path, with the 100 ms budget split across its stages.
  3. Defend what the ranker trains on, how its feedback loop is broken, and which offline and online metrics judge it.
  4. Handle cold start and follow-up questions by naming the changed constraint and the one decision it moves.

Builds on 3 lessons

Start with lesson 417 min
  1. ML system design interviews: a framework17 min
  2. Candidate generation and ranking: the two-stage design17 min
  3. Design: product recommendations like Amazon28 min

It’s minute 22 of a 45-minute round. You have drawn a two-tower model, a ranking model and a feature store. The interviewer points at the board: “A customer opens the app at the festival peak. Which of these boxes run, in what order, and how many milliseconds does each one get?” Your diagram has seven boxes and no numbers on it.

Our biggest sale ever · Black Friday

Flat 50% Off

Pro

Continue reading

Unlock every course, now and later

  • System Design, live
  • AI Engineering, live
  • Data Engineering, live
  • Machine Learning Engineering, live
  • Inference Engineering, coming soon
  • AI Research, coming soon
  • Performance Engineering, coming soon
  • Agent & Harness Engineering, coming soon
  • LLM Fine-tuning, coming soon
  • LLM Pre-training & Post-training, coming soon
  • Reinforcement Learning, coming soon
  • AI Infrastructure & Platform Engineering, coming soon
  • AI Evaluation & Safety, coming soon
  • Forward Deployed Engineering, coming soon
  • Cloud Computing, coming soon
  • DevOps, coming soon

50% off · Annual and Lifetime

BLACKFRIDAY50Applied at checkout

Choose a plan