DP-100 Designing and Implementing a Data Science Solution on Azure

Loading demo links...

Showing 16–18 of 20 questions

Question 16 (New Update)

You manage an Azure Machine Learning workspace named workspaces

You must develop Python SDK v2 code to attach an Azure Synapse Spark pool as a compute target in workspaces The code must invoke the constructor of the SynapseSparkCompute class.

You need to invoke the constructor.

What should you use?

Select an option, then click Submit answer.

  • Synapse workspace web URL and Spark pool name

  • resource ID of the Synapse Spark pool and a user-defined name

  • pool URL of the Synapse Spark pool and a system-assigned name

  • Synapse workspace name and workspace web URL

Question 17 (New Update)

You write five Python scripts that must be processed in the order specified in Exhibit A – 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?

Select an option, then click Submit answer.

  • Option A

  • Option B

  • Option C

  • Option D

Question 18 (New Update)

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.

After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.

You are using Azure Machine Learning to run an experiment that trains a classification model.

You want to use Hyperdrive to find parameters that optimize the AUC metric for the model. You configure a HyperDriveConfig for the experiment by running the following code:

You plan to use this configuration to run a script that trains a random forest model and then tests it with validation data. The label values for the validation data are stored in a variable named y_test variable, and the predicted probabilities from the model are stored in a variable named y_predicted.

You need to add logging to the script to allow Hyperdrive to optimize hyperparameters for the AUC metric. Solution: Run the following code:

Does the solution meet the goal?

Select an option, then click Submit answer.

  • Yes

  • No