AZ400-Q: keep environment IaC differences controlled
Development and production use the same Bicep template but require different SKU, region, and feature settings. What is the best design?
- A) Copy and edit the template for every environment.
- B) Hard-code production settings in developer branches.
- C) Let the deployment agent choose random defaults.
- D) Keep a shared reviewed template and use version-controlled, validated parameter inputs per environment with protected production access. ✓
Answer: D. Shared templates reduce drift while parameter files/inputs make intentional environment variation visible and controlled.
Why not the others: Copies and hidden defaults diverge; random choices are not infrastructure design.