Automate with PowerShell and CLI Quiz

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

Quiz covering Implement Host Pools

What you'll be asked

  1. Which Azure PowerShell cmdlet is primarily used to create a new Azure Virtual Desktop host pool?
  2. When using the Azure CLI to create a host pool, which parameter is required to define the balancing algorithm for a pooled host pool?
  3. You are automating the registration of session hosts using PowerShell. Which cmdlet must you use to generate the registration token required for the host to join the pool?
  4. If you need to update the friendly name of an existing host pool via Azure CLI, which command should you execute?
  5. You are writing a script to automate host pool deployment. You must ensure that the registration token generated for the host pool expires exactly 2 hours from the current time. Which approach is valid when using New-AzWvdRegistrationInfo?

Answers and explanations come after you submit.