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 9 Question 62 Discussion

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

You create a Python script that runs a training experiment in Azure Machine Learning. The script uses the Azure Machine Learning SDK for Python.

You must add a statement that retrieves the names of the logs and outputs generated by the script.

You need to reference a Python class object from the SDK for the statement.

Which class object should you use?

Show Suggested Answer Hide Answer
Suggested Answer: A

A run represents a single trial of an experiment. Runs are used to monitor the asynchronous execution of a trial, log metrics and store output of the trial, and to analyze results and access artifacts generated by the trial.

The run Class get_all_logs method downloads all logs for the run to a directory.


https://docs.microsoft.com/en-us/python/api/azureml-core/azureml.core.run(class)

Contribute your Thoughts:

0/2000 characters
Lorean
4 months ago
Wait, why not Experiment? That seems relevant too!
upvoted 0 times
...
Reita
4 months ago
I agree with A, it makes the most sense for logs.
upvoted 0 times
...
Adelaide
4 months ago
A seems correct, but I’m not 100% sure.
upvoted 0 times
...
Garry
4 months ago
I think B is the right choice, ScripcRunConfig is key.
upvoted 0 times
...
Tamar
5 months ago
Definitely A, the Run class is what you need!
upvoted 0 times
...
Adria
5 months ago
I have a hunch that `Workspace` is more about managing resources, so it probably isn't the answer here.
upvoted 0 times
...
Stephaine
5 months ago
I practiced a similar question, and I feel like `ScriptRunConfig` is more about configuring the script rather than retrieving logs.
upvoted 0 times
...
Hermila
5 months ago
I'm not entirely sure, but I remember something about `Experiment` being related to tracking outputs. Could it be that one?
upvoted 0 times
...
Graciela
5 months ago
I think the `Run` class might be the right choice since it deals with the execution of the training script and logs.
upvoted 0 times
...
Stefany
5 months ago
This looks like a tricky DHCP configuration issue. I'll need to carefully review the options and the network diagram to determine the best approach.
upvoted 0 times
...
Art
5 months ago
Hmm, I'm a bit unsure about how to approach this. The insurance proceeds and the book value of the building seem to be the key pieces of information, but I'm not sure how to put them together to determine the loss.
upvoted 0 times
...

Save Cancel