ai-200 Practice Question 1996
Exam: ai-200
Domain: Explore data and train models
Topic: Train models by using Azure Machine Learning
Difficulty: medium
You are working on a machine learning project and want to track the performance metrics of your experiments using MLflow. How would you integrate MLflow into your Azure Machine Learning pipeline to ensure that all experiment runs are properly logged and tracked?
Answer Options
A
Use a different logging system that is not compatible with Azure Machine Learning.
B
Install the MLflow Python package and use its API to log metrics, parameters, and artifacts from your training scripts.
C
Disable logging since MLflow is not necessary for tracking experiments in Azure Machine Learning.
D
Create a custom environment container and use it to run training jobs with MLflow tracking enabled.
Correct Answer
B: Install the MLflow Python package and use its API to log metrics, parameters, and artifacts from your training scripts.
Explanation
The correct answer is B because MLflow can be integrated into an Azure Machine Learning pipeline by using the MLflow SDK to log metrics, parameters, and artifacts from your training scripts. Option A is incorrect because it suggests using a separate logging system without integrating with MLflow. Option C is incorrect as it implies that MLflow cannot be used for tracking, which is false. Option D is incorrect because it mentions a custom environment container, which is not directly related to integrating MLflow for tracking.