
Answer-first summary for fast verification
Answer: No
The proposed solution of creating an instance of the MLClient class does NOT meet the goal. While MLClient is necessary for interacting with Azure Machine Learning resources, it alone is insufficient to update a Synapse Spark Compute's identity configuration. The community discussion correctly identifies that to update the identity, you need to use the Azure Synapse Analytics management client (azure.mgmt.synapse.SynapseManagementClient) to modify the Spark pool's identity property, setting the type to 'UserAssigned' and providing the relevant principalId. Creating MLClient only provides access to AML workspace resources but doesn't enable direct modification of Synapse Spark pool identity settings, which requires the Synapse management client and specific identity configuration steps.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
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 using Python code.
Proposed Solution: Create an instance of the MLClient class.
Does the solution meet the goal?
A
Yes
B
No