AZ-204 · Question #338
Your company is developing an Azure API. You need to implement authentication for the Azure API. You have the following requirements: - All API calls must be secure. - Callers to the API must not…
The correct answer is C. Managed identity. Use the authentication-managed-identity policy to authenticate with a backend service using the managed identity of the API Management service. This policy essentially uses the managed identity to obtain an access token from Azure Active Directory for accessing the specified…
Question
Options
- ABasic
- BAnonymous
- CManaged identity
- DClient certificate
How the community answered
(39 responses)- A8% (3)
- B13% (5)
- C77% (30)
- D3% (1)
Explanation
Use the authentication-managed-identity policy to authenticate with a backend service using the managed identity of the API Management service. This policy essentially uses the managed identity to obtain an access token from Azure Active Directory for accessing the specified resource. After successfully obtaining the token, the policy will set the value of the token in the Authorization header using the Bearer scheme. https://azure.microsoft.com/en-us/blog/keep-credentials-out-of-code-introducing-azure-ad- managed-service-identity/ https://docs.microsoft.com/en-us/azure/api-management/api-management-authentication-policies
Topics
Community Discussion
No community discussion yet for this question.