exam questions

Exam DP-100 All Questions

View all questions & answers for the DP-100 exam

Exam DP-100 topic 2 question 25 discussion

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

HOTSPOT -
You create an Azure Machine Learning compute target named ComputeOne by using the STANDARD_D1 virtual machine image.
ComputeOne is currently idle and has zero active nodes.
You define a Python variable named ws that references the Azure Machine Learning workspace. 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:

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
dev2dev
Highly Voted 4 years, 2 months ago
Correct answers are No, Yes, Yes
upvoted 103 times
trickerk
3 years, 11 months ago
I completely agree, because the exception will not be generated and the code inside this block (exception) will not be executed.
upvoted 3 times
...
azurecert2021
3 years, 11 months ago
yes given answer is wrong and correct answer is NO Yes Yes
upvoted 7 times
...
Bridgerton
3 years, 1 month ago
Agreed, the code given actually represents the compute creation, if there was no computeOne then the code will create one but as in this case there is already a computeOne, Exception block will not be executed
upvoted 7 times
...
...
JoshuaXu
Highly Voted 3 years, 7 months ago
Tried the code and the answers "No, Yes, Yes" CONFIRMED
upvoted 11 times
...
f11c733
Most Recent 11 months, 4 weeks ago
The answer is incorrect. No, yes, yes is correct because Compute 1 already exists
upvoted 1 times
...
Nadine_nm
1 year, 9 months ago
In the first line of the code : try : ....... print('Step1') We are checking if the compute already exists or not. Since it has been created the print will work, and so the "exception" sequence won't be executed. the fact that the cluster is not running, will not delete it. Answer should ben then, No, Yes, Yes.
upvoted 1 times
...
jpalaci22
2 years, 3 months ago
Seen on the exam 20Feb2023
upvoted 4 times
...
MansoorDataScientist
2 years, 4 months ago
NO,YES,YES
upvoted 2 times
...
Arend78
2 years, 6 months ago
I agree with the majority saying "Correct answer = No, Yes, Yes" I believe "idle" does not mean offline or non-existent, just "not busy"
upvoted 2 times
...
azurelearner666
3 years, 1 month ago
Wrong, Should be Yes Yes Yes. My criteria for the first one is that the compute resource is created, that is the cluster, with a vm size of DS12_v2 and max 4 nodes. This compute resource is the cluster definition, not the VM's which are created while used. But, the cluster definition, the Machine Learning Compute Resource IS CREATED. So, Yes, Yes and Yes.
upvoted 1 times
...
DingDongSingSong
3 years, 2 months ago
Why is the first answer No, and the second answer Yes?
upvoted 1 times
...
[Removed]
3 years, 3 months ago
On 20Feb2022
upvoted 4 times
...
adamwar
3 years, 7 months ago
Correct answer No, Yes, Yes You can test this yourself by making a cluster (cpu-cluster) which can scale to zero nodes then running the code below: from azureml.core.compute import ComputeTarget from azureml.core.compute_target import ComputeTargetException cluster_name = "cpu-cluster" try: the_cluster = ComputeTarget(ws, name=cluster_name) print("Cluster with zero nodes ready to use") except ComputeTargetException: print("Failed to reference cluster with zero nodes")
upvoted 3 times
...
hargur
3 years, 7 months ago
on 19Oct2021
upvoted 1 times
...
kisskeo
3 years, 8 months ago
On Exam 01 Oct 2021
upvoted 1 times
...
snsnsnsn
3 years, 9 months ago
on exam 2/9/21
upvoted 1 times
...
datamijn
3 years, 10 months ago
on 2/8/2021
upvoted 2 times
...
Rosh4yuh
3 years, 10 months ago
on 17/7/2021 Answers are No, Yes, Yes
upvoted 5 times
...
ljljljlj
3 years, 11 months ago
On exam 2021/7/10
upvoted 2 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 ...