exam questions

Exam AZ-140 All Questions

View all questions & answers for the AZ-140 exam

Exam AZ-140 topic 1 question 8 discussion

Actual exam question from Microsoft's AZ-140
Question #: 8
Topic #: 1
[All AZ-140 Questions]

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?

  • A. Register the Microsoft.DesktopVirtualization provider.
  • B. Generate a registration key.
  • C. Run the Invoke-AzVMRunCommand cmdlet.
  • D. Create a role assignment.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
CoachV
Highly Voted 1 year, 10 months ago
Answer B is correct: Registering the virtual machines to a Azure Virtual Desktop host pool is as simple as installing the Azure Virtual Desktop agents. To register the Azure Virtual Desktop agents, do the following on each virtual machine: Connect to the virtual machine with the credentials you provided when creating the virtual machine. Download and install the Azure Virtual Desktop Agent. Download the Azure Virtual Desktop Agent. Run the installer. When the installer asks you for the registration token, enter the value you got from the Get-AzWvdRegistrationInfo cmdlet.
upvoted 6 times
...
RadKus94
Most Recent 2 months, 3 weeks ago
Selected Answer: B
https://learn.microsoft.com/en-us/azure/virtual-desktop/add-session-hosts-host-pool?tabs=portal%2Cgui&pivots=host-pool-standard
upvoted 1 times
...
AlfKay
3 months, 1 week ago
Selected Answer: B
B. is the answer, without generate a registration key, you wont be able to add new VM onto existing host pool
upvoted 1 times
...
albd
12 months ago
I say answer is A: https://learn.microsoft.com/en-us/azure/virtual-desktop/prerequisites?tabs=portal
upvoted 1 times
...
ESAJRR
1 year ago
Selected Answer: B
B. Generate a registration key.
upvoted 1 times
...
manhattan
1 year, 10 months ago
Selected Answer: B
It should be B, tried in lab
upvoted 2 times
...
Mthaher
2 years, 1 month ago
B is correct - https://learn.microsoft.com/en-us/answers/questions/110851/add-existing-azure-vm-to-session-host-pool-azure-w.html
upvoted 2 times
...
Magis
2 years, 1 month ago
Selected Answer: B
Correct. Step 1 - Create Pool. This is done. Step 2 - Run the next cmdlet to create a registration token to authorize a session host to join the host pool and save it to a new file on your local computer. You can specify how long the registration token is valid by using the -ExpirationTime parameter. New-AzWvdRegistrationInfo -ResourceGroupName <resourcegroupname> -HostPoolName <hostpoolname> -ExpirationTime $((get-date).ToUniversalTime().AddDays(1).ToString('yyyy-MM-ddTHH:mm:ss.fffffffZ'))
upvoted 2 times
...
Thespy45
2 years, 7 months ago
Selected Answer: B
Registration Key is useful to register existing VM to a host pool : https://docs.microsoft.com/en-us/azure/virtual-desktop/create-host-pools-powershell?WT.mc_id=Portal-Microsoft_Azure_WVD&tabs=azure-powershell#register-the-virtual-machines-to-the-azure-virtual-desktop-host-pool
upvoted 2 times
...
Eltooth
2 years, 8 months ago
Selected Answer: B
B is the correct answer. https://docs.microsoft.com/en-gb/learn/modules/create-configure-host-pools-session-hosts/2-automate-creation-host-pool-powershell
upvoted 1 times
...
RickMorais
2 years, 9 months ago
Selected Answer: B
Create a registration key. period
upvoted 1 times
...
J_Dawg
3 years ago
Selected Answer: B
[B] Listed answer is correct: https://docs.microsoft.com/en-us/azure/virtual-desktop/create-host-pools-powershell?tabs=azure-powershell#register-the-virtual-machines-to-the-azure-virtual-desktop-host-pool
upvoted 1 times
...
odbjegli
3 years, 1 month ago
Correct answer is [B] https://www.anoopcnair.com/avd-add-new-session-hosts-to-host-pool-wvd-v2/
upvoted 1 times
...
CloudyTech
3 years, 1 month ago
Guys answer should be A, check https://docs.microsoft.com/en-us/azure/virtual-desktop/create-host-pools-azure-marketplace?tabs=azure-portal
upvoted 1 times
goonerraka6
3 years, 1 month ago
When you create host pool, resource provider Microsoft.DesktopVirtualization is automatically registered, hence answer is B.
upvoted 1 times
...
...
Domza
3 years, 1 month ago
Not reading a question carefully gents lol "You need to ensure that you can add the virtual machines to the host pool" 1. You'd register with third party "provider prior" setting up WVD lol
upvoted 2 times
nitohime
2 years, 4 months ago
Don't believe his comments. For the rest of the questions
upvoted 1 times
...
...
Zorag
3 years, 1 month ago
Generate a registration key is correct. You register the provider before creating the host pool
upvoted 1 times
...
Ed2learn
3 years, 1 month ago
The answer is A. "Finally, make sure you've registered the Microsoft.DesktopVirtualization resource provider. If you haven't already, go to Subscriptions, select the name of your subscription, and then select Resource providers. Search for DesktopVirtualization, select Microsoft.DesktopVirtualization, and then select Register." https://docs.microsoft.com/en-us/azure/virtual-desktop/create-host-pools-azure-marketplace
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...