exam questions

Exam AZ-203 All Questions

View all questions & answers for the AZ-203 exam

Exam AZ-203 topic 23 question 2 discussion

Actual exam question from Microsoft's AZ-203
Question #: 2
Topic #: 23
[All AZ-203 Questions]

You need to meet the security requirements for the E-Commerce Web App.
Which two steps should you take? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.

  • A. Update the E-Commerce Web App with the service principal's client secret.
  • B. Enable Managed Service Identity (MSI) on the E-Commerce Web App.
  • C. Add a policy to the Azure Key Vault to grant access to the E-Commerce Web App.
  • D. Create an Azure AD service principal.
Show Suggested Answer Hide Answer
Suggested Answer: BC 🗳️
Scenario: E-commerce application sign-ins must be secured by using Azure App Service authentication and Azure Active Directory (AAD).
A managed identity from Azure Active Directory allows your app to easily access other AAD-protected resources such as Azure Key Vault. T
References:
https://docs.microsoft.com/en-us/azure/app-service/overview-managed-identity

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
Zsolt72
4 years, 3 months ago
The A,C is not enough alone with that the app cannot access to the key vault an RBAC or an access policy still need so the B,C is correct with that the webabb access to the kv.
upvoted 1 times
...
nhtmyzpx
4 years, 5 months ago
There are two requirements securing access to Key Vault (requires B,C) and securing Web App with AAD (reuquiers A,D). So all answers seems to be necessary and if one suppose that prerequisites (msi + principal) are done there can be that the correct answer is A,C
upvoted 2 times
Brak
4 years, 4 months ago
The answers all relate to the "all settings must be in Key Vault" requirement. Storing secrets in apps is bad practice and breaches requirements, which rule out A and D. It is more secure to use a Managed Identity that has access to Key Vault; ie, C & C.
upvoted 3 times
Brak
4 years, 4 months ago
OOps. That should be B & C.
upvoted 1 times
...
...
...
harry973
4 years, 11 months ago
should not it be A and D.
upvoted 4 times
pate
4 years, 5 months ago
IMO, given Answer is wrong. it should be A and D the requirement is "E-commerce application sign-ins must be secured by using Azure App Service authentication and Azure Active Directory (AAD)." So therefore you need to enable APP Service Authentication and add the Service Principal. Secret is optional. https://docs.microsoft.com/en-us/azure/app-service/configure-authentication-provider-aad
upvoted 1 times
...
LTiwana
4 years, 11 months ago
The given answer should be correct. It's mentioned in MS docs on how to configure and allow access from WebApp to Key Vault: - Add a system-assigned identity - Add a user-assigned identity - Obtain tokens for Azure resources "An app can use its managed identity to get tokens to access other resources protected by Azure AD, such as Azure Key Vault." https://docs.microsoft.com/en-us/azure/app-service/overview-managed-identity?tabs=dotnet#add-a-system-assigned-identity
upvoted 6 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 ...