nerdexam
Microsoft

AZ-140 · Question #250

You have an Azure Virtual Desktop deployment that contains a host pool named Pool1. Pool1 contains two session hosts. You build a custom virtual machine named Server2 that runs Windows Server. You…

The correct answer is B. Install the Azure Connected Machine agent. D. Provide a registration token. Adding a custom (non-gallery) VM running Windows Server to an AVD host pool requires two steps. First (B), install the Azure Connected Machine agent, which onboards the VM as an Azure Arc-enabled server, enabling it to be managed and registered with Azure services - this is…

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

Question

You have an Azure Virtual Desktop deployment that contains a host pool named Pool1. Pool1 contains two session hosts. You build a custom virtual machine named Server2 that runs Windows Server. You need to add Server2 to Pool1. Which two actions should you perform? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.

Options

  • AInstall the Remote Desktop Connection Broker role.
  • BInstall the Azure Connected Machine agent.
  • CRun the New-AzWvdHostPool cmdlet.
  • DProvide a registration token.
  • EInstall the Remote Desktop Services Infrastructure Agent.

How the community answered

(37 responses)
  • A
    14% (5)
  • B
    78% (29)
  • C
    3% (1)
  • E
    5% (2)

Explanation

Adding a custom (non-gallery) VM running Windows Server to an AVD host pool requires two steps. First (B), install the Azure Connected Machine agent, which onboards the VM as an Azure Arc-enabled server, enabling it to be managed and registered with Azure services - this is necessary for custom or non-standard VMs not provisioned directly through the AVD deployment flow. Second (D), provide a registration token generated from Pool1; this token authenticates the new session host to the specific host pool during agent registration. Options A and E describe RDS roles not used in AVD, option C (New-AzWvdHostPool) creates a new pool rather than adding a host, and Azure tags (not listed) are not part of host registration.

Topics

#Azure Virtual Desktop#Session Host Management#Host Pool Configuration#Azure Arc

Community Discussion

No community discussion yet for this question.

Full AZ-140 Practice