Skip to Content

DP-100: How to use the latest version of a Docker image for Azure Machine Learning environment configuration

Learn how to use the latest version of a Docker image for Azure Machine Learning environment configuration using the Azure Machine Learning SDK v2.

Table of Contents

Question

You manage an Azure Machine Learning workspace. You have an environment for training jobs which uses an existing Docker image.

A new version of the Docker image is available.

You need to use the latest version of the Docker image for the environment configuration by using the Azure Machine Learning SDK v2.

What should you do?

A. Modify the conda_file to specify the new version of the Docker image.
B. Use the Environment class to create a new version of the environment.
C. Use the create_or_update method to change the tag of the image.
D. Change the description parameter of the environment configuration.

Answer

B. Use the Environment class to create a new version of the environment.

Explanation

To use the latest version of a Docker image for an environment configuration in Azure Machine Learning using the SDK v2, you should B. Use the Environment class to create a new version of the environment. This allows you to specify the new Docker image version within the environment definition.

Designing and Implementing a Data Science Solution on Azure DP-100 certification exam practice question and answer (Q&A) dump with detail explanation and reference available free, helpful to pass the Designing and Implementing a Data Science Solution on Azure DP-100 exam and earn Designing and Implementing a Data Science Solution on Azure DP-100 certification.