Design Product Selection for a Personalized Weekly Deals Email

Last updated: November 29, 2026

Quick Overview

Design the ML system that picks six products for each customer's weekly Amazon deals email, balancing relevance, deal quality and email fatigue.

Amazon
ML System Design
Data Scientist
Amazon
November 29, 2026
Data Scientist
Onsite
ML System Design
Easy

0

0

0 solved


Design the ML system that picks six products for each customer's weekly Amazon deals email, balancing relevance, deal quality and email fatigue.

An approachable ML system design prompt in the style of an Amazon onsite for Data Scientists or MLEs on marketing and CRM teams. The interviewer wants a sensible batch pipeline, a clear objective, and attention to unsubscribes and deal eligibility rather than deep infrastructure.

What the Interviewer Expects
  • Frames the problem as batch scoring rather than real-time
  • Defines objective as incremental purchases with unsubscribe guardrails
  • Uses simple, strong features from purchase and browse history
  • Filters for deal validity at send time
  • Plans a holdout to measure incremental value
Key Topics to Cover
batch scoring
propensity models
uplift and holdouts
email fatigue
deal eligibility
How to Approach This
  1. Start by mapping the business objective to a concrete ML objective and metric.
  2. Cover the full pipeline: data collection, feature engineering, model selection, training, serving.
  3. Discuss online vs offline evaluation. Plan an A/B test to validate real-world impact.
  4. Address the serving latency budget and whether batch or real-time inference is needed.
  5. Think about the data flywheel: how user feedback improves the model over time.
Possible Follow-up Questions
  • How do you avoid recommending items the customer already bought?
  • How would you decide whether to send the email at all?
  • How do you measure incremental revenue instead of attributed revenue?
  • What changes if deals expire mid-week?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice ML System Design Problems
Sample Answer
M
  • One email a week, six products per customer, tens of millions of customers.
  • Products must be live deals at send time, in stock, and shippable to the customer.
  • Objective: incremental purchases at...
L
  1. Deal pool: pull active deals for the week (Lightning Deals excluded if they expire before send), with discount depth, rating and stock.
  2. Candidates per customer (about 200): deals in cate...

Submit Your Answer
Markdown supported