exam questions

Exam DP-100 All Questions

View all questions & answers for the DP-100 exam

Exam DP-100 topic 2 question 121 discussion

Actual exam question from Microsoft's DP-100
Question #: 121
Topic #: 2
[All DP-100 Questions]

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.

  • A. size
  • B. win_instances
  • C. type
  • D. name
  • E. max_instances
Show Suggested Answer Hide Answer
Suggested Answer: AE 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
f82411e
2 months, 1 week ago
Selected Answer: AD
B. win_instances: Not a valid property. C. type: Not directly specified; the type is implied by the class AmlCompute. E. max_instances: Optional — useful to auto-scale, but not required. cpu_cluster = AmlCompute( name="cpu-cluster", size="Standard_DS11_v2" )
upvoted 1 times
...
avinyc
7 months ago
Selected Answer: AE
https://learn.microsoft.com/en-us/AZURE/machine-learning/how-to-create-attach-compute-cluster?view=azureml-api-1&tabs=python
upvoted 1 times
...
gunn_m
8 months, 2 weeks ago
Sorry, my last answer was wrong, the correct answer would be A and E
upvoted 1 times
...
gunn_m
8 months, 2 weeks ago
from azure.ai.ml.entities import AmlCompute from azure.ai.ml import MLClient ml_client = MLClient( credential=DefaultAzureCredential(), subscription_id="your-subscription-id", resource_group_name="your-resource-group", workspace_name="your-workspace-name" ) compute_cluster = AmlCompute( name="my-compute-cluster", size="Standard_DS3_v2" ) ml_client.compute.begin_create_or_update(compute_cluster) A and D
upvoted 1 times
...
Sadhak
8 months, 2 weeks ago
Selected Answer: AE
To create a persistent Azure Machine Learning Compute resource in Python, specify the size and max_instances properties. Azure Machine Learning then uses smart defaults for the other properties. size: The VM family of the nodes created by Azure Machine Learning Compute. max_instances: The maximum number of nodes to autoscale up to when you run a job on Azure Machine Learning Compute. https://learn.microsoft.com/en-us/azure/machine-learning/how-to-create-attach-compute-cluster?view=azureml-api-2&tabs=python
upvoted 1 times
...
Sadhak
9 months ago
Selected Answer: AE
To create a persistent Azure Machine Learning Compute resource in Python, specify the size and max_instances properties. Azure Machine Learning then uses smart defaults for the other properties. size: The VM family of the nodes created by Azure Machine Learning Compute. https://learn.microsoft.com/en-us/azure/machine-learning/how-to-create-attach-compute-cluster?view=azureml-api-2&tabs=python
upvoted 2 times
...
onurag
9 months, 2 weeks ago
should be size and name, type is not essential property
upvoted 1 times
...
PrenCarr
10 months ago
Selected Answer: CD
To create a persistent Azure Machine Learning compute resource with the fewest possible properties using the Python SDK v2, you should define: type © name (D) These two properties are essential for creating the compute resource. The type specifies the kind of compute resource, and the name gives it a unique identifier within your workspace.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...