Skip to main content
  1. Public practice questions
  2. AZ-104 Practice Exams | Azure Administrator Associate
  3. AZ-104 Case Study Set

Question 2 — AZ-104 Case Study Set

Based on the scenario, which two changes would best allow Paideffort to use the same ARM template reliably for development in East US and production in West Europe? (Select two answers)

  1. Use the location parameter as the location value for regional resources in the template.

  2. Supply environment-specific parameter values when each deployment is initiated.

  3. Maintain a separate complete ARM template containing hard-coded locations for each Azure region.

  4. Move regional configuration into service-specific CLI scripts executed after the ARM deployment.

Correct answers

  1. Use the location parameter as the location value for regional resources in the template.

  2. Supply environment-specific parameter values when each deployment is initiated.

Explanations

Correct Answer:

Use the location parameter as the location value for regional resources in the template.

Supply environment-specific parameter values when each deployment is initiated.

Explanation:

Paideffort requires the same version-controlled infrastructure definition to support multiple environments and regions. Using the deployment-supplied location parameter in resource declarations and supplying the appropriate parameter values for each environment preserves one reusable declarative template while allowing controlled variation between deployments. ARM template parameters are intended for values supplied when deployment is executed.

Wrong Answers:

Maintain a separate complete ARM template containing hard-coded locations for each Azure region.

Maintaining separate templates would duplicate infrastructure definitions and weaken Paideffort's requirement for reusable, centrally versioned deployment artifacts.

Move regional configuration into service-specific CLI scripts executed after the ARM deployment.

This would move part of the infrastructure configuration outside the declarative template and increase the number of independently maintained deployment operations.