nerdexam
MicrosoftMicrosoft

AZ-140 · Question #40

AZ-140 Question #40: Real Exam Question with Answer & Explanation

The correct answer is B: qwinsta. To troubleshoot low frame quality in Azure Virtual Desktop using Performance Monitor, you must specify the exact user session ID when selecting the performance counter instance (e.g., for RemoteFX Graphics counters). The 'qwinsta' (Query Windows Station) command displays all acti

Submitted by katya_ua· Apr 18, 2026Monitor and maintain an an Azure Virtual Desktop infrastructure

Question

You have a Azure 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?

Options

  • AGet-ComputerInfo
  • Bqwinsta
  • Cwhoami
  • DGet-LocalUser

Explanation

To troubleshoot low frame quality in Azure Virtual Desktop using Performance Monitor, you must specify the exact user session ID when selecting the performance counter instance (e.g., for RemoteFX Graphics counters). The 'qwinsta' (Query Windows Station) command displays all active session information on a Remote Desktop Session Host, including the Session ID, username, state, and connection type. This is the standard tool for retrieving session IDs on Windows RDS/AVD hosts. Get-ComputerInfo (A) returns hardware/OS metadata, whoami (C) shows the current user's identity but not the session ID, and Get-LocalUser (D) lists local user accounts without session information.

Topics

#Azure Virtual Desktop#Troubleshooting#Performance Monitoring#User Sessions

Community Discussion

No community discussion yet for this question.

Full AZ-140 PracticeBrowse All AZ-140 Questions