Adding Server2 to an AVD Host Pool: Which Two Actions?
Short answer
DE Install the Remote Desktop Services Infrastructure Agent on Server2 and provide a host pool registration token to register it with Pool1.
Question
Key Takeaways
This question tests the manual session-host registration sequence for a custom VM and traps candidates who confuse the AVD agent/token steps with Azure Arc's Connected Machine agent requirement.
Adding an existing Windows Server VM to an Azure Virtual Desktop host pool requires two manual steps: install the Remote Desktop Services Infrastructure Agent and provide a host pool registration token. The correct answer is D and E, not the Azure Connected Machine agent.
Common mistake: Many candidates choose B and D because they see 'custom virtual machine' and assume Azure Arc is required; however, the Azure Connected Machine agent is for Azure Local/Arc-enabled hosts, while standard AVD registration needs the RDS Infrastructure Agent plus the host pool registration token.
Expert Analysis
Why the Answer Is Correct
The question asks how to add an already-built Windows Server VM named Server2 to an existing AVD host pool named Pool1. In Azure Virtual Desktop, an existing or custom VM does not automatically become a session host; you must install the AVD agent components and register it. Option E covers installing the Remote Desktop Services Infrastructure Agent, which is the AVD agent component that lets the VM communicate with the AVD service. Option D covers providing the host pool registration token, which authenticates Server2 and associates it with Pool1. Both actions are required, and together they match the documented manual registration flow for joining a VM to an existing host pool.
Why the Other Options Are Wrong
Option A (Remote Desktop Connection Broker role) belongs to a traditional on-premises RDS deployment, not Azure Virtual Desktop. Option C (New-AzWvdHostPool) would create a brand-new host pool, but the scenario states that Pool1 already exists and only Server2 needs to be added. Option B (Azure Connected Machine agent) is the main distractor: it is needed for Azure Arc-enabled servers or Azure Local session hosts, not for a standard Windows Server VM being registered directly to an AVD host pool. Because the question never mentions Azure Local or Arc-enabled infrastructure, B is out of scope here.
Community Comment Notes
jeff1988 states that the registration token (D) is necessary to register the new session host and that the RDS Infrastructure Agent (E) is required for it to function in AVD. Hotwired34 points to the Microsoft Learn "Add session hosts to a host pool" page and highlights the RDAgent installer step plus "Enter registration token." Others such as soysoliscarlos and db7a78f prefer B and D, but their rationale centers on Azure Local prerequisites; bruce notes that Azure Local adds the Connected Machine agent requirement, which is not the case in this question. The DE consensus aligns with the standard AVD registration procedure.
Official Reference
This link opens the official vendor documentation in a new tab.
Exam Strategy
When an AVD question asks how to add a custom or existing VM to a host pool, distinguish standard Azure AVD registration from Azure Local or Azure Arc scenarios. If the scenario does not mention Azure Local, Arc-enabled servers, or Azure Stack HCI, rule out the Azure Connected Machine agent and focus on the AVD agent plus registration token.
Frequently Asked Questions
Why isn't the Azure Connected Machine agent (B) required to add Server2 to Pool1?
Option B applies to Azure Arc-enabled servers or Azure Local session hosts. A standard Windows Server VM added to an AVD host pool needs the AVD agent and a host pool registration token.
Why is New-AzWvdHostPool (C) wrong for Server2?
New-AzWvdHostPool creates a new host pool, but Pool1 already exists. Adding Server2 requires registering it as a session host, not provisioning another host pool.
Community Votes
62% of anonymous learners picked answer DE. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 6 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors, not of islever. The comments shown first are the most substantive of the thread — ranked by depth, community endorsement and relevance; expand the list below to read the rest.
From public community threads 6
-
jeff1988 👍 3D. Provide a registration token. E. Install the Remote Desktop Services Infrastructure Agent. Provide a registration token (D): This is necessary to register the new session host with the host pool. Install the Remote Desktop Services Infrastructure Agent (E): This agent is required for the session host to function correctly within the Azure Virtual Desktop environment.
-
Hotwired34 👍 2Looking here: https://learn.microsoft.com/en-us/azure/virtual-desktop/add-session-hosts-host-pool?tabs=portal%2Cgui&pivots=host-pool-standard#register-session-hosts-to-a-host-pool 5. Run the Microsoft.RDInfra.RDAgent.Installer-x64-<version>.msi file to install the Remote Desktop Services Infrastructure Agent. 6. Enter registration token
-
2a6c244 👍 2Answer seems correct https://learn.microsoft.com/en-us/azure/virtual-desktop/add-session-hosts-host-pool?tabs=portal%2Cgui&pivots=host-pool-standard
-
db7a78f 👍 1Install the Azure Connected Machine agent (Option B): This agent is necessary for connecting your custom virtual machine to Azure services. Provide a registration token (Option D): This token is used to register the session host with the host pool12. The Remote Desktop Services Infrastructure Agent (Option E) is not required for this process. The registration token is essential for adding the session host to the host pool, ensuring it can communicate with Azure Virtual Desktop.
-
brucespr 👍 1Generate a registration key for the host pool To add session hosts on Azure Local, you also need: The Azure Connected Machine agent See: https://learn.microsoft.com/en-us/azure/virtual-desktop/add-session-hosts-host-pool?tabs=portal%2Cgui&pivots=host-pool-standard And after you finish, four applications are listed as installed applications including: Remote Desktop Services Infrastructure Agent
Show 1 more comment
-
soysoliscarlos 👍 1B and D, According to the documentation, those are part of the prerequisites.
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All AZ-140 Questions
Access 64 questions with complete answers and detailed explanations.
View Full AZ-140 Practice Test →