exam questions

Exam AZ-204 All Questions

View all questions & answers for the AZ-204 exam

Exam AZ-204 topic 3 question 51 discussion

Actual exam question from Microsoft's AZ-204
Question #: 51
Topic #: 3
[All AZ-204 Questions]

DRAG DROP
-

You are developing a web service that will run on Azure virtual machines that use Azure Storage. You configure all virtual machines to use managed identities.

You have the following requirements:

• Secret-based authentication mechanisms are not permitted for accessing an Azure Storage account.
• Must use only Azure Instance Metadata Service endpoints.

You need to write code to retrieve an access token to access Azure Storage. To answer, drag the appropriate code segments to the correct locations. Each code segment may be used once or not at all. You may need to drag the split bar between panes or scroll to view content.

NOTE: Each correct selection is worth one point.

Show Suggested Answer Hide Answer
Suggested Answer:

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
examtopicsLogin123
4 days, 14 hours ago
Answer is correct https://learn.microsoft.com/en-us/entra/identity/managed-identities-azure-resources/how-to-use-vm-token#get-a-token-using-http https://learn.microsoft.com/en-us/azure/virtual-machines/instance-metadata-service?tabs=windows and there is the same question, but for C# https://www.examtopics.com/discussions/microsoft/view/49787-exam-az-204-topic-3-question-12-discussion/
upvoted 1 times
...
abhishekgraphs
9 months, 3 weeks ago
I asked Google AI tool the following question: How do I retrieve an access token using Azure Instance Metadata Service endpoints ? I think the given answer here is correct!
upvoted 3 times
...
manopeydakon
11 months ago
Not relevant question and answer!
upvoted 3 times
AbdullahFadhl
4 months, 1 week ago
It is part of the exam, you can check Microsoft website.
upvoted 1 times
...
...
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.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago