InterviewStack.io LogoInterviewStack.io

MLOps: Monitoring, Retraining, and Lifecycle Management Questions

Operating machine learning systems reliably over time. Covers model and data monitoring, drift and degradation detection, feedback loops, retraining and model-freshness strategy, versioning and model registries, and pipeline and workflow orchestration. Focuses on keeping deployed models healthy and reproducible across their lifecycle.

HardTechnical
51 practiced

Design an online concept-drift detection algorithm with a controlled false-positive rate for a continuous stream: the statistical test, an adaptive windowing strategy, and threshold selection. Provide pseudocode for updating statistics and triggering alerts, and discuss computational/memory complexity and how you'd tune sensitivity. As a variant, sketch an online incremental-learning algorithm (for example logistic regression) that updates on a high-throughput stream with bounded memory and includes explicit concept-drift handling.

HardTechnical
69 practiced

Formulate a statistical testing framework to distinguish covariate shift (a change in P(x)) from concept drift (a change in P(y|x)) when you have labeled historical data and only a recent unlabeled batch. Specify your test statistics, how you'd estimate changes in P(y|x) indirectly without new labels, and the trade-offs in Type I vs Type II error control.

MediumTechnical
55 practiced

Compare Kolmogorov-Smirnov (KS), Population Stability Index (PSI), Kullback-Leibler (KL) divergence, and Maximum Mean Discrepancy (MMD) as drift-detection tools. For each, discuss sensitivity to sample size, applicability to multivariate or categorical data, and numerical stability. Then explain how a trained two-sample classifier (domain classifier) can serve as an alternative to all four, and what its practical failure modes are.

EasyTechnical
93 practiced

Describe how embedding-based comparisons can be used to detect distribution shift for high-dimensional data like text or images. Name one embedding technique and one statistical or ML-based comparison method, and discuss the challenges of choosing a drift threshold in embedding space.

MediumTechnical
56 practiced

What is catastrophic forgetting in continual learning? Give two mitigation strategies when incrementally retraining a model, one replay-based and one regularization-based, and describe a scenario where each is preferable.

Unlock Full Question Bank

Get access to all 16 MLOps: Monitoring, Retraining, and Lifecycle Management interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.