MLCrack

    ML System Design Interview Questions: Deep Dives

    120 questions on in-depth ML system design case studies with modern stack: GPUs, vLLM, RAG, training infra. The first 20 are free, no account needed.

    Practice free β†’

    What this topic covers

    The ML system design round is the interview that most often decides level. You are given an open prompt, such as designing a video recommendation system or an LLM inference platform, and about forty-five minutes to turn it into a credible architecture. This topic contains long-form case studies that follow the structure of that round from the first clarifying question to the final discussion of tradeoffs.

    The deep dives cover the systems interviewers ask about most. Recommendation and feed ranking cases walk through candidate generation, ranking and re-ranking. Ads click-through prediction cases cover calibration, delayed feedback and auctions. Vector search and multimodal retrieval cases cover embedding models and approximate nearest neighbour indexes. LLM cases cover retrieval-augmented generation, serving with engines such as vLLM, GPU capacity planning and cost. Further cases cover feature platforms, real-time systems, training infrastructure and safety.

    Each answer is organized the way a strong candidate would present it: requirements and scale, metrics, data and labels, features, model choice, training, serving architecture, evaluation, monitoring and iteration. Numbers are included where they matter, because a back-of-the-envelope estimate of queries per second or storage is often what makes a design believable.

    A framework that works

    Spend the first few minutes on the problem, not the model. Clarify who the users are, what the system should optimize, and how success will be measured both offline and online. Write down the constraints on latency, freshness and scale. Interviewers consistently report that weak candidates skip this step and strong candidates use it to steer the rest of the conversation.

    Next, sketch the whole pipeline at a high level before going deep on any part. Then pick the two or three components where the interesting decisions are, which are usually label definition, the retrieval and ranking split, and the serving path, and spend your time there. Leave room at the end for monitoring, failure modes and what you would build next.

    Throughout, state tradeoffs out loud. Saying that a two-tower model is fast to serve but cannot use cross features, and that this is why a heavier ranker follows it, is exactly the kind of reasoning the round is designed to find.

    The sample questions below are free to read in full. Use them as templates: read one, close it, and try to reproduce the structure for a different product. The practice list has the rest of the free deep dives, and the System Design section adds a glossary and curated engineering blog posts.

    Sample ML System Design interview questions

    Practice ML System Design (Deep Dives) questions

    120 questions Β· 0 self-assessed