DP-100 · Question #359
You manage an Azure Machine Learning workspace by using the Azure CLI ml extension v2. You need to define a YAML schema to create a compute cluster. Which schema should you use?
The correct answer is B. https://azuremlschemas.azureedge.net/latest/amlCompute.schema.json. The correct YAML schema for creating a compute cluster in Azure ML CLI v2 is amlCompute.schema.json. 'AmlCompute' refers to Azure Machine Learning managed compute clusters, which are scalable, multi-node compute resources used for training jobs. The other schemas serve…
Question
Options
How the community answered
(39 responses)- B90% (35)
- C3% (1)
- D8% (3)
Explanation
The correct YAML schema for creating a compute cluster in Azure ML CLI v2 is amlCompute.schema.json. 'AmlCompute' refers to Azure Machine Learning managed compute clusters, which are scalable, multi-node compute resources used for training jobs. The other schemas serve different purposes: computeInstance.schema.json is for single-node development VMs (compute instances), kubernetesCompute.schema.json is for attaching Azure Kubernetes Service or Arc-enabled Kubernetes clusters, and vmCompute.schema.json (vmCompute) does not apply to managed compute clusters. When writing the YAML file, the $schema field must reference the amlCompute schema to define a compute cluster correctly.
Topics
Community Discussion
No community discussion yet for this question.