Designing and Implementing a Data Science Solution on Azure — Question 62

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?

Answer options

Correct answer: B

Explanation

The correct answer is B because the register_on_complete method of the OutputDatasetConfig class is specifically designed to register outputs as new versions of datasets after a pipeline run is completed. Options A, C, and D are not suitable for this purpose, as they pertain to input configurations and data consumption methods rather than registering outputs.