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 VM's system-assigned managed identity. Which two actions should you perform? Each correct answer presents part of the solution.

QuestionsCategory: AZ-204You 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 VM's system-assigned managed identity. Which two actions should you perform? Each correct answer presents part of the solution.
Admin Staff asked 4 months ago
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 VM's system-assigned managed identity.
Which two actions should you perform? Each correct answer presents part of the solution.

A. From the code on the VM, call Azure Resource Manager using an access token.

B. Use PowerShell on a remote machine to make a request to the local managed identity for Azure resources endpoint.

C. Use PowerShell on the VM to make a request to the local managed identity for Azure resources endpoint.

D. From the code on the VM, call Azure Resource Manager using a SAS token.

E. From the code on the VM, generate a user delegation SAS token.






 

Suggested Answer: BD



This question is in AZ-204: Developing Solutions for Microsoft Azure Exam
For getting Microsoft Azure Developer Associate Certificate


Disclaimers:
The website is not related to, affiliated with, endorsed or authorized by Microsoft. 
The website does not contain actual questions and answers from Microsoft's Certification Exams.
Trademarks, certification & product names are used for reference only and belong to Microsoft.

Recommended

Welcome Back!

Login to your account below

Create New Account!

Fill the forms below to register

Retrieve your password

Please enter your username or email address to reset your password.