BlackFriday 2024! 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
2 months ago
I agree with Timmy, the DefaultAzureCredential class should do the trick.
upvoted 0 times
...
Stephane
2 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
19 days ago
Definitely, but for now, using DefaultAzureCredential class seems to be the way to go.
upvoted 0 times
...
Cordelia
1 months ago
Yeah, it would be nice if there was a simpler function for this task.
upvoted 0 times
...
Penney
1 months ago
I agree, it seems like the right approach to update the Synapse Spark Compute identity.
upvoted 0 times
...
Domonique
1 months ago
I think the solution using DefaultAzureCredential class should work.
upvoted 0 times
...
...
Marilynn
2 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
2 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
1 months ago
B: No
upvoted 0 times
...
Joseph
2 months ago
A: Yes
upvoted 0 times
...
...
Maurine
2 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
1 months ago
No
upvoted 0 times
...
Felton
2 months ago
Yes
upvoted 0 times
...
...
Timmy
2 months ago
Yes, that solution should work.
upvoted 0 times
...

Save Cancel