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.
Design a model-governance process that balances speed and safety across a model's path from development to production: what stages it passes through, who signs off at each one, what gets checked before promotion, and how ongoing production issues feed back into the process. For a lighter-weight version covering dozens of models across teams, what's the minimum viable version of this that still produces audit-ready results without becoming a bottleneck?
Define shadow traffic (shadow testing) and explain how you'd use it to validate a new ranking model without affecting user-facing responses. What are the benefits, and what operational or privacy pitfalls should you watch for?
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.
Implement a Python function compute_psi(baseline: list[float], current: list[float], bins: int = 10) -> float that computes the Population Stability Index between two numeric arrays. Handle zero-frequency bins with smoothing, document your binning strategy and interpretation thresholds, and discuss how your implementation scales to arrays with up to a million values.
A monitoring system runs a KS-test per feature every hour across thousands of features and triggers many alerts. Propose a statistically principled way to control the false discovery rate across all these simultaneous tests while preserving sensitivity to true drift events.
Unlock Full Question Bank
Get access to all MLOps: Monitoring, Retraining, and Lifecycle Management interview questions and detailed answers.
Sign in to ContinueJoin thousands of developers preparing for their dream job.