exam questions

Exam AZ-140 All Questions

View all questions & answers for the AZ-140 exam

Exam AZ-140 topic 6 question 6 discussion

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

You have an Azure Virtual Desktop deployment that contains a host pool named Pool1.

Pool1 contains a session host named Host1 that is Azure AD-joined.

You need to verify whether a Windows license is assigned to Host1.

What should you do?

  • A. From the Azure Active Directory admin center, view the product licenses.
  • B. From VM1, run the Get-WindowsDeveloperLicense cmdlet.
  • C. From the Azure portal, view the properties of Host1.
  • D. From Azure Cloud Shell, run the Get-AzVm cmdlet.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
jeff1988
5 months, 3 weeks ago
Selected Answer: C
C. From the Azure portal, view the properties of Host1. In the Azure portal, you can check the properties of the virtual machine to see the licensing information. This will allow you to confirm if a Windows license is assigned to Host1.
upvoted 1 times
lukiduc9625
2 months, 3 weeks ago
Please, show me (on screenshot) where precisely can I found license information - I look at a few my Azure vms' properties and on neither I can find license info
upvoted 1 times
...
...
pinda
8 months ago
Selected Answer: C
In an Azure Virtual Desktop environment, the licensing status for the session hosts can be checked through the Azure portal by viewing the properties of the virtual machine (VM). The VM properties include information about the operating system, licensing, and other configuration details.
upvoted 1 times
...
[Removed]
12 months ago
Selected Answer: D
PowerShell command Get-AzVM https://learn.microsoft.com/en-us/azure/virtual-machines/windows/hybrid-use-benefit-licensing#powershell-2
upvoted 1 times
b082cb3
9 months, 3 weeks ago
C. From the Azure portal, view the properties of Host1. Here's why this is the correct approach: Azure AD-joined VMs: For Azure AD-joined virtual machines, including those used as session hosts in Azure Virtual Desktop, licensing information is typically visible in the Azure portal. VM Properties: The Azure portal provides detailed information about virtual machines, including their licensing status, in the properties section. Direct VM-level information: This method allows you to check the specific licensing status of Host1 directly, rather than looking at broader account or subscription-level information. D. From Azure Cloud Shell, run the Get-AzVm cmdlet. While this cmdlet can provide information about VMs, it doesn't directly show licensing information. It would require additional parsing and might not give as clear information as the Azure portal. The Azure portal provides a straightforward, visual way to check the licensing status of a specific VM, making it the most efficient and reliable method for this task.
upvoted 1 times
...
...
SilverFox22
1 year, 2 months ago
Selected Answer: D
Looking at the Properties of a host VM right now in Azure portal. I see nothing about an OS license. Answer is D.
upvoted 1 times
b082cb3
9 months, 3 weeks ago
is your VM a Azure AD-joined VM
upvoted 1 times
...
...
Rednevi
1 year, 2 months ago
Selected Answer: D
After deploying your VM, run this cmdlet to verify the license type: PowerShell Copy Get-AzVM -ResourceGroupName <resourceGroupName> -Name <vmName> A session host VM with the applied Windows license will show you something like this: PowerShell Copy Type : Microsoft.Compute/virtualMachines Location : westus LicenseType : Windows_Client VMs without the applied Windows license will show you something like this: PowerShell Copy Type : Microsoft.Compute/virtualMachines Location : westus LicenseType : https://learn.microsoft.com/en-us/azure/virtual-desktop/apply-windows-license#verify-your-session-host-vm-is-utilizing-the-licensing-benefit
upvoted 1 times
...
jasonho77
1 year, 3 months ago
Checking the properties of the Azure Virtual Desktop session host in the Azure portal is the appropriate method to view information about the virtual machine, including licensing details. So, the correct answer is: C
upvoted 1 times
...
tempelier1975
1 year, 7 months ago
Selected Answer: D
Get-AzVm
upvoted 2 times
...
c7d45f4
1 year, 7 months ago
Selected Answer: C
While the Get-AzVm cmdlet can provide information about a virtual machine (VM) in Azure, including its configuration, it doesn't specifically provide details about Windows licensing status. To check the Windows license assignment for a VM in Azure Virtual Desktop, you would typically access the VM properties directly from the Azure porta
upvoted 2 times
CloudDummyDude
1 year, 1 month ago
Portal and viewing properties won't give information about license status. Get-AzVM cmdlet and LicenseType
upvoted 1 times
...
...
oktober_23
1 year, 7 months ago
Selected Answer: D
Correct - D https://learn.microsoft.com/en-us/azure/virtual-machines/windows/hybrid-use-benefit-licensing#powershell-2
upvoted 2 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago