Practice free →
HomeAzure AZ-204cloudcomputingaz204observabilityintegration › Which Azure feature lets a Function App authenti…

Which Azure feature lets a Function App authenticate to a downstream API hosted in another Azure subscription WITHOUT shared secrets?

AHardcode the cross-sub admin password in the Function
BShare the global admin password via env vars
CDisable RBAC on the target resource
DUse a managed identity on the Function App, grant it appropriate RBAC on the cross-subscription resource, and call via Entra ID
Answer & Solution
Correct answer: D. Use a managed identity on the Function App, grant it appropriate RBAC on the cross-subscription resource, and call via Entra ID
MSI + cross-subscription RBAC = no shared secrets. The other options leak credentials or remove auth.
Solve this in the app — Azure AZ-204 practice & 24k+ MCQs →
Related questions