nerdexam
Microsoft

DP-100 · Question #544

You manage an Azure Machine Learning workspace. You configure a standalone Apache Spark job in the workspace by using Python SDK v2. You need to create the job by using an Azure Machine Learning…

The correct answer is B. Spark D. MLClient. To submit a standalone serverless Spark job in Azure Machine Learning using Python SDK v2, you need two key classes: the Spark class (B), which defines the job specification including inputs, outputs, compute configuration (set to serverless), and identity; and the MLClient…

Explore data and run experiments

Question

You manage an Azure Machine Learning workspace. You configure a standalone Apache Spark job in the workspace by using Python SDK v2. You need to create the job by using an Azure Machine Learning serverless Spark compute with input, output, and user identity. Which two classes should you configure? Each correct answer presents part of the solution. Choose two. NOTE: Each correct selection is worth one point.

Options

  • ASynapseSparkCompute
  • BSpark
  • CIdentityConfiguration
  • DMLClient

How the community answered

(29 responses)
  • A
    3% (1)
  • B
    83% (24)
  • C
    14% (4)

Explanation

To submit a standalone serverless Spark job in Azure Machine Learning using Python SDK v2, you need two key classes: the Spark class (B), which defines the job specification including inputs, outputs, compute configuration (set to serverless), and identity; and the MLClient class (D), which is used to authenticate with the workspace and submit the job via ml_client.jobs.create_or_update(). SynapseSparkCompute (A) is used for attached Synapse pools, not serverless compute. IdentityConfiguration (C) is a supporting class that may be embedded within the Spark job definition, not a separately configured class for the job itself.

Topics

#Azure Machine Learning#Spark Jobs#Python SDK v2#Serverless Compute

Community Discussion

No community discussion yet for this question.

Full DP-100 Practice