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
11 months ago
I agree with Timmy, the DefaultAzureCredential class should do the trick.
upvoted 0 times
...
Stephane
11 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
Delisa
10 months ago
Definitely, but for now, using DefaultAzureCredential class seems to be the way to go.
upvoted 0 times
...
Cordelia
10 months ago
Yeah, it would be nice if there was a simpler function for this task.
upvoted 0 times
...
Penney
10 months ago
I agree, it seems like the right approach to update the Synapse Spark Compute identity.
upvoted 0 times
...
Domonique
11 months ago
I think the solution using DefaultAzureCredential class should work.
upvoted 0 times
...
...
Marilynn
11 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
11 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
11 months ago
B: No
upvoted 0 times
...
Joseph
11 months ago
A: Yes
upvoted 0 times
...
...
Maurine
11 months ago
I'm not sure, I think we need to use a different method.
upvoted 0 times
...
Deane
11 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
11 months ago
No
upvoted 0 times
...
Felton
11 months ago
Yes
upvoted 0 times
...
...
Timmy
11 months ago
Yes, that solution should work.
upvoted 0 times
...

Save Cancel