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.
- Add the Azure CLI software repository.
- Update the package repository information.
- Verify the installation by typing az --version.
- Open a terminal on the Linux machine.
- Install the Azure CLI package.
- Download the Microsoft signing key.
Correct answers
- Open a terminal on the Linux machine.
- Download the Microsoft signing key.
- Add the Azure CLI software repository.
- Update the package repository information.
- Install the Azure CLI package.
- 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.