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

Question 7 — AZ-104 Practice Exam 4

Which command allows you to configure a default location for deployments in Azure CLI? (Select one answer)

  1. az configure --defaults

  2. az group create

  3. az login

  4. az account list-locations

Correct answers

  1. az configure --defaults

Explanations

Correct:
az configure --defaults – Sets the default location for deployments.

Wrong:
az group create – Creates a resource group, not a default.
az login – Signs into Azure.
az account list-locations – Lists available locations but doesn’t set defaults.