nerdexam
Microsoft

DP-100 · Question #321

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…

The correct answer is A. Yes. To use system-assigned identity, pass IdentityConfiguration, with type set to SystemAssigned, as the identity parameter of the SynapseSparkCompute class. This code snippet updates a Synapse Spark pool to use a system-assigned identity : synapse_identity =…

Design and prepare a machine learning solution

Question

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 manage an Azure Machine Learning workspace. The development environment for managing the workspace is configured to use Python SDK v2 in Azure Machine Learning Notebooks. A Synapse Spark Compute is currently attached and uses system-assigned identity. You need to use Python code to update the Synapse Spark Compute to use a user-assigned identity. Solution: Configure the IdentityConfiguration class with the appropriate identity type. Does the solution meet the goal?

Options

  • AYes
  • BNo

How the community answered

(50 responses)
  • A
    82% (41)
  • B
    18% (9)

Explanation

To use system-assigned identity, pass IdentityConfiguration, with type set to SystemAssigned, as the identity parameter of the SynapseSparkCompute class. This code snippet updates a Synapse Spark pool to use a system-assigned identity : synapse_identity = IdentityConfiguration(type="SystemAssigned") https://learn.microsoft.com/en-us/azure/machine-learning/how-to-manage-synapse-spark- pool?view=azureml-api-2&tabs=sdk#update-the-synapse-spark-pool

Topics

#Azure ML Compute#Managed Identity#Synapse Spark#Python SDK v2

Community Discussion

No community discussion yet for this question.

Full DP-100 Practice