nerdexam
MicrosoftMicrosoft

DP-100 · Question #325

DP-100 Question #325: Real Exam Question with Answer & Explanation

The correct answer is A: Yes. Passing a correctly configured ManagedIdentityConfiguration with the user_assigned_identity_client_id to the Synapse Spark Compute update call is the proper SDK v2 method for switching to user-assigned 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: Pass the UserAssignedIdentity class object to the SynapseSparkCompute class. Does the solution meet the goal?

Options

  • AYes
  • BNo

Explanation

Passing a correctly configured ManagedIdentityConfiguration with the user_assigned_identity_client_id to the Synapse Spark Compute update call is the proper SDK v2 method for switching to user-assigned identity.

Common mistakes.

  • B. The 'Pas' solution does correctly supply a user-assigned ManagedIdentityConfiguration through the proper SDK v2 update pathway, so returning 'No' is incorrect.

Concept tested. Updating Synapse Spark Compute identity with SDK v2

Reference. https://learn.microsoft.com/en-us/azure/machine-learning/how-to-identity-based-service-authentication

Topics

#Azure Machine Learning Workspace#Synapse Spark Compute#Managed Identity#Python SDK v2

Community Discussion

No community discussion yet for this question.

Full DP-100 PracticeBrowse All DP-100 Questions