Azure CLI Quiz

5 questions Pass: 70% +25 pts (50 with Pro)

Quiz covering Managing and Deploying Resources

What you'll be asked

  1. Which command is used to start an interactive Azure CLI session in the browser?
  2. If you want to create a new resource group named 'myResourceGroup' in the 'eastus' region using Azure CLI, which command should you run?
  3. You need to update a virtual machine's tags using Azure CLI. Which command structure is best practice?
  4. To list all Azure VMs in your subscription and display only the name and power state in a table format, which command should you use?
  5. You are writing a script and need the Azure CLI command to return the 'id' of a specific resource group as a plain string without any JSON formatting or quotes. Which combination of arguments achieves this?

Answers and explanations come after you submit.