Q4 Key Vault Domain 4 · 20–25% of exam

An Azure Function uses Key Vault References in its App Settings. Which managed identity type must be configured?

  1. A No identity required
  2. B System-assigned or user-assigned managed identity with Key Vault Secrets User role (correct answer)
  3. C Service principal with certificate
  4. D Admin account

Shortcut: ) reference at runtime.

Key Vault References require the function app's managed identity to have Key Vault Secrets User (or equivalent access policy) to resolve the @Microsoft.KeyVault(...) reference at runtime.