Skip to main content
  1. Public practice questions
  2. AZ-900 Practice Exams | Azure Fundamentals
  3. Domain 3-Describe Azure management and governance | AZ-900 Practice Exam | 230 Questions

Question 160 — Domain 3-Describe Azure management and governance | AZ-900 Practice Exam | 230 Questions

Arrange the following steps to install Azure CLI on a Linux machine.

  1. Add the Azure CLI software repository.
  2. Update the package repository information.
  3. Verify the installation by typing az --version.
  4. Open a terminal on the Linux machine.
  5. Install the Azure CLI package.
  6. Download the Microsoft signing key.

Correct answers

  1. Open a terminal on the Linux machine.
  2. Download the Microsoft signing key.
  3. Add the Azure CLI software repository.
  4. Update the package repository information.
  5. Install the Azure CLI package.
  6. Verify the installation by typing az --version.

Explanations

  • Opening the terminal is the first step since all commands will be executed there.
  • Downloading the Microsoft signing key ensures that the system trusts the package source.
  • Adding the Azure CLI software repository makes the CLI package available for installation.
  • Updating the package repository information fetches the latest package details.
  • Installing the Azure CLI package completes the installation process.
  • Verifying the installation ensures that the Azure CLI is correctly installed and ready to use.