GCIH · Question #259
You work as a System Engineer for Cyber World Inc. Your company has a single Active Directory domain. All servers in the domain run Windows Server 2008. The Microsoft Hyper-V server role has been inst
The correct answer is A. Enable the Shut Down the Guest Operating System option in the Automatic Stop Action. Hyper-V's Automatic Stop Action setting provides a built-in, configurable option to gracefully shut down guest operating systems before the host server powers off.
Question
You work as a System Engineer for Cyber World Inc. Your company has a single Active Directory domain. All servers in the domain run Windows Server 2008. The Microsoft Hyper-V server role has been installed on one of the servers, namely uC1. uC1 hosts twelve virtual machines. You have been given the task to configure the Shutdown option for uC1, so that each virtual machine shuts down before the main Hyper-V server shuts down. Which of the following actions will you perform to accomplish the task?
Options
- AEnable the Shut Down the Guest Operating System option in the Automatic Stop Action
- BManually shut down each of the guest operating systems before the server shuts down.
- CCreate a batch file to shut down the guest operating system before the server shuts down.
- DCreate a logon script to shut down the guest operating system before the server shuts
How the community answered
(40 responses)- A93% (37)
- B5% (2)
- D3% (1)
Why each option
Hyper-V's Automatic Stop Action setting provides a built-in, configurable option to gracefully shut down guest operating systems before the host server powers off.
The 'Automatic Stop Action' property on each Hyper-V virtual machine includes the 'Shut Down the Guest Operating System' option, which triggers a graceful OS shutdown via the Hyper-V Integration Services when the host begins its shutdown sequence. This is the designed, built-in mechanism in Hyper-V for ensuring VMs are cleanly stopped before the host goes down. Configuring this setting on all 12 VMs is the correct and automated solution for the task.
Manually shutting down each guest OS is a procedural workaround and not a configuration - it relies on human intervention and is not a reliable automated solution.
A batch file is not a native Hyper-V configuration mechanism, and while it could trigger shutdowns, it would not be integrated with the Hyper-V shutdown sequence in the same reliable, built-in way.
A logon script executes when a user logs on to a session, not during system shutdown, making it entirely unsuitable for triggering VM shutdowns before the host powers off.
Concept tested: Hyper-V Automatic Stop Action VM configuration
Source: https://learn.microsoft.com/en-us/windows-server/virtualization/hyper-v/manage/set-up-hyper-v-over-windows
Topics
Community Discussion
No community discussion yet for this question.