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.
What is data and feature lineage, and why is it critical for model monitoring, reproducibility, and debugging? Describe a few practical approaches to capturing it in a real pipeline, with a pro and con for each, and the metadata you'd need to trace a prediction back to its data sources, transformation code, and timestamps.
Define data drift, label drift, and concept drift. For each, give a concrete production example and name one monitoring signal or statistical test you'd use to detect it first. Which of the three can be detected without waiting for ground-truth labels, and which require delayed labels?
A production model's accuracy drops by 15% within a day. Walk through a prioritized root-cause investigation: what telemetry and logs you'd check first, how you'd validate input and feature distributions against training, how you'd binary-search recent upstream pipeline or code changes, how you'd correlate errors with upstream pipeline failures, and how you'd decide between an immediate rollback and a targeted mitigation. Once you've isolated a cause, describe the decision framework for choosing between rollback, a focused retrain, or a guardrail patch, and how you'd communicate to stakeholders.
Design a full CI/CD pipeline for retraining and deploying ML models: data validation, unit/integration tests for featurization, candidate training, offline evaluation against a baseline, statistical validation gates, shadow testing, canary rollout, automated rollback, and model-registry promotion. For each stage, name concrete tools or techniques you'd use and why, list what artifacts each stage produces, and explain how you'd reduce the end-to-end time from data change to deployment without sacrificing safety.
Design a feature-lineage and data-provenance system integrated with your model registry and experiment tracking: what to capture at the dataset, feature, transformation, and model levels, what APIs support querying lineage, and a storage model (graph database vs relational) with its query-performance trade-offs at high prediction volume. Show an example query an auditor might run to trace which data and code produced a given model artifact, and describe an MVP you could deliver in six months.
Unlock Full Question Bank
Get access to all 18 MLOps: Monitoring, Retraining, and Lifecycle Management interview questions and detailed answers.
Sign in to ContinueJoin thousands of developers preparing for their dream job.