← All Series
Interview Series
ML System Design Questions
End-to-end systems: recommendation, forecasting, anomaly detection, and production vision. Each answer opens with clarifying questions and closes with an interviewer scorecard.
Clarifying QuestionsCapacity Math45-Min PlaybooksScorecards
153 questions

All Questions
| ID | Title | Companies | Topics | Format | Level |
|---|---|---|---|---|---|
| MSD0001 | Real-Time Factory Product Inspection You are tasked with designing and deploying a deep learning-based computer vision system for real-time quality control on a high-speed manufacturing assembly | NVIDIA, Google, Amazon | CV, Infra, MLOps | System Design | Hard |
| MSD0002 | Image to Video Classification You are given a pretrained image classification network, such as ResNet. How would you adapt it to perform video classification, ensuring that both spatial an | Netflix, Apple, Walmart | CNN, CV, Transformer | Model Design | Hard |
| MSD0003 | Spam Email Detection Design an end-to-end Machine Learning system to effectively detect and filter spam emails in a high-volume email service. Describe how you would design, train | Amazon, NVIDIA, Google | Metrics, MLOps, NLP | System Design | Hard |
| MSD0004 | Long Document Attention Scalability The standard Transformer’s self-attention mechanism has a computational and memory complexity of , where is the sequence length. For long document class | Accenture, Apple, Netflix | NLP, RNN, Transformer | Model Design | Hard |
| MSD0005 | Surveillance Video Anomaly Detection How would you design an end-to-end surveillance system that automatically detects and alerts security personnel to ‘anomalous events’ (e.g., break | DoorDash, Google | CV, Metrics, Safety | System Design | Hard |
| MSD0006 | Video Recommendation System | Google, Meta, Amazon | CV, MLOps, Ranking | System Design | Hard |
| MSD0007 | Demand Forecasting System for Retailer Design a demand forecasting system for a large retail company like Costco, Walmart, or Target. The system should predict future product demand across stores a | Walmart, Netflix | Forecast, MLOps, Ranking | System Design | Hard |
| MSD0008 | Cancer Cell Segmentation for Digital Pathology A digital pathology lab scans tissue biopsies into gigapixel whole-slide images (WSI). Pathologists currently hunt for tumor regions by panning and zooming ac | Apple, Qualcomm | CV, Data Eng, Transformer | Model Design | Hard |
| MSD0009 | Restaurant Recommendation System for Food Delivery | Robinhood, Airbnb, Uber | MLOps, Ranking, Retrieval | System Design | Hard |
| MSD0010 | Grammar Checking Writing Assistant You are building a writing-assistance product like Grammarly. As a user types in a browser extension, email client, or mobile keyboard, the system underlines | Grammarly, Meta, Apple | MLOps, NLP, Safety | System Design | Hard |
| MSD0011 | LLM Evaluation Pipeline Your team ships an LLM-powered product: a customer-support copilot built on a foundation model API, similar in spirit to how GitHub evaluates models for Copilot | Anthropic, OpenAI, xAI | LLM, MLOps, NLP | System Design | Medium |
| MSD0012 | Wake-Word Detection Design a wake-word detection system (e.g., Amazon’s “Alexa” or Apple’s “Hey Siri”) that spots a trigger phrase in a continuo | Amazon, Apple, Google | Metrics, MLOps, NN | System Design | Hard |
| MSD0013 | Machine Translation at Scale Design a machine translation system for a product like Google Translate: text translation between 100+ language pairs, from high-resource pairs like English-Spa | Oracle, Meta, Google | LLM, MLOps, NLP | System Design | Hard |
| MSD0014 | Music Identification Design a music identification system like Shazam: a user holds up a phone in a noisy cafe, records a 10-second snippet, and the app names the song within a seco | Apple, Google, Amazon | CV, MLOps, Retrieval | System Design | Hard |
| MSD0015 | LLM Request Routing Design the routing layer for an AI assistant that chooses, per request, between a small cheap model and a large expensive one. ChatGPT’s GPT-5 does exactl | Databricks | LLM, MLOps, NLP | System Design | Hard |
| MSD0016 | Scanned Document OCR Design an OCR system that converts millions of scanned documents (contracts, invoices, old books, fax-quality pages) into clean, structured text for a document | Google, Mistral AI, Anthropic | CV, LLM, MLOps | System Design | Hard |
| MSD0017 | Meeting Summarization Design the system behind Zoom AI Companion’s meeting summary: after a 45-minute video meeting, every participant receives a recap, the decisions made, and | Google, Meta, Apple | LLM, MLOps, NLP | System Design | Hard |
| MSD0018 | Ads Policy Violation Detection Design an end-to-end ML system to detect ads selling weapons and other policy-violating goods on a large ads platform like Meta or Google Ads. Millions of new a | OpenAI, Meta, Google | CV, Metrics, VLM | System Design | Hard |
| MSD0019 | On-Device Small LLM Polite Design a small LLM that runs entirely on a phone for a privacy-preserving assistant, in the style of Apple Intelligence’s on-device foundation model or Ge | Google, Meta, Apple | LLM, MLOps, NLP | Model Design | Hard |
| MSD0020 | Distributed Training System | Meta, Anthropic, OpenAI | Infra, MLOps, NLP | System Design | Hard |
Unlock the full answers.
Playbooks, deep dives, follow-up probes, and scorecards are member content.