SC-500 practice question 1: Identity and governance
An Azure web app must read a secret from Azure Key Vault without any password or key stored in its configuration. What is the best approach?
The options
- A. Enable a managed identity on the app and grant it access to the vault's secrets
- B. Make the vault publicly readable without authentication
- C. Store the Key Vault access key in the app settings
- D. Email the secret to the developer to paste into code
Answer and why
The correct answer is A: Enable a managed identity on the app and grant it access to the vault's secrets
A. A managed identity lets the app authenticate with no stored credential.
B. Key Vault always requires authentication and open access would expose every secret.
C. A stored key is a credential to protect and rotate, which the managed identity avoids.
D. Email spreads the secret and leaves it in code.
What Identity and governance tests
Manage identity, access and governance covers Microsoft Entra ID, Conditional Access, privileged roles, Key Vault and governance controls. The best answer is almost always least privilege through a managed identity or a time-bound role, not a shared secret.
Manage identity, access, and governance is 24% of the SC-500 exam. The exam runs 120 minutes and Microsoft publishes no fixed question count, so this question is a slice of the real mix, not a prediction of your result.
Try these next
Each one is a free question from the same practice test, with the answer and the reason for every option on its own page.
- Administrators need elevated Entra roles only for short periods and with an approval and a justification recorded. Which feature provides this?
- A company wants to require multifactor authentication only when users sign in from outside the corporate network or from unmanaged devices. Which feature enforces this?
- An auditor asks which users have accessed a sensitive application over the last 90 days and wants a regular review that removes access no longer needed. Which capability fits?
- A storage account holds sensitive blobs and must be reachable only from a virtual network, with no exposure to the public internet. What should be configured?
Keep going
This is question 1 of 15 in the free SC-500 practice test. If you missed it, say why in one sentence before you read on: the reason is what transfers to a differently worded question.