exam questions

Exam DP-100 All Questions

View all questions & answers for the DP-100 exam

Exam DP-100 topic 2 question 29 discussion

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

HOTSPOT -
You are preparing to use the Azure ML SDK to run an experiment and need to create compute. You run the following 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
iuolu
Highly Voted 3 years, 6 months ago
The correct answer: No No Yes No
upvoted 64 times
Edriv
1 year, 10 months ago
Correct
upvoted 2 times
...
...
reini
Highly Voted 3 years, 6 months ago
second answer should be no, as the here not specified parameter min_node_count defaults to 'none' - see https://docs.microsoft.com/en-us/python/api/azureml-core/azureml.core.compute.amlcompute(class)?view=azure-ml-py
upvoted 13 times
azurelearner666
2 years, 6 months ago
Exactly. Also technically it defaults to zero, so only the cluster is created and the nodes are created/added whenever they are needed. But response is No, No, Yes, No
upvoted 2 times
...
scott_klein_12345
3 years, 6 months ago
Have you looked at other questions? Are the answers to other questions correct?
upvoted 1 times
...
...
Ejire
Most Recent 5 months ago
Answer is No NoYes No. If you need voucher for your DP and AI exams contact me on+2348139103938
upvoted 1 times
...
kel_dp_100
11 months, 3 weeks ago
the second should be Yes, from GPT Yes, your understanding is correct. The wait_for_completion method, when called on a compute target, will wait until the specified compute target (in this case, the 'aml-cluster') has all its nodes provisioned and ready for use. The parameter show_output=True will also display detailed output while waiting, so you can monitor the progress. So, in your specific code, it will not return until the 'aml-cluster' has all four nodes provisioned and ready for use.
upvoted 1 times
...
MarinaMijailovic
1 year, 5 months ago
NO NO YES NO NO - If it doesn't exist an exception is raised, then a new compute target is created. It doesn't delete and replace an existing one. NO - The wait_for_completion() method will return when the compute target is in the 'Succeeded' or 'Failed' provisioning state. It doesn't specifically wait for all four nodes to become active. YES - The compute target is being created with 'lowpriority' VMs, which can be preempted if Azure needs the capacity. NO - This code snippet does not include any code to delete the compute target after the training experiment completes.
upvoted 5 times
...
Yuriy_Ch
1 year, 7 months ago
Exactly this question was on exam 07/March/2023
upvoted 2 times
...
jpalaci22
1 year, 8 months ago
Seen on the exam 20Feb2023
upvoted 2 times
...
turtle666
2 years, 6 months ago
training_compute created from ComputeTarget class, and wait_for_completion() not have min_node option, different from AmlCompute Class https://docs.microsoft.com/en-us/python/api/azureml-core/azureml.core.compute.computetarget?view=azure-ml-py#azureml-core-compute-computetarget-wait-for-completion
upvoted 1 times
...
Thornehead
2 years, 7 months ago
No, Yes, Yes and No. Read the question and coding carefully.
upvoted 3 times
...
kkkk_jjjj
2 years, 7 months ago
on exam 18/03/2022
upvoted 2 times
...
TheYazan
2 years, 7 months ago
On march-9-2022
upvoted 1 times
...
JoshuaXu
2 years, 12 months ago
on exam 6 Nov 2021
upvoted 1 times
...
hargur
3 years ago
on 19Oct2021
upvoted 1 times
...
Rosh4yuh
3 years, 3 months ago
on 17/7/2021
upvoted 3 times
...
ljljljlj
3 years, 3 months ago
On exam 2021/7/10
upvoted 4 times
...
Meg04
3 years, 4 months ago
min_node_count | default value: None Minimum number of nodes to wait for before considering provisioning to be complete. This doesn't have to equal the minimum number of nodes that the compute was provisioned with, however it should not be greater than that. https://docs.microsoft.com/en-us/python/api/azureml-core/azureml.core.compute.amlcompute(class)?view=azure-ml-py#wait-for-completion-show-output-false--min-node-count-none--timeout-in-minutes-25--is-delete-operation-false-
upvoted 1 times
...
azurecert2021
3 years, 4 months ago
yes agree with other correct answer is No No Yes No
upvoted 4 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