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.

MediumTechnical
85 practiced

You need to detect drift in a high-cardinality categorical feature such as a user ID, item ID, or user-agent string, where the raw cardinality makes naive per-category tracking too expensive to store. Propose a detection approach, how you'd handle categories you've never seen before, and how you'd control the storage footprint while preserving the ability to catch subgroup drift and rare-event signals. Sketch the SQL you'd use to compute per-category frequency over a sliding window versus a baseline.

MediumTechnical
67 practiced

Describe a warm-start (incremental fine-tuning) training workflow that updates a model with new data while preserving previously learned knowledge: loading weights and optimizer state, adjusting the learning-rate schedule, and validating before promotion. What decision criteria would push you toward a full retrain instead of warm-starting?

EasyTechnical
64 practiced

Define model monitoring for a production ML system. List the key categories of signals you'd track (data/feature drift, model performance, latency, resource usage, and business KPIs), explain why each matters operationally, and clarify the difference between monitoring and observability with a short example of when better observability (not just monitoring) speeds up root-cause identification.

EasyTechnical
70 practiced

Explain training-serving skew: its common causes in large production systems, how you'd detect it both in batch and online, and remediation strategies to reduce it. What instrumentation would you add to training jobs and serving endpoints to make a meaningful comparison possible?

MediumTechnical
69 practiced

Write a checklist and sample code to make an ML experiment reproducible: set seeds across Python's random, NumPy, and scikit-learn; pin package versions; log the dataset hash and code git commit; and save the model artifact and environment. Provide the seed-setting code and show how you'd log this metadata to a file or to MLflow.

Unlock Full Question Bank

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

Sign in to Continue

Join thousands of developers preparing for their dream job.