nerdexam
Microsoft

AZ-140 · Question #17

You plan to deploy Azure Virtual Desktop. The deployment will use existing virtual machines. You create a Azure Virtual Desktop host pool. You need to ensure that you can add the virtual machines to…

The correct answer is B. Generate a registration key. Registration Key is useful to register existing VM to a host pool. https://docs.microsoft.com/en-gb/learn/modules/create-configure-host-pools-session-hosts/2- automate-creation-host-pool-powershell

Submitted by manish99· Apr 18, 2026Plan and implement an Azure Virtual Desktop infrastructure

Question

You plan to deploy Azure Virtual Desktop. The deployment will use existing virtual machines. You create a 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?

Options

  • ARegister the Microsoft.DesktopVirtualization provider.
  • BGenerate a registration key.
  • CRun the Invoke-AzVMRunCommand cmdlet.
  • DCreate a role assignment.

How the community answered

(56 responses)
  • A
    5% (3)
  • B
    91% (51)
  • C
    2% (1)
  • D
    2% (1)

Explanation

Registration Key is useful to register existing VM to a host pool. https://docs.microsoft.com/en-gb/learn/modules/create-configure-host-pools-session-hosts/2- automate-creation-host-pool-powershell

Topics

#Azure Virtual Desktop#Host Pool#Session Host Registration#Deployment

Community Discussion

No community discussion yet for this question.

Full AZ-140 Practice