Question 500
While investigating an architecture trade-off centered on configuration and iac release automation, an architect learns: A staging environment uses the same production connection strings after copying the infrastructure template. Which recommendation best satisfies the stated constraint?
Explanation
Correct Answer
Separate environment-specific secrets and parameters with access controls. Configuration isolation limits accidental writes from test into production systems.
Incorrect Answers
This option, Use an Azure DevOps or GitHub Actions pipeline with controlled approvals, would fit the separate requirement A team wants gated review and automated rollout for application changes from a Git repository. CI/CD pipelines can automate validated deployments while preserving governance checks.
Retrieve deployment secrets from an approved secret store or use managed identity applies when A resource template exposes a storage account key directly in version control, because pipeline secrets should not be committed as plain template parameters in source control.
Use governed infrastructure-as-code desired state and drift review is intended for a different condition: A deployment changes a resource in place and must avoid drift from manual portal edits. Declarative change control can detect unintended differences from the reviewed configuration.