New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft DP-100 Exam - Topic 1 Question 32 Discussion

Actual exam question for Microsoft's DP-100 exam
Question #: 32
Topic #: 1
[All DP-100 Questions]

You run an automated machine learning experiment in an Azure Machine Learning workspace. Information about the run is listed in the table below:

You need to write a script that uses the Azure Machine Learning SDK to retrieve the best iteration of the experiment run. Which Python code segment should you use?

A)

B)

C)

D)

Show Suggested Answer Hide Answer
Suggested Answer: A

The get_output method on automl_classifier returns the best run and the fitted model for the last invocation. Overloads on get_output allow you to retrieve the best run and fitted model for any logged metric or for a particular iteration.

In [ ]:

best_run, fitted_model = local_run.get_output()


https://notebooks.azure.com/azureml/projects/azureml-getting-started/html/how-to-use-azureml/automated-machine-learning/classification-with-deployment/auto-ml-classification-with-deployment.ipynb

Contribute your Thoughts:

0/2000 characters
Izetta
4 months ago
Definitely Option B, it’s the most straightforward!
upvoted 0 times
...
Margot
4 months ago
Wait, is Option D even valid? Seems off.
upvoted 0 times
...
Elden
4 months ago
Option A looks good, but I’m not sure.
upvoted 0 times
...
Paris
4 months ago
Nah, I’m leaning towards Option C.
upvoted 0 times
...
Jeniffer
5 months ago
I think Option B is the right choice!
upvoted 0 times
...
Mari
5 months ago
I’m a bit confused about whether we should be looking for a specific attribute in the run object or just the best overall metrics. I hope I can recall the right syntax.
upvoted 0 times
...
Donte
5 months ago
I practiced a similar question where we had to fetch metrics from a run. I feel like it could be related to how we access the run details in the SDK.
upvoted 0 times
...
Fernanda
5 months ago
I think I remember that to retrieve the best iteration, we might need to use the `get_best_run()` method, but I'm not sure which option that corresponds to.
upvoted 0 times
...
Elenora
5 months ago
I vaguely remember that the best iteration is usually tied to the `get_metrics()` function, but I can't recall if that was in the context of a specific option here.
upvoted 0 times
...
Nu
5 months ago
Ugh, I'm not too familiar with Samba services. I'll have to guess on this one.
upvoted 0 times
...
Simona
5 months ago
Hmm, I'm a bit confused about the indexation factor. How does that affect the calculation? I'll need to make sure I understand that properly.
upvoted 0 times
...
Leota
5 months ago
I'm not sure, but I remember practicing a similar question that mentioned port 80... could it be option A?
upvoted 0 times
...
Adela
5 months ago
Okay, let's see. I think the key here is to configure the pipeline or policy to handle the specific CVE. I'm leaning towards option B, setting the exception in the Console's CI policy.
upvoted 0 times
...

Save Cancel