B is correct
I tried it out. It works with system-assigned identities.
With az resource show you must specify the name. This is not useful for 100 VMs.
To identify the value of the object ID attribute for each of the system-assigned managed identities on your Azure VMs, you should use the az resource show command. This command allows you to retrieve the properties of a resource, including the identity information.
Here's an example of how you can use it:
az resource show --ids <resource-id> --query identity.principalId
Replace <resource-id> with the actual resource ID of your VM. This will return the object ID of the system-assigned managed identity12
upvoted 1 times
...
This section is not available anymore. Please use the main Exam Page.AZ-204 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Sassy1
1 month, 1 week agoBrownieP
4 months, 3 weeks ago