Which Python code segment should you use?

Posted by: Pdfprep Category: DP-100 Tags: , ,

You write five Python scripts that must be processed in the order specified in Exhibit A C which allows the same modules to run in parallel, but will wait for modules with dependencies.

You must create an Azure Machine Learning pipeline using the Python SDK, because you want to script to create the pipeline to be tracked in your version control system. You have created five PythonScriptSteps and have named the variables to match the module names.

You need to create the pipeline shown. Assume all relevant imports have been done.

Which Python code segment should you use?

A)

B)

C)

D)
A . Option A
B . Option B
C . Option C
D . Option D

Answer: A

Explanation:

The steps parameter is an array of steps. To build pipelines that have multiple steps, place the steps in order in this array.

Explanation:

Reference: https://docs.microsoft.com/en-us/azure/machine-learning/how-to-use-parallel-run-step

Leave a Reply

Your email address will not be published.