nerdexam
Microsoft

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

Design and prepare a machine learning solution

Question

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?

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)
  • A
    5% (2)
  • B
    93% (37)
  • C
    3% (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

#Azure Machine Learning#Synapse Spark Pool#Compute Target#Python SDK v2

Community Discussion

No community discussion yet for this question.

Full DP-100 Practice