nerdexam
Microsoft

DP-100 · Question #316

You manage an Azure Machine Learning workspace. You must create and configure a compute cluster for a training job by using Python SDK v2. You need to create a persistent Azure Machine Learning comput

The correct answer is A. size E. max_instances. When creating an AmlCompute cluster using Azure ML Python SDK v2 with the minimum required properties, you must specify size (A) and max_instances (E). The size property defines the VM SKU for the cluster nodes (e.g., 'Standard_DS3_v2') and has no default, making it mandatory. Th

Design and prepare a machine learning solution

Question

You manage an Azure Machine Learning workspace. You must create and configure a compute cluster for a training job by using Python SDK v2. You need to create a persistent Azure Machine Learning compute resource, specifying the fewest possible properties. Which two properties should you define? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.

Options

  • Asize
  • Bwin_instances
  • Ctype
  • Dname
  • Emax_instances

How the community answered

(26 responses)
  • A
    85% (22)
  • B
    4% (1)
  • C
    8% (2)
  • D
    4% (1)

Explanation

When creating an AmlCompute cluster using Azure ML Python SDK v2 with the minimum required properties, you must specify size (A) and max_instances (E). The size property defines the VM SKU for the cluster nodes (e.g., 'Standard_DS3_v2') and has no default, making it mandatory. The max_instances property sets the upper bound for autoscaling and is required for the cluster to operate. The type property (C) defaults to 'amlcompute' when using the AmlCompute class and does not need to be explicitly set. The min_instances property defaults to 0, and win_instances (B) is not a valid SDK v2 property for AmlCompute.

Topics

#Azure Machine Learning#Compute Cluster#Python SDK v2#AmlCompute configuration

Community Discussion

No community discussion yet for this question.

Full DP-100 Practice