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.
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
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.
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.
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
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
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
Correct - D
https://learn.microsoft.com/en-us/azure/virtual-machines/windows/hybrid-use-benefit-licensing#powershell-2
upvoted 2 times
...
This section is not available anymore. Please use the main Exam Page.AZ-140 Exam Questions
Log in to ExamTopics
Sign in:
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.
jeff1988
5 months, 3 weeks agolukiduc9625
2 months, 3 weeks agopinda
8 months ago[Removed]
12 months agob082cb3
9 months, 3 weeks agoSilverFox22
1 year, 2 months agob082cb3
9 months, 3 weeks agoRednevi
1 year, 2 months agojasonho77
1 year, 3 months agotempelier1975
1 year, 7 months agoc7d45f4
1 year, 7 months agoCloudDummyDude
1 year, 1 month agooktober_23
1 year, 7 months ago