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

Question 43 — AZ-104 Case Study Set

Based on the scenario, Paideffort must reproduce staging and production VM environments while varying VM names, network names, and VM sizes without maintaining separate infrastructure definitions. Which two design choices best satisfy this requirement? (Select two answers)

  1. Parameterize the environment-specific VM and networking values in the ARM template.

  2. Reuse the same parameterized ARM template with different deployment values for staging and production.

  3. Create independent hardcoded ARM templates for staging and production so each environment remains isolated.

  4. Create a VM image for every combination of VM name, virtual network, and VM size required by Paideffort.

Correct answers

  1. Parameterize the environment-specific VM and networking values in the ARM template.

  2. Reuse the same parameterized ARM template with different deployment values for staging and production.

Explanations

Correct Answer:

Parameterize the environment-specific VM and networking values in the ARM template.

Reuse the same parameterized ARM template with different deployment values for staging and production.

Explanation:

Paideffort wants repeatable environments without duplicating infrastructure definitions. ARM templates support parameterization of values such as VM names, network names, and other configuration settings. The same template can then be repeatedly deployed with different parameters for staging and production.

Wrong Answers:

Create independent hardcoded ARM templates for staging and production so each environment remains isolated.

This would duplicate infrastructure definitions and increase the likelihood of configuration drift between Paideffort's environments.

Create a VM image for every combination of VM name, virtual network, and VM size required by Paideffort.

A VM image can provide a reusable operating-system and software baseline, but it is not the appropriate mechanism for parameterizing infrastructure settings such as names, network resources, and VM sizes.