Q31 Functions Domain 3 · 20–25% of exam Priority · Real Exam

Which approach lets a function read a Key Vault secret without SDK code?

  1. A A Key Vault reference in app settings using @Microsoft.KeyVault(SecretUri=...) (correct answer)
  2. B Hardcoding the value
  3. C A SAS token
  4. D An input binding to Key Vault

Shortcut: App settings support Key Vault references resolved by the platform using the app's managed identity, so the secret surfaces as an ordinary environment variable.