exam questions

Exam DP-100 All Questions

View all questions & answers for the DP-100 exam

Exam DP-100 topic 3 question 13 discussion

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

HOTSPOT -
You are using Azure Machine Learning to train machine learning models. You need a compute target on which to remotely run the training script.
You run the following Python code:

For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Box 1: Yes -
The compute is created within your workspace region as a resource that can be shared with other users.

Box 2: Yes -
It is displayed as a compute cluster.

View compute targets -
1. To see all compute targets for your workspace, use the following steps:
2. Navigate to Azure Machine Learning studio.
3. Under Manage, select Compute.
4. Select tabs at the top to show each type of compute target.


Box 3: Yes -
min_nodes is not specified, so it defaults to 0.
Reference:
https://docs.microsoft.com/en-us/python/api/azureml-core/azureml.core.compute.amlcompute.amlcomputeprovisioningconfiguration https://docs.microsoft.com/en-us/azure/machine-learning/how-to-create-attach-compute-studio

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
trickerk
Highly Voted 3 years, 3 months ago
Given answer is correct!
upvoted 11 times
...
ljljljlj
Highly Voted 3 years, 3 months ago
On exam 2021/7/10
upvoted 5 times
...
Matt2000
Most Recent 9 months, 1 week ago
2 should be no. 'AmlCompute' refers to compute clusters, not instances: https://learn.microsoft.com/en-us/azure/machine-learning/how-to-create-attach-compute-cluster?view=azureml-api-2&tabs=python Instances require 'ComputeInstance', see https://learn.microsoft.com/en-us/azure/machine-learning/how-to-create-compute-instance?view=azureml-api-2&tabs=python
upvoted 1 times
Matt2000
8 months, 2 weeks ago
My mistake. The answer should be 'yes'
upvoted 1 times
...
...
haby
10 months, 2 weeks ago
2 should be No, this script is for training a ml model, that must be a computer instance, the first item in the pic shows. You can't say it's a cluster coz you assign it 'the_cluster_name'.
upvoted 1 times
...
SunilB
1 year, 7 months ago
Box 3 is correct - 0 The minimum number of nodes to use on the cluster. If not specified, defaults to 0. https://learn.microsoft.com/en-us/python/api/azureml-core/azureml.core.compute.amlcompute(class)?view=azure-ml-py
upvoted 3 times
...
danishanis
1 year, 8 months ago
The correct answer is Yes, Yes and No The minimum number of nodes for the compute target created in the above code will default to 1 if you do not specify the min_nodes parameter, not 0
upvoted 1 times
danishanis
1 year, 8 months ago
Additional explanation: For box 3, it is 1 and not 0; This means that the compute target will always have at least one node running, even if no jobs are currently scheduled to run on it. The max_nodes parameter, on the other hand, does default to 1 if not specified. This means that by default, the compute target will have a single node, and will not scale up to more nodes automatically.
upvoted 1 times
GaryEl
1 year, 5 months ago
The default is zero https://learn.microsoft.com/en-us/python/api/azureml-core/azureml.core.compute.amlcompute.amlcomputeprovisioningconfiguration?view=azure-ml-py#parameters
upvoted 6 times
...
...
...
Suman_512
1 year, 8 months ago
For 2 it will be rather "Compute Instance" than "Compute Cluster" so - NO
upvoted 1 times
InversaRadice
11 months ago
"We guess" its a cluster by the varable name, I agree with YES and a not misleading question had to Exibit the Compute configuration ...
upvoted 1 times
...
...
racnaoamo
2 years, 5 months ago
similar question on 18-5-22
upvoted 4 times
...
hargur
3 years ago
on 19Oct2021
upvoted 3 times
...
mthombenindhl84
3 years, 1 month ago
on exam 11/9/2021
upvoted 3 times
...
dushmantha
3 years, 2 months ago
On exam 2021/08/31
upvoted 2 times
...
Skandinov
3 years, 6 months ago
how's 1 yes?
upvoted 1 times
gamezone25
3 years, 6 months ago
"The compute is created within your workspace region as a resource that can be shared with other users in your workspace." https://docs.microsoft.com/en-us/azure/machine-learning/how-to-create-attach-compute-cluster?tabs=python#what-is-a-compute-cluster
upvoted 7 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago