Complete the command to install Azure CLI on Ubuntu using apt.
sudo apt-get update && sudo apt-get install -y [1]The correct package name to install Azure CLI on Ubuntu is azure-cli.
Complete the command to log in to Azure CLI interactively.
az [1]The command az login starts an interactive login session to Azure.
Fix the error in the command to install Azure CLI on Windows using MSI installer.
Start-Process msiexec.exe -Wait -ArgumentList '/I', '[1]', '/quiet'
The correct MSI installer file name for Azure CLI on Windows is AzureCLISetup.msi.
Fill both blanks to set the Azure CLI to use a specific subscription and list resource groups.
az account [1] --subscription [2] && az group list
The command az account set --subscription sets the active subscription. Then az group list lists resource groups.
Fill all three blanks to create a resource group with Azure CLI in a specific location.
az group [1] --name [2] --location [3]
The command az group create --name MyResourceGroup --location eastus creates a resource group named 'MyResourceGroup' in the 'eastus' region.