Challenge - 5 Problems
ML CI/CD Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate2:00remaining
Key difference in CI/CD pipelines for ML vs traditional software
Which of the following best explains why CI/CD pipelines for machine learning projects differ from those for traditional software projects?
Attempts:
2 left
💡 Hint
Think about what extra elements ML projects need to manage compared to software projects.
✗ Incorrect
ML pipelines must manage data and model lifecycle, including versioning and retraining, which traditional software pipelines do not.
💻 Command Output
intermediate2:00remaining
Output of a model training step in ML CI/CD pipeline
What is the expected output when running a model training script in an ML CI/CD pipeline that logs metrics?
MLOps
python train.py --log-metrics
# Assume train.py prints training accuracy and lossAttempts:
2 left
💡 Hint
Look for a successful training output with high accuracy and saved model.
✗ Incorrect
The training script outputs accuracy and loss metrics and confirms the model is saved, indicating successful training.
🔀 Workflow
advanced3:00remaining
Order of steps in an ML CI/CD pipeline
Arrange the following steps in the correct order for a typical ML CI/CD pipeline.
Attempts:
2 left
💡 Hint
Think about validating data before training, then evaluating before deploying.
✗ Incorrect
Data validation comes first to ensure quality data, followed by training, evaluation to check model quality, then deployment.
❓ Troubleshoot
advanced2:30remaining
Troubleshooting model deployment failure in ML CI/CD
A model deployment step in your ML CI/CD pipeline fails with the error: 'Model file not found'. What is the most likely cause?
Attempts:
2 left
💡 Hint
Consider what the deployment step needs from previous steps.
✗ Incorrect
If the model file is missing, it usually means the training step did not save it correctly or in the expected path.
✅ Best Practice
expert3:00remaining
Best practice for versioning in ML CI/CD pipelines
Which versioning strategy is best practice for managing ML models and data in CI/CD pipelines?
Attempts:
2 left
💡 Hint
Think about how to track changes in code, data, and models independently.
✗ Incorrect
Best practice is to version code semantically and track data and models with unique identifiers like hashes to ensure reproducibility.