MLOps practice problems
18 problems · 0 solved
MLOps is everything that keeps a model working after it ships. Data changes, traffic spikes, features go stale and new versions need safe rollouts. A model in production is like a car on the road: building it is only half the job, and the rest is monitoring and maintenance. These problems turn common production checks into small coding tasks. You will bump a semantic model version, report p50, p95 and p99 latency, detect feature drift with the Population Stability Index and the Kolmogorov-Smirnov statistic, measure agreement between a shadow model and production, flag stale features, catch train-serving skew, pick a champion model with guardrail metrics, drive a staged canary rollout from error rates, simulate a circuit breaker in front of a model API, and join labels to features without leaking the future. Start with the Easy problems on latency percentiles, versioning and PSI. Then do canary rollouts, skew checks and champion selection, and finish with the KS test, circuit breaker and point-in-time joins. Companies hire ML engineers to run reliable systems, and interviews increasingly ask how you would monitor and roll back a model.
Easy 8
- Detect feature drift with the Population Stability Index
- Report p50, p95 and p99 latency with the nearest-rank method
- Bump a semantic model version
- Flag stale features in a feature store
- Measure agreement between a shadow model and production
- Compute SLO error budget burn rates
- Raise drift alerts with an EWMA control chart
- Validate a data batch against a schema with null-rate, type and range checks
Medium 6
- Catch train-serving skew in feature pipelinesPro
- Drive a staged canary rollout from per-window error ratesPro
- Pick a champion model with guardrail metricsPro
- Measure feature drift with smoothed KL divergence on quantile binsPro
- Assign users to experiment variants with salted hash bucketingPro
- Detect drift in a categorical feature with a chi-square statisticPro