DP-100 · Question #366
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…
The correct answer is B. Use the Environment class to create a new version of the environment. For environments, only description and tags can be updated. All other properties are immutable; if you need to change any of those properties you should create a new version of the environment. https://learn.microsoft.com/en-us/azure/machine-learning/how-to-manage-environments…
Question
Options
- AModify the conda_file to specify the new version of the Docker image.
- BUse the Environment class to create a new version of the environment.
- CUse the create_or_update method to change the tag of the image.
- DChange the description parameter of the environment configuration.
How the community answered
(16 responses)- A13% (2)
- B81% (13)
- C6% (1)
Explanation
For environments, only description and tags can be updated. All other properties are immutable; if you need to change any of those properties you should create a new version of the environment. https://learn.microsoft.com/en-us/azure/machine-learning/how-to-manage-environments- v2?view=azureml-api-2&tabs=python
Topics
Community Discussion
No community discussion yet for this question.