nerdexam
Microsoft

AZ-204 · Question #450

You are developing an Azure Function that calls external APIs by providing an access token for the API. The access token is stored in a secret named token in an Azure Key Vault named mykeyvault. You…

The correct answer is D. @Microsoft.KeyVault(SecretUri=https://mykeyvault.vault.azure.net/secrets/token/). Add Key Vault secrets reference in the Function App configuration. Syntax: @Microsoft.KeyVault(SecretUri={copied identifier for the username secret}) https://docs.microsoft.com/en-us/azure/app-service/app-service-key-vault-

Submitted by cyberguy42· Mar 30, 2026Implement Azure security

Question

You are developing an Azure Function that calls external APIs by providing an access token for the API. The access token is stored in a secret named token in an Azure Key Vault named mykeyvault. You need to ensure the Azure Function can access to the token. Which value should you store in the Azure Function App configuration?

Options

How the community answered

(16 responses)
  • A
    6% (1)
  • C
    13% (2)
  • D
    81% (13)

Explanation

Add Key Vault secrets reference in the Function App configuration. Syntax: @Microsoft.KeyVault(SecretUri={copied identifier for the username secret}) https://docs.microsoft.com/en-us/azure/app-service/app-service-key-vault-

Topics

#Key Vault references#Azure Functions#app configuration#secret management

Community Discussion

No community discussion yet for this question.

Full AZ-204 Practice