AZ-140 practice question 34 of 35
You have a Windows Virtual Desktop host pool named Pool1 that runs Windows 10 Enterprise multi- session hosts. You need to use Performance Monitor to troubleshoot a low frame quality issue that is affecting a current use session to Pool1. What should you run to retrieve the user session ID?
Full set: 286 questionsDomain Monitor and maintain an Azure Virtual Desktop infrastructure
To troubleshoot performance issues for a specific user on a Windows 10 Enterprise multi-session host, you must first identify the user's session ID. The qwinsta (Query Session) command-line utility is the standard tool for this purpose. It lists all active and disconnected user sessions on a Remote Desktop Session Host, including the username and the corresponding session ID. This ID can then be used in Performance Monitor to isolate and analyze performance counters, such as "User Input Delay per Session" or "Frames Per Second," specifically for the affected user's session, which is essential for diagnosing the low frame quality issue.
A. Get-ComputerInfo: This PowerShell cmdlet retrieves system-wide hardware and operating system properties, not information about active user sessions.
C. whoami: This command displays the user context of the current command prompt session, not the session IDs of all users logged onto the host.
D. Get-LocalUser: This PowerShell cmdlet lists local user accounts on the machine; it does not provide information about active sessions or their IDs. ---
1. Microsoft Documentation
qwinsta Command-Line Reference: "Displays information about user sessions on a Remote Desktop Session Host server. ... To find out the session ID for the session whose graphics are being virtualized
use the qwinsta command-line tool."
Source: Microsoft Docs
"qwinsta".
2. Microsoft Documentation
Troubleshoot graphics performance in Azure Virtual Desktop: "To start
use the qwinsta command in a command prompt to view the counters. ... After you've identified the session ID of the user who's experiencing issues
run the following command to find out the name of the process that's using up the FPS." This document explicitly links qwinsta to obtaining the session ID for performance troubleshooting in AVD.
Source: Microsoft Learn
"Troubleshoot graphics performance in Azure Virtual Desktop
" Section: "Identify graphics performance issues."
3. Microsoft Documentation
Performance counters for troubleshooting: "To investigate
use Performance Monitor on the VM to look at the User Input Delay per Session counter. You'll need the session ID to see the data for each user. You can get the session ID by running the qwinsta command."
Source: Microsoft Learn
"Azure Virtual Desktop RDP Shortpath
" Section: "Performance counters for troubleshooting."
4. Microsoft PowerShell Documentation
Get-ComputerInfo: "The Get-ComputerInfo cmdlet gets a consolidated object of system and operating system properties." This confirms it is for system-level information
not user sessions.
Source: Microsoft Learn
"Get-ComputerInfo."
Keep practicing
Take the free AZ-140 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other AZ-140 practice questions
- Question 1You have an Azure subscription that is linked to a hybrid Microsoft Entra tenant and cont…
- Question 3You need to implement network security to meet the security requirements and the performa…
- Question 4You have an Azure subscription. The subscription contains a virtual machine named Server1…
- Question 5You are designing an Azure Virtual Desktop deployment. You identify the network latency b…
- Question 8You have an Azure Virtual Desktop deployment. You need to recommend a solution to run con…
- Question 10You deploy a Azure Virtual Desktop host pool named Pooll. You have an Azure Storage accou…
