0
0
MLOpsdevops~20 mins

Data drift detection in MLOps - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Data Drift Detection Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
1:30remaining
What is the primary goal of data drift detection in MLOps?

Data drift detection is crucial in machine learning operations. What is its main purpose?

ATo automate the deployment of new model versions
BTo improve the training speed of machine learning models
CTo monitor hardware resource usage during model training
DTo identify changes in input data distribution that may affect model performance
Attempts:
2 left
💡 Hint

Think about why monitoring data quality over time matters for a model's accuracy.

💻 Command Output
intermediate
1:30remaining
Output of a data drift detection command

Given the following command output from a data drift tool, what does it indicate?

{"feature": "age", "drift_detected": true, "p_value": 0.01}
AThe feature 'age' has statistically significant drift with p-value 0.01
BThe feature 'age' was removed from the dataset
CThe model accuracy improved due to drift in 'age'
DNo drift detected for feature 'age' because p-value is above 0.05
Attempts:
2 left
💡 Hint

Recall that a p-value below 0.05 usually means significant change.

Configuration
advanced
2:00remaining
Configuring a data drift detection threshold

Which configuration snippet correctly sets a data drift detection threshold to trigger alerts when p-value is below 0.05?

A
drift_detection:
  threshold: '0.05'
  alert: false
B
drift_detection:
  threshold: 0.05
  alert: true
C
drift_detection:
  threshold: 5
  alert: true
D
drift_detection:
  alert: true
  threshold: 0.5
Attempts:
2 left
💡 Hint

Threshold should be a decimal number representing p-value cutoff.

🔀 Workflow
advanced
2:00remaining
Correct sequence for data drift detection workflow

What is the correct order of steps in a typical data drift detection workflow?

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

Think about the natural flow from data collection to action.

Troubleshoot
expert
2:30remaining
Why does the data drift detection tool report no drift despite model accuracy dropping?

A deployed model's accuracy dropped significantly, but the data drift detection tool reports no drift. What is the most likely cause?

AThe model was retrained recently, so drift is ignored
BThe drift detection tool is malfunctioning and needs a restart
CThe drift detection only monitors input features, but the issue is with label distribution shift
DThe data drift detection threshold is set too low, causing false positives
Attempts:
2 left
💡 Hint

Consider what types of drift affect model accuracy but might not be detected by input data checks.