exam questions

Exam AZ-204 All Questions

View all questions & answers for the AZ-204 exam

Exam AZ-204 topic 4 question 28 discussion

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

You are developing an Azure App Service REST API.
The API must be called by an Azure App Service web app. The API must retrieve and update user profile information stored in Azure Active Directory (Azure AD).
You need to configure the API to make the updates.
Which two tools should you use? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.

  • A. Microsoft Graph API
  • B. Microsoft Authentication Library (MSAL)
  • C. Azure API Management
  • D. Microsoft Azure Security Center
  • E. Microsoft Azure Key Vault SDK
Show Suggested Answer Hide Answer
Suggested Answer: AB 🗳️

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
Cholo981
Highly Voted 4 years ago
The Answer is Graph API and MSAL. API managment as nothing to do with the developing of the REST API...
upvoted 108 times
AndrewJB
3 years, 7 months ago
Correct. To access Graph API user must be logged in, so MSAL is required. APIM is optional and not mandatory for this scenario
upvoted 7 times
ReniRechner
3 years, 3 months ago
Furthermore the API is not intended for public use but internal use by another web app. So there is no need for APIM.
upvoted 6 times
pazetox
2 years, 11 months ago
MSAL can be used to provide secure access to Microsoft Graph. https://docs.microsoft.com/en-us/azure/active-directory/develop/msal-overview
upvoted 2 times
...
...
...
Esward
2 years, 4 months ago
Agreed. https://learn.microsoft.com/en-us/graph/auth-cloudsolutionprovider?tabs=azuread
upvoted 2 times
...
...
mlantonis
Highly Voted 4 years ago
Answer is correct. A: Microsoft Graph to retrieve and update user profile info from Azure AD. C: API Management (APIM) Reference: https://docs.microsoft.com/en-us/graph/azuread-identity-access-management-concept-overview https://docs.microsoft.com/en-us/graph/overview https://docs.microsoft.com/en-us/azure/api-management/api-management-key-concepts
upvoted 22 times
ensa
3 years, 8 months ago
Fiest time see you are wrong. AAAAAAAAABBBBBBBBBB
upvoted 10 times
...
cooyoote
3 years, 9 months ago
So wrong, API Management is supossed to create API gateways and rules to manage API calls
upvoted 9 times
...
...
J_obando13
Most Recent 1 month ago
Selected Answer: AB
Got this in the exam today! May 15, 2025. Went most voted. 940/1000. 50 of 51 from examtopics. Cases Munson’s Pickles and Preserves Farm (7) and Fourth Coffee (3)
upvoted 2 times
...
vizay
1 month, 2 weeks ago
Selected Answer: AB
Microsoft Authentication Library (MSAL) is a programming library provided by Microsoft that helps applications securely sign in users and get tokens to access Microsoft APIs (like Microsoft Graph) and other Azure-protected resources.
upvoted 1 times
...
f09229d
2 months, 2 weeks ago
Selected Answer: AB
In exam 30/3/2025 with this answer, I scored 907/1000
upvoted 1 times
...
Vichu_1607
7 months, 3 weeks ago
Selected Answer: AB
Microsoft Graph API: Used to interact with Azure AD to retrieve and update user profile information. Microsoft Authentication Library (MSAL): Used to handle authentication and acquire tokens for accessing Microsoft Graph API.
upvoted 2 times
...
Christian_garcia_martin
10 months, 3 weeks ago
A and B are correct.
upvoted 1 times
...
cb98160
1 year, 3 months ago
Selected Answer: AB
You don't need a APIM.
upvoted 1 times
...
manopeydakon
1 year, 5 months ago
To configure the Azure App Service REST API to retrieve and update user profile information stored in Azure Active Directory (Azure AD), you should use the following tools: A. Microsoft Graph API: The Microsoft Graph API allows you to interact with data in Azure AD, including retrieving and updating user profile information. B. Microsoft Authentication Library (MSAL): MSAL is used for handling authentication in your application. It helps you authenticate users and acquire access tokens, which are necessary when making requests to the Microsoft Graph API. Therefore, the correct answers are A (Microsoft Graph API) and B (Microsoft Authentication Library).
upvoted 1 times
...
Neckbread
1 year, 5 months ago
Selected Answer: AB
Apim???????
upvoted 1 times
...
Dixavado
1 year, 8 months ago
Selected Answer: AB
It was on my exam today (2023-09-26) - score 850
upvoted 4 times
...
nikipediaa
1 year, 8 months ago
Question was on exam 2023-09-26. The order of answers was changed.
upvoted 3 times
...
deathRac3
2 years ago
Selected Answer: AB
trythis
upvoted 1 times
...
[Removed]
2 years, 2 months ago
Got this in exam today (5 April 2023)
upvoted 4 times
...
NombreFalso
2 years, 4 months ago
Selected Answer: AB
Choosing A implies using B too. APIM is totally unrelated.
upvoted 3 times
...
Jeff8888
2 years, 4 months ago
Graph Api, Azure APIM
upvoted 1 times
...
Michael2023
2 years, 4 months ago
"The API must retrieve and update user profile information stored in Azure Active Directory (Azure AD). You need to configure the API to make the updates." this is a hint that you want programmatically update the user data stored in Azure AD... so Graph API and MSAL is the right answer :)
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 ...