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.

HardSystem Design
28 practiced
Design an ML platform to support many teams sharing features, compute, and models in a multi-tenant environment. Address feature discoverability, per-team isolation and quotas, access control and billing, shared vs private compute clusters, metadata/catalog services, reproducibility, and strategies for preventing 'noisy neighbor' effects. Explain how you would roll out such a platform incrementally.
HardSystem Design
31 practiced
Design an end-to-end online recommendation system for a large-scale platform with 100M users and 10M catalog items. Requirements: support 5k QPS read traffic, p99 tail latency under 150ms for top-10 recommendations, embedding-based recall with ANN, freshness of results within 5 minutes of events, cold-start handling for new users and items, and efficient periodic re-embedding. Describe offline training, embedding storage and update strategies, ANN index sharding (e.g., FAISS), serving architecture, caching, consistency, and trade-offs for latency vs freshness.
MediumTechnical
33 practiced
Write a Python function that computes the Population Stability Index (PSI) between two numeric arrays representing a reference distribution and a current distribution for a single feature. The function should accept arrays or lists of numeric values and either a configurable number of equal-frequency or equal-width bins or explicit bin edges, handle zero counts safely (e.g., smoothing), and return the PSI score. Use numpy and describe the algorithmic complexity.
MediumSystem Design
44 practiced
Design a streaming ingestion and feature computation pipeline that handles out-of-order events, deduplication, late arrivals, and schema evolution. Specify the message bus, stream processing engine, state store, windowing strategy and watermarking, exactly-once semantics considerations, and how you would test and validate correctness while ensuring scalability and low operational overhead.
HardSystem Design
29 practiced
Design a reproducible experimentation platform and artifact pipeline for the applied science team. Include dataset versioning and provenance, experiment metadata, containerized execution environments, artifact signing and storage, ML metadata store, linking datasets to model artifacts, reproducible training pipelines, and tooling for rerunning historic experiments. Address storage costs and retention policies.

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.