ML System Design & MLOps Interview Questions
120 questions on end-to-end ML system design, serving, training infra, MLOps, modern stack. The first 20 are free, no account needed.
Practice free βWhat this topic covers
Building a model is a small part of shipping a machine learning product. ML engineer interviews spend at least one round on everything around the model: how data reaches it, how it is trained and released, how it is served, and how you know it is still working. This topic is the question bank for that round, covering system design patterns, serving, pipelines and monitoring.
Serving questions ask you to choose between batch, online and streaming inference, and to reason about latency, throughput and cost. Expect to discuss model servers, dynamic batching, caching, autoscaling, GPU sharing and techniques such as quantization and distillation that make a model cheap enough to run. For language models, questions extend to token streaming, KV caching and inference engines.
Data and training questions cover feature stores and the problem they exist to solve, which is a mismatch between the features used in training and the features available at serving time. Pipeline questions cover orchestration, reproducibility, data and model versioning, distributed training and scheduled retraining.
Monitoring questions distinguish data drift, concept drift and plain data quality failures, and ask what you would alert on when labels arrive days or weeks late. Release questions cover shadow deployment, canaries, A/B tests and rollback. Shorter questions test vocabulary across recommendation, ads, vector search and safety systems.
How to answer system questions
Start from requirements. Ask or state the scale, the latency target, how fresh predictions must be and what a wrong prediction costs. A design that is right for a nightly churn score is wrong for fraud detection at checkout, and interviewers want to see you make that distinction before you draw anything.
Then be specific about failure. What happens when an upstream table is late, when a feature starts arriving as null, or when a new model is slightly worse for one important segment? Describing the guardrail for each case, such as validation checks, fallbacks and staged rollout, is usually what distinguishes a senior answer.
The sample questions below are free to read with full explanations. This topic focuses on concepts and components; for complete end-to-end case studies, continue to the ML System Design deep dives.
Sample MLOps interview questions
- Design a real-time ML serving system for a recommendation engine handling 10k QPS.π‘ intermediate Β· System Design Patterns
- What is LLMOps and how does it differ from traditional MLOps?π‘ intermediate Β· ML Pipelines
- What are ML design patterns? Explain the Feature Store pattern.π΄ advanced Β· System Design Patterns
- What is data drift and concept drift? How do you detect and handle them?π‘ intermediate Β· Monitoring & Observability
- What is model distillation? How is it used in production?π‘ intermediate Β· Model Serving
- Design a fraud detection system. What ML and engineering challenges arise?π΄ advanced Β· System Design Patterns
- What is a feature store? Why is it important for ML systems?π‘ intermediate Β· ML Pipelines
- What are the key techniques for making Transformers efficient in production? Explain KD, quantization, pruning, and graph optimization.π΄ advanced Β· Model Serving
- How do you deploy a fine-tuned LLM in production on cloud infrastructure?π΄ advanced Β· Model Serving
- Explain model parallelism vs data parallelism for training large models.π΄ advanced Β· ML Pipelines
- What is continuous batching for LLM inference? How does it improve throughput?π΄ advanced Β· Model Serving
- When should you train/fine-tune your own LLM vs use a 3rd-party API?π‘ intermediate Β· System Design Patterns
- How do you handle versioning of LLMs in production?π‘ intermediate Β· ML Pipelines
- What is experiment tracking and why is it important for LLM projects?π‘ intermediate Β· Monitoring & Observability
- Outline the data pipeline for training an LLM from raw text to training batches.π΄ advanced Β· ML Pipelines