DP-100 · Question #365
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 c
The correct answer is B. resource ID of the Synapse Spark pool and a user-defined name. The SynapseSparkCompute class constructor in Azure ML Python SDK v2 requires two key arguments: the resource ID of the Synapse Spark pool and a user-defined name for the compute target within the Azure ML workspace. The resource ID is a full Azure resource path that uniquely iden
Question
Options
- ASynapse workspace web URL and Spark pool name
- Bresource ID of the Synapse Spark pool and a user-defined name
- Cpool URL of the Synapse Spark pool and a system-assigned name
- DSynapse workspace name and workspace web URL
How the community answered
(40 responses)- A5% (2)
- B93% (37)
- C3% (1)
Explanation
The SynapseSparkCompute class constructor in Azure ML Python SDK v2 requires two key arguments: the resource ID of the Synapse Spark pool and a user-defined name for the compute target within the Azure ML workspace. The resource ID is a full Azure resource path that uniquely identifies the Synapse Spark pool (e.g., '/subscriptions/.../providers/Microsoft.Synapse/workspaces/.../bigDataPools/...'). The user-defined name is how the compute target will be referenced within the Azure ML workspace. A Synapse workspace URL, pool URL, or system-assigned name are not the parameters used in the SynapseSparkCompute constructor.
Topics
Community Discussion
No community discussion yet for this question.