InterviewStack.io LogoInterviewStack.io

End-to-End ML System Design Questions

End-to-end design of machine learning systems, covering data collection and validation, feature engineering and feature stores, model training and evaluation, deployment and serving architectures, monitoring and incident management, retraining pipelines, data governance, scalability, security, and MLOps practices.

EasyTechnical
33 practiced
List the top production ML metrics you would monitor for a deployed classification model (include data, model, and infra metrics). For each metric explain what a deviation might indicate and a possible remediation step. Consider metrics such as input traffic and feature distributions, label rates, prediction latency, error rates, model accuracy, calibration drift, resource utilization, and request errors.
MediumSystem Design
25 practiced
Design a retraining pipeline that is triggered when data drift is detected. Describe components for drift detection, retrain triggering logic (thresholds, windows), automated preprocessing, validation tests, model candidate selection, model promotion/rollback, and human-in-the-loop gates. Explain strategies to avoid retraining on transient noise and how you'd validate a retrained model before deployment.
MediumSystem Design
26 practiced
Design a scalable training pipeline for a supervised model on 10 TB of tabular data that requires complex joins and preprocessing. Describe choices for data preprocessing framework (Spark/Beam), feature storage, distributed model training (e.g., XGBoost on Spark, distributed PyTorch), orchestration, resource scheduling, caching, and fault tolerance. Explain trade-offs and cost considerations.
MediumTechnical
26 practiced
Case: After deploying a change in the data pipeline, a recommendation model's CTR drops by 8%. Outline a systematic incident investigation plan. What logs, metrics, and artifacts do you check across ingestion, feature computation, model inputs/outputs, serving, and downstream evaluation? Describe containment actions and criteria for rolling back the pipeline or model.
HardSystem Design
25 practiced
Design an automated canary deployment process for ML models running in microservices. Include traffic-shifting policies, required statistical tests for health and business metrics, rollback rules, handling of stateful online features, and safe ramp-up limits to minimize user impact. Explain how you'd automate decision-making while preventing false positives.

Unlock Full Question Bank

Get access to hundreds of End-to-End ML System Design interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.