
Answer-first summary for fast verification
Answer: No
The solution does not meet the goal because simply creating an instance of the MLClient class is insufficient to update the Synapse Spark Compute identity. The MLClient class is used for authentication and workspace management but does not directly handle compute identity updates. According to the community discussion and Azure documentation, updating a Synapse Spark Compute to use a user-assigned identity requires using the Azure Synapse Analytics management client (azure.mgmt.synapse.SynapseManagementClient) to modify the identity property of the Spark pool, specifying the type as 'UserAssigned' and providing the principalId. The MLClient alone cannot perform this specific operation.
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 this compute to use a user-assigned identity using Python code.
You implement the following solution: Create an instance of the MLClient class.
Does this solution meet the goal?
A
Yes
B
No
No comments yet.