0
0
MLOpsdevops~20 mins

Prediction distribution monitoring in MLOps - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Prediction Distribution Monitoring Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding prediction distribution monitoring purpose

What is the main goal of prediction distribution monitoring in an ML system?

ATo detect changes in the prediction distribution that may affect model performance
BTo track the number of API calls made to the prediction service
CTo monitor the hardware usage of the ML deployment environment
DTo optimize the training speed of the machine learning model
Attempts:
2 left
💡 Hint

Think about what can cause a model to perform worse after deployment.

💻 Command Output
intermediate
2:00remaining
Interpreting output of a distribution drift detection tool

Given the following output from a drift detection tool monitoring prediction probabilities, what does it indicate?

{"drift_detected": true, "p_value": 0.01, "metric": "kolmogorov_smirnov"}
AThe tool failed to run due to a syntax error
BThe model predictions are exactly the same as baseline
CThe prediction distribution has significantly changed compared to baseline
DThe p_value indicates no significant change in distribution
Attempts:
2 left
💡 Hint

Recall that a low p-value means strong evidence against the null hypothesis.

Configuration
advanced
3:00remaining
Configuring a monitoring job for prediction distribution

Which configuration snippet correctly sets up a monitoring job to track prediction probability distribution using a Kolmogorov-Smirnov test every hour?

A
monitoring_job:
  frequency: every_minute
  metric: kolmogorov_smirnov
  data_source: model_weights
  alert_threshold: 0.05
B
monitoring_job:
  frequency: daily
  metric: accuracy
  data_source: input_features
  alert_threshold: 0.01
C
monitoring_job:
  frequency: hourly
  metric: mean_squared_error
  data_source: prediction_probabilities
  alert_threshold: 0.1
D
monitoring_job:
  frequency: hourly
  metric: kolmogorov_smirnov
  data_source: prediction_probabilities
  alert_threshold: 0.05
Attempts:
2 left
💡 Hint

Focus on frequency, metric type, and data source relevant to prediction distribution.

Troubleshoot
advanced
2:30remaining
Diagnosing missing alerts in prediction distribution monitoring

An ML engineer notices no alerts are triggered despite clear changes in prediction distribution. Which is the most likely cause?

AThe alert threshold is set too high, preventing alerts from triggering
BThe prediction service is running on outdated hardware
CThe monitoring job frequency is set to daily instead of hourly
DThe model training data was too large
Attempts:
2 left
💡 Hint

Consider how alert thresholds affect sensitivity.

🔀 Workflow
expert
3:00remaining
Steps to implement prediction distribution monitoring in production

What is the correct order of steps to implement prediction distribution monitoring for a deployed ML model?

A1,2,3,4
B1,3,2,4
C2,1,3,4
D3,1,2,4
Attempts:
2 left
💡 Hint

Think about what you need before deploying monitoring and alerting.