Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft Exam DP-100 Topic 2 Question 111 Discussion

Actual exam question for Microsoft's DP-100 exam
Question #: 111
Topic #: 2
[All DP-100 Questions]

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: Initialize the DefaultAzureCredential class.

Does the solution meet the goal?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

Gary
1 months ago
I agree with Timmy, the DefaultAzureCredential class should do the trick.
upvoted 0 times
...
Stephane
1 months ago
Ah, the age-old question of whether to use the DefaultAzureCredential class or not. Why can't they just make it simpler, like a 'UpdateSynapseSparkComputeIdentity' function? *sigh*
upvoted 0 times
Cordelia
12 days ago
User1: Yeah, it would be nice if there was a simpler function for this task.
upvoted 0 times
...
Penney
21 days ago
User2: I agree, it seems like the right approach to update the Synapse Spark Compute identity.
upvoted 0 times
...
Domonique
25 days ago
User1: I think the solution using DefaultAzureCredential class should work.
upvoted 0 times
...
...
Marilynn
1 months ago
Oh, this is a tricky one. I wonder if the DefaultAzureCredential class is overkill for this task. Maybe there's a more direct way to update the Synapse Spark Compute's identity in the Azure ML SDK.
upvoted 0 times
...
Britt
1 months ago
I bet the solution involves a complex dance with the Azure Resource Manager API and a dozen lines of code. Azure, where simplicity goes to die.
upvoted 0 times
Carey
26 days ago
B: No
upvoted 0 times
...
Joseph
1 months ago
A: Yes
upvoted 0 times
...
...
Maurine
1 months ago
I'm not sure, I think we need to use a different method.
upvoted 0 times
...
Deane
2 months ago
The solution seems reasonable, but I'm not sure if it's the most efficient way to update the Synapse Spark Compute's identity. Shouldn't we be looking at the Azure ML SDK documentation for the specific method to do this?
upvoted 0 times
Buck
23 days ago
User 2: No
upvoted 0 times
...
Felton
1 months ago
User 1: Yes
upvoted 0 times
...
...
Timmy
2 months ago
Yes, that solution should work.
upvoted 0 times
...

Save Cancel