exam questions

Exam DP-100 All Questions

View all questions & answers for the DP-100 exam

Exam DP-100 topic 4 question 31 discussion

Actual exam question from Microsoft's DP-100
Question #: 31
Topic #: 4
[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?

  • A. pipeline_run.get.metrics()
  • B. pipeline_run.wait_for_completion(show_output=True)
  • C. pipeline_param = PipelineParameter(name="stdout", default_value="console")
  • D. pipeline_run.get_status()
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
trysec
10 months ago
The correct answer is B
upvoted 1 times
...
pancman
1 year, 7 months ago
Selected Answer: B
Confirmed, given answer is correct.
upvoted 3 times
...
kkkk_jjjj
1 year, 8 months ago
on exam 18/03/2022
upvoted 4 times
...
synapse
1 year, 8 months ago
Selected Answer: B
Given answer B is correct
upvoted 1 times
...
Tsardoz
1 year, 10 months ago
agree with answer "when the pipeline completes" is key
upvoted 2 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 ...