Question 17 — AZ-104 Case Study Set
Based on the scenario, Paideffort expects future environments to vary by storage SKU, compute capacity, tool endpoint, and deployment naming while retaining one infrastructure definition. Which design best supports this objective? (Select one answer)
Represent environment-dependent values as documented parameters and keep shared deployment structure in one reusable template.
Duplicate the complete ARM template for every environment and hardcode the required values into each copy.
Store every environment-dependent value as an output so downstream deployment stages can choose the final configuration.
Convert environment differences into variables that administrators modify manually before every deployment.
Correct answers
Represent environment-dependent values as documented parameters and keep shared deployment structure in one reusable template.
Explanations
Correct Answer:
Represent environment-dependent values as documented parameters and keep shared deployment structure in one reusable template.
Explanation:
Paideffort wants one reusable infrastructure definition that can adapt to different environments. Parameters are intended for values such as SKU, size, capacity, names, and other settings that vary between deployments. Descriptions and constraints further improve usability and governance.
Wrong Answers:
Duplicate the complete ARM template for every environment and hardcode the required values into each copy.
This would create multiple infrastructure definitions that can drift over time and would undermine Paideffort's goal of maintaining one reusable deployment artifact.
Store every environment-dependent value as an output so downstream deployment stages can choose the final configuration.
Outputs return deployment results. They do not provide input values that control how resources are configured during deployment.
Convert environment differences into variables that administrators modify manually before every deployment.
Requiring manual template edits would reduce automation and reusability. Paideffort needs environment differences to be supplied at deployment time.