Design Coupon and Promotion Abuse Detection for Prime Day

Last updated: November 29, 2026

Quick Overview

Prime Day promotions such as first-order credits and limited-per-customer coupons attract abusers who create many accounts to redeem them repeatedly. Design a system that detects and blocks this abuse without slowing checkout.

Amazon
ML System Design
Machine Learning Engineer
Amazon
November 29, 2026
Machine Learning Engineer
System Design Round
ML System Design
Medium

0

0

0 solved


Prime Day promotions such as first-order credits and limited-per-customer coupons attract abusers who create many accounts to redeem them repeatedly. Design a system that detects and blocks this abuse without slowing checkout.

An ML system design question in the style of Amazon's promotions abuse and buyer risk teams, set during a peak event. The interviewer looks for entity linking across accounts, graph features, a decision point that fits checkout latency, and a plan for a traffic surge where yesterday's model may not hold.

What the Interviewer Expects
  • Identifies that abuse is about linked identities, not single accounts
  • Builds an identity graph from shared devices, addresses and payment instruments
  • Scores at redemption time with precomputed cluster features
  • Separates prevention at checkout from later clawback
  • Plans for peak load and new abuse patterns during the event
  • Measures promotion dollars saved against good customers blocked
Key Topics to Cover
entity resolution
graph features
connected components
real-time scoring
peak event readiness
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 handle households that legitimately share an address?
  • What happens when abusers use fresh devices and gift cards?
  • How do you retrain during a two-day event?
  • Which decisions should be reversible after the fact?
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
  • Promotions: one-per-customer coupons, new-account credits, limited quantity deals.
  • Decide at redemption (checkout) within about 30 ms added latency.
  • Actions: allow, deny promotion (order still p...
L
  1. Identity graph: nodes are accounts; edges are shared device fingerprints, normalized shipping addresses, payment instruments, phone numbers and email patterns. Built in batch daily with streami...

Submit Your Answer
Markdown supported