AZ-140 · Question #76
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might…
The correct answer is B. No. The answer is No, meaning the proposed solution does not meet the goal. The correct way to prevent new user sessions on a session host without disconnecting existing active sessions is to enable drain mode on the host using the Azure portal or PowerShell…
Question
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. 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 properties of the virtual machine of Host1, you enable just-in-time (JIT) VM access. Does this meet the goal?
Options
- AYes
- BNo
How the community answered
(32 responses)- A13% (4)
- B88% (28)
Explanation
The answer is No, meaning the proposed solution does not meet the goal. The correct way to prevent new user sessions on a session host without disconnecting existing active sessions is to enable drain mode on the host using the Azure portal or PowerShell (Update-AzWvdSessionHost -AllowNewSession $false). If the proposed solution in this question involves a different approach - such as shutting down the VM, removing it from the pool, or another method - it would either disconnect active sessions or not properly block new sessions. Only drain mode achieves both objectives simultaneously: blocking new inbound sessions while allowing existing sessions to remain active.
Topics
Community Discussion
No community discussion yet for this question.