Configuring and Operating Microsoft Azure Virtual Desktop — Question 9
You have an Azure Virtual Desktop deployment.
You deploy and configure Azure Virtual Desktop in a secondary location.
You plan to perform a test failover to the secondary location, but discover existing user sessions to the primary location.
You need to sign out users from the session hosts in the primary location.
Which PowerShell cmdlet should you run?
Answer options
- A. Invoke-RdsUserSessionLogoff
- B. Remove-AzWvdUserSession
- C. Invoke-RestMethod
- D. Remove-Alias
Correct answer: B
Explanation
The correct cmdlet, Remove-AzWvdUserSession, is specifically designed to log off users from Azure Virtual Desktop session hosts. The other options either do not pertain to user session management in Azure Virtual Desktop or serve different purposes, such as invoking REST methods or removing aliases.