All 215 MLOps & Data Quality interview questions
Data drift, class imbalance, monitoring, CI/CD for ML and everything that keeps models alive in production.
Every question below opens on its own page, with a full answer, the formulas written out and a multiple-choice check. Free to read, no account needed.
Data quality & drift
- What is data drift and how do you detect it?easy
- How is concept drift different from data drift?medium
- What does 'data imbalance' mean and why is it a problem?easy
- What are common sources of data leakage in an ML pipeline?medium
- What should you monitor in a production ML model?easy
- How do you validate data quality in an ML pipeline?medium
- What is schema drift and how do you detect it?medium
- What is label drift and why does it matter?medium
- How is Population Stability Index (PSI) computed and interpreted?hard
- Why prefer Jensen-Shannon Divergence over KL for drift?hard
- What is Maximum Mean Discrepancy (MMD) for drift detection?hard
- When is Wasserstein distance appropriate for drift?hard
- How do you monitor drift on unstructured data (text / images)?hard
- Outliers vs drift — how do you distinguish?medium
- How do you handle missing values in a production pipeline?medium
- How does imputation cause data leakage?medium
- How do you handle label noise in training data?hard
- How do you measure and improve annotation quality?medium
- What is active learning and when should you use it?medium
- What is weak supervision (e.g., Snorkel)?hard
- How does time-based leakage happen and how do you prevent it?hard
- What is purged cross-validation?hard
- SMOTE vs class weights vs threshold tuning — which to use?medium
- Why version data (DVC / lakeFS / Delta Lake)?medium
- How do you monitor fairness in production?hard
- How do you handle PII in ML pipelines?hard
- How does selection bias affect ML systems?hard
- What is a model feedback loop and why is it dangerous?hard
- What is a golden test set and how do you maintain it?medium
- What is a data contract?medium
- What is point-in-time correctness in feature stores?hard
- How do you guarantee online-offline feature consistency?hard
- What do you monitor about features (not just models)?medium
- How do you structure a progressive rollout with automated guardrails?hard
- Why do offline improvements often not translate online?hard
- SLO / SLI / SLA for ML services.medium
- How do you avoid alert fatigue in ML monitoring?medium
- Three pillars of observability applied to ML.medium
- How do you monitor feature / prediction freshness?medium
- How does shadow evaluation work?medium
- What is Canary Analysis (Kayenta / Flagger)?hard
- How do you monitor prediction uncertainty in production?hard
- How do you monitor model calibration in production?hard
- Why monitor per-slice performance?medium
- Popular ML observability tools?easy
- How do you detect anomalous predictions in production?medium
- How do you set thresholds for drift alerts?hard
- How do you monitor performance when labels are delayed?hard
- How do you monitor drift when data has natural seasonality?hard
- What is model decay and how do you measure it?medium
- How do you respond to a production ML incident?medium
- How do you monitor ML infrastructure cost?medium
- How do you handle biased ground truth collection?hard
- How do you explain individual predictions in production?medium
- How do you compute SHAP at production scale?hard
- The four golden signals — Google SRE.easy
- RED vs USE vs Golden Signals — which methodology?medium
- Why use latency heatmaps instead of averages?medium
- Common bad-alert patterns to avoid.medium
- How do you monitor GPU utilization?medium
- How do you evaluate LLM outputs in production?hard
- What are the biases of LLM-as-judge?hard
- How do you monitor a RAG pipeline?hard
- How do you observe LLM agents?hard
- LangSmith / Langfuse — what do they provide?medium
- You inherit a model in production with no documentation. What do you check in your first week?medium
- Accuracy has probably dropped but labels arrive 60 days late. What can you monitor now?hard
- Your drift monitoring fires 40 alerts a day and everyone ignores it. How do you fix it?medium
- How do you prove there is no training-serving skew?hard
- What is point-in-time correctness, and how does violating it look in practice?hard
- Scheduled retraining or triggered retraining?medium
- What do you monitor for an LLM feature that you would not monitor for a classifier?hard
Features & pipelines
- What problem does a feature store solve?medium
- When and how do you retrain a production model?medium
- How do you handle high-cardinality categorical features?medium
- How do you handle cold-start users / items in production?medium
- Online vs offline feature store — architecture.medium
- How do you version features?medium
- How do you compute real-time features (streaming aggregates)?hard
- Orchestration tools for ML pipelines — Airflow vs Prefect vs Dagster.medium
- DAG-based vs imperative ML pipelines — tradeoffs.medium
- Why must ML pipelines be idempotent?medium
- Why partition ML training tables by date?medium
- How do you safely backfill features / labels historically?hard
- What tests should a training pipeline have?medium
- What is an 'asset' in Dagster and why is it useful for ML?hard
- Push vs pull materialization for features.medium
- ETL vs ELT for ML data — which pattern wins?medium
- What is the medallion architecture (bronze/silver/gold)?medium
- Common ML pipeline stages in Airflow / Kubeflow.easy
- Metaflow — what and when to use it?medium
- How does Hydra help ML config management?medium
- Continuous training pipeline — what triggers retraining?medium
- TFX (TensorFlow Extended) — what is it?medium
- ZenML — how is it different from Kubeflow?medium
- When is a feature store worth the operational cost?medium
Deployment & experimentation
- What is training-serving skew?medium
- What is a shadow deployment and how does it differ from A/B testing?medium
- What is a canary release for ML models?easy
- Batch vs online inference — how do you choose?easy
- How do you A/B test a model rigorously?hard
- MLflow model registry — what does it provide?medium
- What is a model signature and why does it matter?medium
- What is a blue-green deployment for ML models?medium
- Canary vs blue-green — when to use each?medium
- What is champion-challenger pattern?medium
- A/B test vs multi-armed bandit — which to use?hard
- What is interleaving in recsys A/B testing?hard
- What are guardrail metrics in an A/B test?medium
- What is a sample ratio mismatch (SRM) alert?hard
- What is CUPED and why use it?hard
- How does stratified randomization help experiments?hard
- Long-term holdout — what and why?hard
- How do you meet latency budgets in production ML?hard
- How do you control ML serving cost?medium
- When is batch inference dramatically cheaper than online?medium
- How do you version model artifacts in production?medium
- What's a good rollback strategy?medium
- How do you handle model errors in production?medium
- What is an A/A test and why run it?medium
- How do network effects complicate A/B tests?hard
- Switchback experiments — when to use?hard
- Difference-in-differences for ML experiments — when?hard
- How do you compute sample size for A/B?medium
- How do you serve multiple models efficiently on shared infrastructure?hard
- Why make inference requests idempotent?medium
- How to trade model quality vs latency in production?medium
- How do you configure autoscaling for ML serving?hard
- How do you serve ML models across multiple regions?hard
- Shadow deployment, canary, or A/B test — which do you use when?medium
- What does a real rollback plan for a model require?medium
Monitoring & observability
- Distributed tracing for ML inference — why?medium
- Why sample prediction logs and how?medium
- What goes into an ML alert runbook?medium
- How do you design useful ML dashboards?medium
- How long should you retain ML prediction logs?medium
- Why is high-cardinality label bad for Prometheus?hard
- A model caused a costly wrong decision. What does a useful post-mortem produce?medium
Reproducibility & versioning
- What is data / model lineage and why does it matter?medium
- What audit trail is required for regulated ML?hard
- How do you manage ML config (hyperparameters, thresholds)?medium
- MLflow vs Weights & Biases vs Neptune — which to pick?easy
- Why containerize ML training + serving?medium
- Why isn't setting a seed enough for full reproducibility?hard
- How does DVC work?medium
- What is lakeFS?medium
- What does Delta Lake add over plain Parquet?medium
- Weights & Biases vs MLflow — key differences.medium
- Git LFS vs DVC — when to use each?medium
- How do you make Jupyter notebooks reproducible?medium
- Why lock Python dependencies?medium
- Docker tag best practices for ML images.medium
- Why do some teams use Nix for ML reproducibility?hard
- What metadata should be logged per experiment run?medium
- What's an artifact store and why separate from model registry?medium
- What should you track during LLM fine-tuning?medium
- RLHF-specific ops challenges.hard
- What do you actually test in a CI pipeline for a model?hard
- How do you version prompts and why does it matter as much as model versioning?medium
Infrastructure & serving
- Ray for ML — what does it provide?medium
- Iceberg vs Delta Lake — which to pick?hard
- Kubeflow — what does it provide?medium
- NVIDIA Triton Inference Server — what makes it fast?medium
- vLLM — why is it fast for LLM serving?hard
- PagedAttention — what problem does it solve?hard
- Continuous batching vs static batching.hard
- TorchServe — when to use it?medium
- TensorFlow Serving — when to use it?medium
- BentoML — what does it add?medium
- KServe (KFServing) — what does it provide?medium
- Serverless ML inference — pros / cons?medium
- How do you mitigate serverless cold-start latency?medium
- ONNX — why use it?medium
- TensorRT — what optimizations does it apply?hard
- How does quantization affect serving?hard
- GPTQ vs AWQ vs SmoothQuant — key differences.hard
- FlashAttention — why is it faster?hard
- Speculative decoding — how does it accelerate LLMs?hard
- Tensor parallelism vs pipeline parallelism vs data parallelism.hard
- FSDP / ZeRO — how do they save memory?hard
- How do you choose batch size for inference?medium
- How do you use spot / preemptible instances safely for ML?medium
- How do you deploy ML to edge / mobile?medium
- Running ML in the browser — WebAssembly / WebGPU.medium
- Which GPU for training vs inference?medium
- Network latency in ML serving — how much matters?medium
- Kubernetes for ML — key patterns.medium
- How can multiple models share a GPU?hard
- How do you cache LLM prompts effectively?hard
- Vector DB — which one and why?medium
- How do you serve many fine-tuned LoRA adapters efficiently?hard
- LLM router — what and why?medium
- Your model must answer in 50 milliseconds. How do you allocate the budget?medium
LLMOps & advanced
- How does DP-SGD work?hard
- What is federated learning?hard
- How is LLMOps different from traditional MLOps?medium
- How do you version prompts in production?medium
- Which signals do you wire into an LLMOps pipeline to flag hallucinated responses?hard
- Why use hybrid search (dense + sparse) in RAG?medium
- How do you chunk documents for RAG?hard
- Why re-rank retrieved documents?medium
- How do you choose an embedding model?medium
- How do you handle embedding model updates without breaking retrieval?hard
- How do you defend against prompt injection?hard
- How do you monitor for jailbreak attempts?hard
- How do you optimize LLM inference cost?medium
- What extra content goes in an LLM model card?medium
- Common LLM safety evaluation suites.medium
- EU AI Act — what does it require?hard
- Where is MLOps heading (2025+)?medium