AZ-204 · Question #590
AZ-204 Question #590: Real Exam Question with Answer & Explanation
The correct answer is D: az resource show. 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.
Question
You have 100 Azure virtual machines (VMs) with the system-assigned managed identity enabled. You need to identify the value of the object ID attribute for each of the identities. Which command should you use?
Options
- Aaz ad sp credential list
- BGet-AzVM
- CGet-AzureADUser
- Daz resource show
Explanation
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.
Community Discussion
No community discussion yet for this question.