Question 290
A team secures serverless Azure Functions and App Service workloads. A development deployment slot inadvertently shares production credentials. Which response is technically best for this scenario?
Explanation
Correct Answer
Implement Review slot-specific app settings and managed identities before swapping for the described failure. Slot configuration can affect which secrets and identities each environment uses.
Incorrect Answers
Store secrets in Key Vault and use managed identity references where supported concerns a Function app stores a production API key in source control; Managed identity access removes raw secrets from deployment source.
Enable App Service Authentication and validate identity tokens correctly addresses an application trusts unverified user claims forwarded by client HTTP headers. Authenticated identity claims should come from a trusted validation boundary.
Configure access restrictions or a private endpoint as appropriate is useful when an App Service app exposes an internal admin endpoint to the public internet, because App Service network controls limit inbound paths to intended clients.