You have an Azure Virtual Desktop host pool that runs Windows 10 Enterprise multi-session. User sessions are load-balanced between the session hosts. Idle session timeout is 30 minutes. You plan to shut down a session host named Host1 to perform routine maintenance. You need to prevent new user sessions to Host1 without disconnecting active user sessions.
Solution: From the Azure portal, add lock on Host1. Does this meet the goal?
Suggested Answer: B
Get Premium AZ-140 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
28 comments · newest first
LE
Lettie
12 months ago
Wait, are you sure? I thought it would work!
CE
Cecilia
12 months ago
No way, that doesn't meet the goal at all.
MA
Marva
1 year ago
I thought locks were for preventing changes, not connections?
MA
Maurine
1 year ago
Totally agree, that's not the right approach!
TI
Tien
1 year ago
Adding a lock won't stop new sessions from connecting.
RE
Regenia
1 year ago
I vaguely recall that we might need to change the session host's status instead of just adding a lock.
JE
Jettie
1 year ago
I think the answer is B because we need to prevent new sessions, and locking doesn't actually stop that.
SA
Sarah
1 year ago
I feel like we discussed something similar in class about managing session hosts, but I'm not entirely sure if a lock is the right approach here.
LA
Latrice
1 year ago
I remember that locking a VM doesn't prevent new sessions from being assigned to it, so I think this won't meet the goal.
VA
Vallie
1 year ago
Hmm, I'm a bit confused on this one. I'm not sure if adding a lock is the right solution here. Wouldn't that just prevent any access to the host, including the active sessions? I'll need to research this a bit more to make sure I understand the right way to approach it.
FL
Floyd
1 year ago
Ah, I see what they're asking. Preventing new sessions from being assigned to Host1 while keeping the active ones running sounds like a good approach. I'm pretty confident that adding a lock on the host should do the trick, but I'll verify that in the portal just to be sure.
BE
Beckie
1 year ago
Okay, let me see. I think the key here is to prevent new user sessions from being assigned to Host1, while keeping the active sessions running. Adding a lock might work, but I'm not 100% sure. I'll need to double-check the documentation on this.
VA
Val
1 year ago
Hmm, this seems like a tricky one. I'm not sure if adding a lock on the session host will prevent new sessions from being assigned to it. I'll need to think this through carefully.
DA
Daniel
2 years ago
I'm with Aja on this one. The lock might stop new sessions, but the active ones could still get the boot. We need to find a way to let the users finish up their work before taking the host offline.
JE
Jenelle
2 years ago
User2: Agreed, we need to find a way to let the active sessions finish before shutting down the host.
DA
Daron
2 years ago
User1: I think adding a lock might not be the best solution.
JA
Jarod
2 years ago
I think the solution is correct because adding a lock on Host1 will effectively prevent new user sessions while allowing active ones to continue.
AS
Ashanti
2 years ago
Haha, locking the host? That's like putting a padlock on your computer to stop people from using it. I think we need a more elegant solution here.
CR
Crista
2 years ago
No, adding a lock on Host1 will not prevent new user sessions without disconnecting active ones.
CL
Claribel
2 years ago
The lock should work to prevent new sessions, but I'm worried about the active sessions. Maybe we could try using the 'Drain' option to give users a chance to log off before shutting down the host.
KI
Kimberlie
2 years ago
User2: No, we should use the 'Drain' option to allow users to log off first.
VI
Virgie
2 years ago
User1: Yes, adding a lock should prevent new sessions.
AJ
Aja
2 years ago
Locking the host sounds like a good way to prevent new sessions, but I'm not sure it will keep the active sessions from being disconnected. We'll need to find a way to gracefully drain the sessions first.
DA
Dalene
2 years ago
User4: That sounds like a good idea, let's try setting Host1 to drain mode before shutting it down.
MA
Maryrose
2 years ago
User3: Maybe we can set Host1 to drain mode to finish active sessions before maintenance.
WI
Wilburn
2 years ago
User2: I agree, we need to find a way to gracefully drain the active sessions before shutting down Host1.
SH
Shannan
2 years ago
User1: I think adding a lock on Host1 will prevent new sessions, but what about the active ones?
JA
Jarod
2 years ago
Yes, adding a lock on Host1 will prevent new user sessions without disconnecting active ones.