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 5 Question 48 Discussion

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

You have a Python script that executes a pipeline. The script includes the following code:

from azureml.core import Experiment

pipeline_run = Experiment(ws, 'pipeline_test').submit(pipeline)

You want to test the pipeline before deploying the script.

You need to display the pipeline run details written to the STDOUT output when the pipeline completes.

Which code segment should you add to the test script?

Show Suggested Answer Hide Answer
Suggested Answer: B

wait_for_completion: Wait for the completion of this run. Returns the status object after the wait.

Syntax: wait_for_completion(show_output=False, wait_post_processing=False, raise_on_error=True)

Parameter: show_output

Indicates whether to show the run output on sys.stdout.


Contribute your Thoughts:

0/2000 characters
Matthew
4 months ago
D just gives the status, not the output we need.
upvoted 0 times
...
Leatha
4 months ago
A is just for metrics, not the full run details.
upvoted 0 times
...
Hortencia
4 months ago
Not so sure about B, can we really see all details that way?
upvoted 0 times
...
Vallie
5 months ago
Definitely agree with B! It shows the output.
upvoted 0 times
...
Antonio
5 months ago
I think option B is the way to go.
upvoted 0 times
...
Fabiola
5 months ago
I feel like `get_status()` just gives the current status, not the details we need after completion.
upvoted 0 times
...
Charolette
5 months ago
I'm a bit confused; I thought `get.metrics()` would show details, but now I wonder if it actually displays them in STDOUT.
upvoted 0 times
...
Paris
5 months ago
I think I practiced a similar question where we had to display output, and I chose the option that included `show_output=True`.
upvoted 0 times
...
Kara
5 months ago
I remember something about waiting for the pipeline to complete, but I'm not sure if it's the right option here.
upvoted 0 times
...
Ma
5 months ago
I'm a bit confused on the difference between a "Registration Handler" and "just-in-time provisioning." I'll need to review those concepts before deciding on the best answer.
upvoted 0 times
...
Nakita
5 months ago
High collectivism seems like the most likely culprit to me. If the staff have a strong group orientation, individual rewards might not be as effective.
upvoted 0 times
...
Marilynn
5 months ago
I'm a bit confused about supply localization; I thought it was more about geographic factors. Does it directly relate to having fewer suppliers?
upvoted 0 times
...

Save Cancel