Azure PowerShell Quiz

5 questions Pass: 70% +25 pts

Quiz covering Managing and Deploying Resources

Azure PowerShell 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 Azure PowerShell session from your local machine?

  2. 2

    You need to create a new resource group using Azure PowerShell. Which cmdlet should you use?

  3. 3

    If you want to view all virtual machines in your current subscription, which command is most appropriate?

  4. 4

    You have a variable $vm that contains an Azure VM object. How do you stop this VM using PowerShell?

  5. 5

    You are writing a script and need to ensure that a resource group exists before deploying resources, but you do not want to trigger an error if the group already exists. Which approach is best?