Module quiz
ML systems and interviews quiz
58 questions across 3 lessons. Choose an answer, check it, and read why each option is right or wrong.
Checking answers needs JavaScript. You can still read every question and option below.
Keyboard: arrow keys move between options. Space or Enter selects the focused option.
ML system design: framing, budgets, two-stage retrieval, serving, rollout and monitoring18 questions
ObjectiveDecide whether a problem needs ML, turn a business goal into an objective, a metric and constraints, and run the nine-step design framework out loud with trade-offs.
ObjectiveChoose batch, online or streaming inference, and do back-of-envelope capacity, latency-budget and cost estimates with stated assumptions, using percentiles and not means.
ObjectiveExplain why large systems retrieve, rank and re-rank, measure each stage with recall@k and NDCG@k, and sketch recommender, search, fraud and ads designs at overview level.
ObjectiveName the serving levers (batching, caching, quantisation, distillation), keep training and serving features consistent, and roll a model out by shadow, canary and A/B.
ObjectiveMonitor a live ML system, spot feedback loops, design fallbacks and human review, and name the main sources of ML technical debt.
Training at scale: memory arithmetic, parallelism, mixed precision and scaling laws24 questions
ObjectiveAccount for training memory (weights, gradients, optimizer states, activations), compute the 16-bytes-per-parameter budget for mixed-precision Adam, and say whether a model fits on one device.
ObjectiveScale batch size and learning rate with the linear scaling rule and warmup, use gradient accumulation without changing the gradient, and explain mixed precision with loss scaling and master weights.
ObjectiveChoose between data parallelism (all-reduce, DDP), ZeRO/FSDP sharding stages, tensor parallelism and pipeline parallelism, and estimate communication time and the pipeline bubble.
ObjectiveTrade compute for memory with activation checkpointing, find data-loading bottlenecks, and plan checkpoints, failure recovery and reproducibility for long runs.
ObjectiveEstimate training compute with FLOPs of about 6ND, turn it into days on a cluster, and explain what scaling laws and compute-optimal training say about model and data size.
The ML interview playbook: structure, answer method, debugging procedures, estimates and project defence16 questions
ObjectiveDescribe how ML interviews are commonly structured (fundamentals, coding, system design, applied case, project, behavioural) and match each round to the method that fits it.
ObjectiveAnswer an open ML question with the ten-step method (clarify, assumptions, baseline, metric, data, model, evaluation, failure modes, trade-offs, monitoring) and explain a concept with the intuition, maths, code and pitfall ladder.
ObjectiveTurn a model-debugging symptom (flat or NaN loss, a train-validation gap, suspected leakage, an offline and online mismatch) into an ordered first step, and say which earlier lesson fixes it.
ObjectiveDo quick estimates and sanity checks (base rates, majority baseline, label-shuffle check, parameters and FLOPs) and state how uncertain a metric is with an interval.
ObjectiveDefend a past project with the STAR structure, measured numbers and what you would change, avoid the common traps, and run a repeatable mock-interview routine.
Boss challenge: ML systems, training at scale and interviews in practice
A longer check of the whole module. It is optional, and nothing else on the site depends on it.
- 10 questions, taken from the lesson quizzes above.
- Pass mark: 7 correct of 10.
- You can try it as many times as you like.
- A correct answer is kept, so a pass can build up across several tries.
- If you miss some, you get links to the lesson sections to read again.
Checking answers needs JavaScript. You can still read every question and option below.
Keyboard: arrow keys move between options. Space or Enter selects the focused option.