Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft AZ-140 Exam - Topic 4 Question 107 Discussion

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?
B) Remove-AzWvdUserSession
A) Invoke-RdsUserSessionLogoff
C) Invoke-RestMethod
D) Remove-Alias

Microsoft AZ-140 Exam - Topic 4 Question 107 Discussion

Actual exam question for Microsoft's AZ-140 exam
Question #: 107
Topic #: 4
[All AZ-140 Questions]

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?

Show Suggested Answer Hide Answer

Contribute your Thoughts:

0/2000 characters
Latrice
4 days ago
I’m not sure about B. A is more direct for logging off.
upvoted 0 times
...
Elvera
9 days ago
I feel like A is the best option. It’s specific to user sessions.
upvoted 0 times
...
Jill
14 days ago
I’m leaning towards B. Remove-AzWvdUserSession sounds relevant.
upvoted 0 times
...
Craig
20 days ago
I agree, A seems right. It’s about logging off users.
upvoted 0 times
...
Rosendo
25 days ago
This question is tricky! I think it's A.
upvoted 0 times
...
Luther
30 days ago
A) seems like the only logical option here. Good luck, everyone!
upvoted 0 times
...
Fernanda
1 month ago
I’m leaning towards A) too. It’s clear about signing out users.
upvoted 0 times
...
Lashon
1 month ago
A) is definitely the best choice. It’s specifically for user sessions.
upvoted 0 times
...
Staci
2 months ago
B) Remove-AzWvdUserSession is tempting, but I feel it's not the right context.
upvoted 0 times
...
Renea
2 months ago
I agree, A) makes sense for logging off users.
upvoted 0 times
...
Earleen
2 months ago
I think it's A) Invoke-RdsUserSessionLogoff. Seems straightforward.
upvoted 0 times
...
Billi
2 months ago
Surprised this isn't more straightforward!
upvoted 0 times
...
Marnie
2 months ago
Just to clarify, A is for logging off users, right?
upvoted 0 times
...
Kattie
2 months ago
Wait, are you sure? I thought it was B.
upvoted 0 times
...
Millie
4 months ago
Totally agree, that's the right cmdlet!
upvoted 0 times
...
Valda
4 months ago
A) Invoke-RdsUserSessionLogoff is the one you need!
upvoted 0 times
...
Aron
5 months ago
I definitely remember that Invoke-RdsUserSessionLogoff is used for logging off users, but I’m not 100% confident if it applies to this specific scenario.
upvoted 0 times
...
Haydee
5 months ago
I’m a bit confused about the options. I know Remove-AzWvdUserSession sounds relevant, but I can't recall if it actually logs users off.
upvoted 0 times
...
Quentin
5 months ago
I remember practicing a similar question where we had to manage user sessions in Azure Virtual Desktop. I feel like Invoke-RdsUserSessionLogoff might be the right choice.
upvoted 0 times
...
Amalia
5 months ago
I think the cmdlet we need is related to logging off user sessions, but I'm not entirely sure which one it is.
upvoted 0 times
...

Save Cancel