exam questions

Exam AZ-140 All Questions

View all questions & answers for the AZ-140 exam

Exam AZ-140 topic 2 question 36 discussion

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

You have an Azure Virtual Desktop deployment that contains a host pool named Pool1. Pool1 contains 10 session hosts that were deployed by using an Azure Resource Manager (ARM) template.

You discover that Windows licenses were NOT applied to the session hosts.

You need to use a PowerShell script to update the licenses.

Which cmdlet should you include in the solution?

  • A. Update-AzVm
  • B. Update-AzWvdDesktop
  • C. Update-AzWvdHostPool
  • D. Update-AzWvdWorkspace
  • E. Update-AzWvdSessionHost
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
Toschu
Highly Voted 1 year, 5 months ago
Selected Answer: A
$vm = Get-AzVM -ResourceGroup <resourceGroupName> -Name <vmName> $vm.LicenseType = "Windows_Client" Update-AzVM -ResourceGroupName <resourceGroupName> -VM $vm
upvoted 5 times
...
[Removed]
Most Recent 8 months ago
Selected Answer: A
https://learn.microsoft.com/en-us/azure/virtual-desktop/apply-windows-license $vm = Get-AzVM -ResourceGroup <resourceGroupName> -Name <vmName> $vm.LicenseType = "Windows_Client" Update-AzVM -ResourceGroupName <resourceGroupName> -VM $vm
upvoted 2 times
...
ESAJRR
11 months, 3 weeks ago
Selected Answer: A
A. Update-AzVm
upvoted 1 times
...
Szaier
1 year, 5 months ago
Selected Answer: A
A is correct
upvoted 1 times
...
vanr2000
1 year, 6 months ago
Selected Answer: A
https://learn.microsoft.com/en-us/azure/virtual-desktop/apply-windows-license
upvoted 2 times
...
Leocan
1 year, 6 months ago
Selected Answer: A
https://learn.microsoft.com/en-us/azure/virtual-machines/windows/hybrid-use-benefit-licensing
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 ...