Skip to content

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.

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.