Challenge - 5 Problems
MLflow Mastery Badge
Get all challenges correct to earn this badge!
Test your skills under time pressure!
💻 Command Output
intermediate2:00remaining
MLflow Tracking Server Start Output
You run the command
mlflow server --backend-store-uri sqlite:///mlflow.db --default-artifact-root ./artifacts. What output indicates the server started successfully?MLOps
mlflow server --backend-store-uri sqlite:///mlflow.db --default-artifact-root ./artifacts
Attempts:
2 left
💡 Hint
Look for a log line that confirms the server is running and listening.
✗ Incorrect
The MLflow server logs an INFO message with the URL when it starts successfully. Errors or warnings indicate problems.
🧠 Conceptual
intermediate1:30remaining
MLflow Experiment Default Behavior
When you run
mlflow.start_run() without specifying an experiment, what happens?Attempts:
2 left
💡 Hint
Think about what MLflow does when no experiment is given.
✗ Incorrect
MLflow uses a default experiment named 'Default' and creates it if missing when no experiment is specified.
🔀 Workflow
advanced2:30remaining
Correct MLflow Run Logging Sequence
Arrange these steps in the correct order to log parameters and metrics in MLflow:
Attempts:
2 left
💡 Hint
You must start a run before logging anything, and end it last.
✗ Incorrect
MLflow requires starting a run first, then logging parameters and metrics, and finally ending the run.
❓ Troubleshoot
advanced2:00remaining
MLflow Artifact Storage Issue
You configured MLflow with
--default-artifact-root ./artifacts but your artifacts are not saved after runs. What is the most likely cause?Attempts:
2 left
💡 Hint
Check file system permissions and directory existence.
✗ Incorrect
If the artifact directory is missing or not writable, MLflow cannot save artifacts there.
✅ Best Practice
expert3:00remaining
MLflow Model Versioning Strategy
Which approach best supports reproducibility and easy rollback when using MLflow model registry in a team environment?
Attempts:
2 left
💡 Hint
Think about how teams can track and revert models easily.
✗ Incorrect
Using MLflow model registry with versioning and tags allows clear tracking, reproducibility, and rollback.