Microsoft

AZ-140 practice question 8

Configuring and Operating Microsoft Azure Virtual Desktop · free question 8 of 20

Question

You plan to deploy Azure Virtual Desktop. The deployment will use existing virtual machines. You create an Azure Virtual Desktop host pool. You need to ensure that you can add the virtual machines to the host pool. What should you do first?
  • A. Register the Microsoft.DesktopVirtualization provider.
  • B. Generate a registration key. Correct
  • C. Run the Invoke-AzVMRunCommand cmdlet.
  • D. Create a role assignment.

Explanation

To add existing virtual machines as session hosts, you first generate a registration key for the host pool, then install the Azure Virtual Desktop Agent on each VM and supply that key, followed by the Agent Boot Loader. The Microsoft.DesktopVirtualization resource provider must already be registered because the host pool exists. Invoke-AzVMRunCommand is just a way to run scripts on a VM and does not authorize registration, and a role assignment grants permissions to people but is not the step that lets the VMs register with the pool.

Need the theory? Learn it free in the AZ-140 course on Godlike Academy

Practice the whole free set

Answer all 20 free AZ-140 questions with instant feedback, or unlock all 347 questions with Learn and Exam modes.