exam questions

Exam DP-100 All Questions

View all questions & answers for the DP-100 exam

Exam DP-100 topic 3 question 111 discussion

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

You are developing a two-step Azure Machine Learning pipeline by using the Azure Machine Learning SDK for Python.

You need to register the output of the pipeline as a new version of a named dataset after the run has been completed.

What should you implement?

  • A. the as_input method of the OutputDatasetConfig class
  • B. the register_on_complete method of the OutputDatasetConfig class
  • C. the as_mount method of the DatasetConsumptionConfig class
  • D. the as_download method of the DatasetConsumptionConfig class
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
evangelist
4 days, 10 hours ago
Selected Answer: B
as_input is for next step in the pipeline; register_on_complete is for dataset register after the pipeline run ends
upvoted 1 times
...
kay1101
2 weeks, 5 days ago
Selected Answer: B
B. reference: https://learn.microsoft.com/en-us/python/api/azureml-core/azureml.data.output_dataset_config.outputdatasetconfig?view=azure-ml-py#methods
upvoted 1 times
...
Chishti
5 months, 1 week ago
Yeah Option B is correct.
upvoted 1 times
...
bobML
9 months, 1 week ago
B To register the output of an Azure Machine Learning pipeline as a new version of a named dataset after the run has been completed, you should implement option B: B. the register_on_complete method of the OutputDatasetConfig class The register_on_complete method allows you to register the output dataset as a new version of an existing named dataset after the pipeline run is completed. This is the appropriate method for creating a new version of a named dataset in Azure Machine Learning.
upvoted 2 times
...
BR_CS
9 months, 3 weeks ago
Seriously, is anyone checking this answers? There are so many obvious mistakes.
upvoted 1 times
...
phdykd
10 months, 3 weeks ago
B https://learn.microsoft.com/en-us/python/api/azureml-core/azureml.data.output_dataset_config.outputdatasetconfig?view=azure-ml-py#azureml-data-output-dataset-config-outputdatasetconfig-register-on-complete
upvoted 1 times
...
snegnik
1 year ago
# Create an OutputFileDatasetConfig output = OutputFileDatasetConfig(destination=(datastore, 'output/{run-id}')) # Register the output as a new version of a named Dataset after the run has completed output.register_on_complete('my-dataset') # Create a ScriptRunConfig script_run_config = ScriptRunConfig('.', 'train.py', arguments=[output])
upvoted 1 times
...
Jin_22
1 year, 2 months ago
Selected Answer: B
B. The register_on_complete method of the OutputDatasetConfig class should be implemented to register the output of the pipeline as a new version of a named dataset after the run has been completed.
upvoted 3 times
...
Tommo565
1 year, 2 months ago
Selected Answer: B
Correct answer is B: https://learn.microsoft.com/en-us/python/api/azureml-core/azureml.data.output_dataset_config.outputdatasetconfig?view=azure-ml-py#azureml-data-output-dataset-config-outputdatasetconfig-register-on-complete
upvoted 3 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago