Q5 Functions Domain 3 · 20–25% of exam

A function app uses managed identity to write to Azure Blob Storage. Which environment variable must be set in the function app settings to use managed identity with the blob trigger/bindings?

  1. A AzureWebJobsStorage with connection string
  2. B AzureWebJobsStorage__ with identity-based connection (serviceUri + credential) (correct answer)
  3. C AZURE_CLIENT_ID
  4. D WEBSITE_RUN_FROM_PACKAGE

Shortcut: net) and AzureWebJobsStorage__credential = managedidentity to avoid connection strings.

For identity-based connections, set AzureWebJobsStorage__serviceUri (e.g., https://<account>.blob.core.windows.net) and AzureWebJobsStorage__credential = managedidentity to avoid connection strings.