Black Friday Sale: 20% off Premium yearly · $105.60 for the first year · until Monday, Nov 30Get it

Deep-ML
Learn
Problems1,200+ hands-on ML problemsLearning PathA guided route through the fundamentalsLabsInteractive labs on real techniquesProjectsBuild a GPT, an RL agent, CUDA kernelsCollectionsCurated problem sets and videosMathPen-and-paper math for MLIntuitionInvent the idea behind the formula yourselfPlaylistsYour own problem lists, shareableStudy AssistantAn AI teacher that knows your progress
Interview Prep
Compete
ContestsFresh problem sets, ranked liveLeaderboardWhere you stand, globallyBuddiesSolve with a friend: streaks, a weekly board, chat
Discuss
Deep-Path
Premium

      ML System Design (General) Interview Prep

      How to prepare for ML System Design (General) interviews

      An ML System Design interview prep track covering the full production stack: translating vague goals into ML problems, designing recommendation/search/ads/trust-and-safety/LLM systems end-to-end, and defending metric, data, and scaling trade-offs. The bulk is open-ended design and research-style discussion, anchored by a few concrete implementation drills.

      ML System Design interview questions

      Master end-to-end ML system design: framing, retrieval-ranking funnels, serving, and the ML-judgment trade-offs interviewers probe.

      1. 1. Framing, Requirements & the Meta-Frameworkfirst ~5-10 min of a 45-60 min round

        The opening phase every strong candidate controls: translate a vague product goal into a measurable ML problem, ask clarifying questions (scale, latency budget, catalog size, real-time vs batch), decide whether ML is even warranted, and lay out the framework you'll drive the rest of the session with. Interviewers score whether you frame before you build.

        • Walk me through your framework for approaching any ML system design problem.
        • How would you translate this vague business goal into a well-defined ML problem?
        • What clarifying questions do you ask before you start designing?
        Show 4 moreShow fewer
        • How do you choose success metrics for this system?
        • Estimate the scale: QPS, data volume, storage, and the latency budget.
        • Would you even use ML for this, or would a rule-based system suffice?
        • How would a staff-level answer to this problem differ from a mid-level one?
      2. 2. Data, Features & Implementation Componentscomponent deep-dives within the round

        The implementation-flavored parts an interviewer zooms into: feature engineering, the labeling/training-data pipeline, online+offline feature consistency, real-time feature serving, and occasionally a from-scratch model or the retraining-orchestration DAG. Rarely live-coded, but you must be concrete about how each component is built.

        • Engineer the features (user / item / context / cross) for this model.
        • How would you build the labeling / training-data-generation pipeline?
        • Implement online + offline feature computation with consistency (and <10ms online serving).
        Show 2 moreShow fewer
        • Train Logistic Regression with Gradient Descent
        • Design the retraining pipeline (reproducibility, failure recovery, hyperparameter tuning).
      3. 3. End-to-End System Design Problemsthe bulk of the 45-60 min round

        The core: design a full production ML system end-to-end. Recurring families are recommendation, feed/search ranking, ads CTR, trust & safety/fraud, CV/NLP/speech, marketplace/forecasting, and - increasingly - LLM/RAG and ML-infra. You drive: framing, data, features, model, training, evaluation, serving (multi-stage retrieval -> ranking), monitoring, and scale.

        • Design YouTube / Netflix video recommendations.
        • Design the Facebook / Instagram news feed ranking system.
        • Design Instagram Reels / TikTok short-video recommendation.
        Show 41 moreShow fewer
        • Design 'People You May Know' / a friend recommendation system.
        • Design Amazon / e-commerce product recommendation.
        • Design Airbnb listing ranking / similar-listing recommendations.
        • Design a search ranking system.
        • Design product search ranking for an e-commerce platform.
        • Design a visual / image search system.
        • Design autocomplete / typeahead / query suggestion.
        • Design an ad click-through-rate (CTR) prediction system.
        • Design an ad ranking and auction system.
        • Design a harmful / abusive content detection system.
        • Design a spam / abuse detection system.
        • Design a payments fraud detection system (Stripe-like).
        • Design a general content moderation pipeline.
        • Design an ETA prediction system (Uber / DoorDash).
        • Design a dynamic / surge pricing system.
        • Design a chatbot / AI customer-support assistant.
        • Design an LLM evaluation pipeline.
        • Design an agentic system with tool use.
        • Design a hallucination detection / guardrails system for LLM outputs.
        • Design a feature store.
        • Design training for a model that doesn't fit on a single GPU.
        • Design a model-serving platform.
        • Design an ML monitoring / observability system.
        • Design an event recommendation system (e.g., Eventbrite).
        • Design a related-pins / similar-items system (Pinterest).
        • Design a semantic search system.
        • Design a conversion (pCVR) prediction system.
        • Design a bot / fake-account detection system.
        • Design an image classification service.
        • Design an object detection system.
        • Design a Google Street View blurring system (faces / license plates).
        • Design a machine translation system.
        • Design a speech recognition / voice assistant system.
        • Design a demand forecasting system.
        • Design a delivery / dispatch or rider-matching system.
        • Design a churn prediction system.
        • Design a price / value estimation model (Zillow home price, pay-range).
        • Design a code-completion system (Copilot).
        • Design a semantic-caching layer for LLM APIs.
        • Design an experimentation / A-B testing platform.
        • Design a vector database.
      4. 4. Conceptual Follow-Ups & Trade-Offsprobes throughout the round

        The ML-judgment follow-ups interviewers push on: metric choice (offline vs online, NDCG/AUC/PR-AUC/NCE, calibration), negative sampling, temporal splits, class imbalance, cold start, position/popularity bias, feedback loops, drift vs concept drift, retraining cadence, deployment strategies, and scaling trade-offs. In 2026, evaluation methodology is weighted heavily.

        • Why use candidate generation + ranking instead of one model?
        • How does a two-tower retrieval model work, and when do you use it?
        • Why might offline metrics improve while online metrics don't?
        Show 19 moreShow fewer
        • When do you use NDCG vs MAP vs MRR? AUC vs PR-AUC?
        • How do you generate negatives when you only observe positive signals?
        • What are the trade-offs of implicit vs explicit feedback labels?
        • Why should you never use random splits on time-series interaction data?
        • How do you handle severe class imbalance (e.g., fraud at <0.1%)?
        • How do you handle new users and new items (cold start)?
        • How do position bias and popularity bias arise, and how do you correct them?
        • Data drift vs concept drift - how do you detect each, and when do you retrain?
        • What is training-serving skew and how do you prevent it?
        • Compare shadow deployment, canary, A/B rollout, and rollback.
        • Decompose a sub-100ms serving latency budget.
        • Why start with a simple baseline, and why logistic regression before GBDT before deep nets?
        • When would you pick GBDT over a deep model (and vice versa)?
        • How does your design change at 10x / 100x / 1000x scale?
        • Why normalized cross-entropy for CTR, and what is calibration?
        • How do feedback loops / filter bubbles form, and how do you break them?
        • When would you use bandits / exploration in a recommender?
        • When do you quantize, prune, or distill a model?
        • How do you address fairness, bias, and privacy in this system?

      ML System Design (General): frequently asked questions

      What is the ML System Design interview process?+

      A typical ML System Design interview runs in 4 rounds: 1. Framing, Requirements & the Meta-Framework (first ~5-10 min of a 45-60 min round); 2. Data, Features & Implementation Components (component deep-dives within the round); 3. End-to-End System Design Problems (the bulk of the 45-60 min round); 4. Conceptual Follow-Ups & Trade-Offs (probes throughout the round).

      What happens in the Framing, Requirements & the Meta-Framework round of a ML System Design interview?+

      The opening phase every strong candidate controls: translate a vague product goal into a measurable ML problem, ask clarifying questions (scale, latency budget, catalog size, real-time vs batch), decide whether ML is even warranted, and lay out the framework you'll drive the rest of the session with. Interviewers score whether you frame before you build. Questions reported for this round include "Walk me through your framework for approaching any ML system design problem"…

      What happens in the Data, Features & Implementation Components round of a ML System Design interview?+

      The implementation-flavored parts an interviewer zooms into: feature engineering, the labeling/training-data pipeline, online+offline feature consistency, real-time feature serving, and occasionally a from-scratch model or the retraining-orchestration DAG. Rarely live-coded, but you must be concrete about how each component is built. Questions reported for this round include "Engineer the features (user / item / context / cross) for this model" and "How would you build the…

      What happens in the End-to-End System Design Problems round of a ML System Design interview?+

      The core: design a full production ML system end-to-end. Recurring families are recommendation, feed/search ranking, ads CTR, trust & safety/fraud, CV/NLP/speech, marketplace/forecasting, and - increasingly - LLM/RAG and ML-infra. You drive: framing, data, features, model, training, evaluation, serving (multi-stage retrieval -> ranking), monitoring, and scale. Questions reported for this round include "Design YouTube / Netflix video recommendations" and "Design the Facebook…

      What happens in the Conceptual Follow-Ups & Trade-Offs round of a ML System Design interview?+

      The ML-judgment follow-ups interviewers push on: metric choice (offline vs online, NDCG/AUC/PR-AUC/NCE, calibration), negative sampling, temporal splits, class imbalance, cold start, position/popularity bias, feedback loops, drift vs concept drift, retraining cadence, deployment strategies, and scaling trade-offs. In 2026, evaluation methodology is weighted heavily. Questions reported for this round include "Why use candidate generation + ranking instead of one model" and…

      What questions come up in ML System Design interviews?+

      Commonly reported ML System Design interview questions include "Walk me through your framework for approaching any ML system design problem", "How would you translate this vague business goal into a well-defined ML problem" and "What clarifying questions do you ask before you start designing". The Deep-ML track for this role has 80 questions and practice items, ordered by how often they come up.

      Deep-ML

      Learn and grow your knowledge about Machine Learning using Deep-ML

      Quick Links

      • Problems
      • Math
      • Intuition
      • Articles
      • Research
      • FAQ
      • Terms and Conditions
      • Submit Problem
      • Creator Program
      • Shop
      • Jobs
      • Deep-E-Mon

      Connect With Us

      © 2026 Deep-ML. All rights reserved.