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

Question 6 — AZ-104 Practice Exam 7

Arrange the steps for deploying a local ARM template using Azure CLI in the correct order.

Instruction: Drag and drop the items into the correct order, starting with the first step at the top.

  1. Create or select a resource group with az group create
  2. Sign in to Azure with az login
  3. Run deployment with az deployment group create

Correct answers

  1. Sign in to Azure with az login
  2. Create or select a resource group with az group create
  3. Run deployment with az deployment group create

Explanations

Correct Order:

Sign in to Azure with az login

Create or select a resource group with az group create

Run deployment with az deployment group create

To deploy a local ARM template using the Azure CLI, you first sign in to Azure with az login to authenticate and establish a session with your Azure account. Next, you create or select a resource group using az group create, which defines the logical container where your resources will be deployed. Finally, you run the deployment with az deployment group create, specifying the resource group and the path to your local ARM template file to actually provision the resources as defined in the template. This sequence ensures you are authenticated, have a target resource group, and then execute the deployment properly.