ML System Design Interview
ML system design is not a modeling exam. It’s a product + data + production reliability exam.
A template that works
- Define product goal and measurable metrics
- Define data sources and labeling strategy
- Define model approach (baseline first)
- Define training pipeline (features, freshness, leakage controls)
- Define serving (latency, caching, fallbacks)
- Define evaluation (offline + online)
- Define monitoring (drift, data quality, silent failures)
- Define iteration + rollback
Reference anchors:
- Rules of ML emphasizes “pipeline first, simple model first”.
- ML Test Score gives a rubric for tests and monitoring.
Common prompts
- recommendations / ranking
- fraud/spam detection
- search relevance
- forecasting
- personalization
- LLM application with retrieval
What interviewers want to hear
- baselines and iteration plan
- how you avoid leakage
- how you handle feedback loops
- how you monitor and rollback safely
Failure modes
- jumping to deep learning without a baseline
- no plan for labels and data quality
- no monitoring or rollback plan
- optimizing offline metrics without product constraints