ai-200 Practice Question 1995

Exam: ai-200
Domain: Explore data and train models
Topic: Train models by using Azure Machine Learning
Difficulty: medium
In an Azure Machine Learning project, you need to optimize the hyperparameters of a machine learning model using HyperDrive. Which of the following best describes how you would set up the HyperDrive configuration to achieve this goal?

Answer Options

A
Define a fixed set of hyperparameters and manually run multiple training jobs.
B
Define a search space for hyperparameters and configure HyperDrive to perform automated hyperparameter tuning.
C
Use a single set of hyperparameters and rely on the model's default settings.
D
Create a custom environment container and use it to run training jobs with different hyperparameters.

Correct Answer

B: Define a search space for hyperparameters and configure HyperDrive to perform automated hyperparameter tuning.

Explanation

The correct answer is B because HyperDrive in Azure Machine Learning allows you to define a search space for hyperparameters and automatically runs multiple training jobs with different hyperparameter values to find the optimal set. Option A is incorrect because it refers to a manual process which does not leverage automation. Option C is incorrect as it suggests using a fixed set of hyperparameters, which defeats the purpose of hyperparameter tuning. Option D is incorrect because it mentions a custom environment container, which is not directly related to setting up HyperDrive for hyperparameter tuning.

Related Practice Questions