
Answer-first summary for fast verification
Answer: No
The solution does NOT meet the goal. While a Synapse Spark pool can use a user-assigned identity, the proposed method of directly passing a UserAssignedIdentity class object to SynapseSparkCompute is incorrect. According to the Microsoft documentation and community consensus, the proper approach is to use ManagedIdentityConfiguration with type='UserAssigned' and pass the user_assigned_identities parameter containing UserAssignedIdentity objects. The community discussion shows that answer 'B' (No) has the most accurate technical explanation, with users correctly pointing out that UserAssignedIdentity objects should be passed inside ManagedIdentityConfiguration, not directly to SynapseSparkCompute. Although answer 'A' has higher percentage in the poll, the detailed technical explanations supporting 'B' are more accurate and align with official documentation.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You manage an Azure Machine Learning workspace using Python SDK v2 in Azure Machine Learning Notebooks. A Synapse Spark Compute is currently attached and uses a system-assigned identity.
You need to update the Synapse Spark Compute to use a user-assigned identity with Python code.
Proposed solution: Pass the UserAssignedIdentity class object to the SynapseSparkCompute class.
Does this solution meet the goal?
A
Yes
B
No
No comments yet.