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

Question 7 — AZ-104 Case Study Set

Paideffort requires both a supported local command-line deployment method and automated production deployment through CI/CD. Which two deployment approaches satisfy these requirements? (Select two answers)

  1. Use az deployment group create with the resource group and ARM template for local resource-group deployments.

  2. Execute ARM template deployment from the production CI/CD workflow.

  3. Use only az group deployment create because it is the preferred replacement for the newer deployment command.

  4. Require engineers to create each production resource manually in the Azure portal before the pipeline runs.

Correct answers

  1. Use az deployment group create with the resource group and ARM template for local resource-group deployments.

  2. Execute ARM template deployment from the production CI/CD workflow.

Explanations

Correct Answer:

Use az deployment group create with the resource group and ARM template for local resource-group deployments.

Execute ARM template deployment from the production CI/CD workflow.

Explanation:

Paideffort needs both local deployment and production automation. A resource-group-scoped template can be initiated through az deployment group create, while ARM templates can also be integrated into CI/CD workflows for controlled automated deployment.

Wrong Answers:

Use only az group deployment create because it is the preferred replacement for the newer deployment command.

The direction is reversed. Paideffort's workflow currently uses the older command form, while az deployment group create is the recommended command for resource-group deployment.

Require engineers to create each production resource manually in the Azure portal before the pipeline runs.

Manual prerequisite provisioning would undermine Paideffort's requirement for repeatable, version-controlled infrastructure deployment through CI/CD.