exam questions

Exam DP-100 All Questions

View all questions & answers for the DP-100 exam

Exam DP-100 topic 2 question 100 discussion

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

HOTSPOT
-

You create an Azure Machine Learning workspace. You use the Azure Machine Learning Python SDK v2 to create a compute cluster.

The compute cluster must run a training script. Costs associated with running the training script must be minimized.

You need to complete the Python script to create the compute cluster.

How should you complete the script? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

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
haby
Highly Voted 10 months, 2 weeks ago
I think should be tier="LowPriority" since min_instances has default value 0. If dont set min_instances value, it will be 0 by default.
upvoted 7 times
...
sl_mslconsulting
Most Recent 5 months, 2 weeks ago
should be tier="LowPriority". Setting min_instances to 0 won't help you cut down the cost if you are actively training a model.
upvoted 1 times
sl_mslconsulting
5 months, 2 weeks ago
Besides it's asking "Costs associated with running the training script must be minimized." so the nodes won't be idle.
upvoted 1 times
...
...
vv_bb
11 months, 3 weeks ago
The correct answer is: - AmlCompute - tier="LowPriority"
upvoted 4 times
vv_bb
11 months, 3 weeks ago
While there is no doubts what the answer should be for the first part, let me explain the answer for the second. 1) According to the question, we should minimize the cost "...associated with running the training script...". It means the goal is to minimize the costs exactly for training, not for the rest of the time. Why? Well, because for example the cluster may even be deleted immediately after the training completed, etc. We can't be sure why we've being asked not to consider еру сщыеы other than necessary for training, but that's what we've being asked for. And during the training, cluster eventually use all the possible nodes, so defining the [min_instances = 0] will not affect the costs for training at all.
upvoted 1 times
vv_bb
11 months, 3 weeks ago
2) According to the page below, if you'll not define the min_instances, then the default value = 0 will be used. So actually there is even no need to explicitly define [min_instances = 0] While, if you're not defining tier, then the default value = 'dedicated' will be used. https://learn.microsoft.com/en-us/azure/machine-learning/reference-yaml-compute-aml?view=azureml-api-2
upvoted 3 times
...
...
...
damaldon
1 year, 3 months ago
Correct.
upvoted 2 times
...
Batman160591
1 year, 4 months ago
seems correct
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago