exam questions

Exam DP-100 All Questions

View all questions & answers for the DP-100 exam

Exam DP-100 topic 3 question 29 discussion

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

HOTSPOT -
You are using the Hyperdrive feature in Azure Machine Learning to train a model.
You configure the Hyperdrive experiment by running 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
hendriktytgatpwc
Highly Voted 3 years, 8 months ago
Box 1 should be NO: only grid sampling does an exhaustive search https://docs.microsoft.com/en-us/azure/machine-learning/how-to-tune-hyperparameters#define-search-space
upvoted 89 times
stonefl
3 years, 8 months ago
agree, too.
upvoted 5 times
...
kty
3 years, 8 months ago
I agree
upvoted 4 times
...
...
jasonbourne7158
Highly Voted 3 years, 7 months ago
It should be: No, Yes, No, No
upvoted 29 times
...
zainkhazi
Most Recent 9 months ago
For those who are still thinking it must be Grid Sampling: All combination + Reduce computing resource , because "Research has shown that this method (Random Grid Sweep) yields the same results, but is more efficient computationally." I think D would be the best choice Referred from: Topic 1 Question 37 in DP-100 Credit: @lookaaaa
upvoted 1 times
...
NullVoider_0
11 months, 3 weeks ago
Based on the Hyperdrive configuration code snippet provided: 1. False - Using RandomParameterSampling does not test every possible parameter combination, only randomly selected values from the specified distributions. 2. True - The learning_rate parameter is configured to select values randomly from a normal distribution with mean 10 and standard deviation 3. 3. False - The keep_probability parameter uses a uniform distribution between 0.05 and 0.1, so it can take on any value in that range. 4. False - The number_of_hidden_layers parameter samples from a choice of discrete values from 3 to 5, not from a normal distribution.
upvoted 1 times
...
phdykd
1 year, 4 months ago
No, Yes, No, No
upvoted 4 times
Deathking15
1 year ago
"No, Yes, No, No" should be the correct answer, the only point of contention being the first answer. Random searching does not exhaustively search, except maybe in instances where the search space is entirely discrete (which, because it contains a Normal distribution, the question's is not).
upvoted 1 times
...
...
ajay0011
1 year, 8 months ago
No,Yes,No,No
upvoted 2 times
...
Yuriy_Ch
1 year, 9 months ago
was on exam 07/March/2023
upvoted 4 times
...
Edriv
1 year, 10 months ago
No, Yes, Yes, Yes
upvoted 1 times
...
MattAnya
1 year, 11 months ago
on 03 Jan 2023
upvoted 6 times
...
Arend78
1 year, 12 months ago
Please note that range() in Python is excluding the upper boundary value, see https://docs.microsoft.com/en-us/azure/machine-learning/how-to-tune-hyperparameters: command_job_for_sweep = command_job( batch_size=Choice(values=[16, 32, 64, 128]), number_of_hidden_layers=Choice(values=range(1,5)), command_job_for_sweep = command_job( batch_size=Choice(values=[16, 32, 64, 128]), number_of_hidden_layers=Choice(values=range(1,5)), ) In this case, batch_size one of the values [16, 32, 64, 128] and number_of_hidden_layers takes one of the values [1, 2, 3, 4].
upvoted 1 times
...
therealola
2 years, 5 months ago
Similar question on exam 18-06-22
upvoted 3 times
...
kevinvbc
2 years, 7 months ago
It should be No, Yes,No, No. It is random sampling not grid sampling, so not all possible combinations will be tested (which would be impossible here anyway, since some of the parameters are coming from continuous distributions).
upvoted 2 times
...
kkkk_jjjj
2 years, 8 months ago
on exam 18/03/2022
upvoted 3 times
Ankicaa
2 years, 8 months ago
what is the right answer? Is the suggested answer here correct? I am doubtful for the first box. Does every combination be tested?
upvoted 1 times
...
...
JoshuaXu
3 years, 1 month ago
on 7 Nov 2021, same question about RandomSample, but different question (very similar), be aware of different distributions and traits of RandomSample
upvoted 2 times
...
hargur
3 years, 1 month ago
on 19Oct2021
upvoted 2 times
...
pkal
3 years, 2 months ago
on exam 9/24/2021
upvoted 2 times
...
ljljljlj
3 years, 4 months ago
On exam 2021/7/10
upvoted 5 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 ...