AZ-204 · Question #228
AZ-204 Question #228: Real Exam Question with Answer & Explanation
Sign in or unlock AZ-204 to reveal the answer and full explanation for question #228. The question stem and answer options stay visible for context.
Question
You develop a solution that uses Azure Virtual Machines (VMs). The VMs contain code that must access resources in an Azure resource group. You grant the VM access to the resource group in Resource Manager. You need to obtain an access token that uses the VMs system-assigned managed identity. Which two actions should you perform? Each correct answer presents part of the solution.
Options
- AUse PowerShell on a remote machine to make a request to the local managed identity for Azure
- BUse PowerShell on the VM to make a request to the local managed identity for Azure resources
- CFrom the code on the VM, call Azure Resource Manager using an access token.
- DFrom the code on the VM, call Azure Resource Manager using a SAS token.
- EFrom the code on the VM, generate a user delegation SAS token.
Unlock AZ-204 to see the answer
You've previewed enough free AZ-204 questions. Unlock AZ-204 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.