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 DP-100 Exam - Topic 1 Question 112 Discussion

Actual exam question for Microsoft's DP-100 exam
Question #: 112
Topic #: 1
[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: Pass the UserAssignedldentity class object to the SynapseSparkCompute class.

Does the solution meet the goat?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

0/2000 characters
Keneth
4 months ago
I thought you needed to configure it differently for user-assigned identities?
upvoted 0 times
...
Marya
4 months ago
Definitely a no, you can't just switch identities like that.
upvoted 0 times
...
Timothy
4 months ago
Wait, are we sure that's how it works?
upvoted 0 times
...
Stephaine
4 months ago
I think that's a yes! Makes sense to use user-assigned.
upvoted 0 times
...
Elinore
5 months ago
That sounds right, you can pass the UserAssignedIdentity object.
upvoted 0 times
...
Tequila
5 months ago
I'm leaning towards "No" because I think there might be a method call needed to actually apply the change after passing the object.
upvoted 0 times
...
Laticia
5 months ago
I believe the solution does meet the goal, but I might be mixing up the syntax with another SDK version.
upvoted 0 times
...
Glendora
5 months ago
I remember a similar question where we had to switch identities, and I feel like it involved more steps than just passing an object.
upvoted 0 times
...
Heidy
5 months ago
I think passing the UserAssignedIdentity class object is the right approach, but I'm not entirely sure if it directly updates the identity type.
upvoted 0 times
...
Sabina
5 months ago
Okay, I've got a strategy here. I'll start by checking the documentation on the UserAssignedldentity and SynapseSparkCompute classes, then try to write the Python code to update the compute.
upvoted 0 times
...
Shannon
5 months ago
I'm a bit confused about the difference between system-assigned and user-assigned identities. I'll need to review that before attempting this question.
upvoted 0 times
...
Jaclyn
5 months ago
Passing the UserAssignedldentity class object to the SynapseSparkCompute class - that sounds like the right approach. I'll give it a try.
upvoted 0 times
...
Naomi
5 months ago
Updating the Synapse Spark Compute to use a user-assigned identity? That's a new one for me. I'll need to think this through carefully.
upvoted 0 times
...
Gabriele
5 months ago
Hmm, this looks like a straightforward Azure Machine Learning question. I think I can handle this one.
upvoted 0 times
...
Junita
6 months ago
Okay, I've got a strategy for this. I'll go through each option and think about whether the statement is true or false based on my understanding of default BGP behavior. I'm feeling pretty confident I can get this right.
upvoted 0 times
...
Portia
1 year ago
I'm feeling sheepish, but I think the 'Yes' option is the way to go here. Herding all the right classes together is important.
upvoted 0 times
Josue
1 year ago
User3: Definitely, the 'Yes' option seems like the right choice.
upvoted 0 times
...
Hubert
1 year ago
User2: Agreed, herding all the right classes together is key.
upvoted 0 times
...
Stevie
1 year ago
Yes
upvoted 0 times
...
...
Joesph
1 year ago
I'm not sure, I think we should test it first before confirming.
upvoted 0 times
...
Rickie
1 year ago
Baa! This solution is definitely on the right track. Updating the compute's identity is the way to go.
upvoted 0 times
Cherelle
1 year ago
Great job! Updating the compute's identity will definitely help with security.
upvoted 0 times
...
Winifred
1 year ago
Baa!
upvoted 0 times
...
Hershel
1 year ago
Yes
upvoted 0 times
...
...
Aja
1 year ago
I agree with Dorcas, passing the UserAssignedIdentity class object should work.
upvoted 0 times
...
Lili
1 year ago
The solution seems logical to me. I'd go with the 'Yes' option.
upvoted 0 times
Solange
1 year ago
User4: Definitely, 'Yes' is the way to go.
upvoted 0 times
...
Zana
1 year ago
I also think 'Yes' is the right choice.
upvoted 0 times
...
Cary
1 year ago
Agreed, that seems like the correct approach.
upvoted 0 times
...
Niesha
1 year ago
Yes
upvoted 0 times
...
...
Annita
1 year ago
I think this solution is correct. Using the UserAssignedldentity class to update the Synapse Spark Compute's identity makes sense.
upvoted 0 times
Vinnie
1 year ago
Great, it seems like we are on the same page with this solution.
upvoted 0 times
...
Mary
1 year ago
I agree, passing the UserAssignedIdentity class object to the SynapseSparkCompute class is the correct way to update the identity.
upvoted 0 times
...
Leota
1 year ago
Yes
upvoted 0 times
...
...
Dorcas
2 years ago
Yes, that solution makes sense.
upvoted 0 times
...

Save Cancel