Valid DP-100 Dumps shared by ExamDiscuss.com for Helping Passing DP-100 Exam! ExamDiscuss.com now offer the newest DP-100 exam dumps, the ExamDiscuss.com DP-100 exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com DP-100 dumps with Test Engine here:
You manage an Azure Machine Learning workspace named workspace1. You must develop Python SDK v2 code to attach an Azure Synapse Spark pool as a compute target in workspace1. The code must invoke the constructor of the SynapseSparkCompute class. You need to invoke the constructor. What should you use?
Correct Answer: B
To attach a Synapse Compute using Python SDK, first create an instance of azure.ai.ml.MLClient class. This provides convenient functions for interaction with Azure Machine Learning services. The following code sample uses azure.identity.DefaultAzureCredential for connecting to a workspace in resource group of a specified Azure subscription. In the following code sample, define the SynapseSparkCompute with the parameters: name - user-defined name of the new attached Synapse Spark pool. resource_id - resource ID of the Synapse Spark pool created earlier in the Azure Synapse Analytics workspace.