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

Question 21 — AZ-104 Case Study Set

Paideffort deploys the production template with storageAccountType=Standard_GRS. The next day, the same template is deployed again with all parameter values unchanged. What result best reflects the required deployment behavior? (Select one answer)

  1. The existing resources remain in the same desired state because the repeated ARM deployment is idempotent.

  2. A second storage account is created because each ARM deployment generates a new instance of every declared resource.

  3. The storage account is deleted and recreated because parameterized resources cannot remain unchanged between deployments.

  4. The storage SKU returns to Standard_LRS because default values override values used by earlier deployments.

Correct answers

  1. The existing resources remain in the same desired state because the repeated ARM deployment is idempotent.

Explanations

Correct Answer:

The existing resources remain in the same desired state because the repeated ARM deployment is idempotent.

Explanation:

Paideffort requires safe repeated deployment. ARM templates are idempotent, so deploying the same desired configuration again does not intentionally create duplicate resources or change resources whose desired configuration remains the same.

Wrong Answers:

A second storage account is created because each ARM deployment generates a new instance of every declared resource.

Resource Manager reconciles declared resources with the target environment. Repeating the same resource declaration does not inherently create a duplicate resource.

The storage account is deleted and recreated because parameterized resources cannot remain unchanged between deployments.

Parameterized resources can remain unchanged when the resulting desired configuration is unchanged. Parameter usage does not require recreation.

The storage SKU returns to Standard_LRS because default values override values used by earlier deployments.

A supplied value takes precedence over the default for that deployment. Paideffort is again providing Standard_GRS, so Standard_LRS does not replace it.