Azure CLI Quiz

5 questions Pass: 70% +25 pts

Quiz covering Managing and Deploying Resources

Azure CLI Quiz

5 questions | Pass: 70% | Earn 25 points

Questions in this quiz

A preview of the 5 questions covered. Start the quiz above to answer them, check your score, and read the explanations.

  1. 1

    Which command is used to start an interactive Azure CLI session in the browser?

  2. 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. 3

    You need to update a virtual machine's tags using Azure CLI. Which command structure is best practice?

  4. 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. 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?