AZ-104 domain - 24% of the exam

Deploy and Manage Azure Compute Resources

Deploy and Manage Azure Compute Resources is 24% of the Microsoft Azure Administrator (AZ-104) (AZ-104) exam. These are the objectives it covers, each with practice questions and worked explanations.

Objectives in this domain

Sample question from this domain

Free sampleDeploy and Manage Azure Compute Resourcesmedium

You deploy an ARM template that defines a storage account with a fixed name and Standard_LRS SKU. A storage account with exactly those properties already exists in the target resource group. What happens when the deployment runs?

  • ANo changes are made to the existing storage account because templates are idempotent. Correct
  • BThe deployment fails because a resource with that name already exists in the group.
  • CA second storage account is created with a numeric suffix appended to the name.
  • DThe existing account is deleted and then recreated from the template values.
Deploying a template whose desired state already exists results in no changes, because templates are idempotent. ARM templates are idempotent: you can deploy the same template many times and get the same resource types in the same state. The docs state that if the storage account with the specified properties already exists, no changes are made.

Why A is correct: Correct. ARM templates are idempotent: you can deploy the same template many times and get the same resource types in the same state.

Why B is wrong: Idempotency means redeploying the same desired state succeeds without error rather than failing on the existing resource.

Why C is wrong: Resource Manager matches on the declared name and type; it does not auto-generate a parallel resource with a suffix.

Why D is wrong: When the declared state already matches, Resource Manager makes no changes rather than tearing down and rebuilding the resource.

Other domains in this exam

See also the AZ-104 cert hub, the study guide, and the cheat sheet.

Examworthy is not affiliated with or endorsed by Microsoft. Original, blueprint-aligned practice material only.