
Answer-first summary for fast verification
Answer: Adjust the `onHostMaintenance` availability policy to migrate instances
The correct configuration is to set the `onHostMaintenance` availability policy to migrate instances (Option D). This ensures that instances are live migrated to another host during maintenance events, preserving their state and avoiding termination. The `automaticRestart` policy (Options A and C) pertains to instances crashing or being terminated by the system, not host maintenance. Option B, which suggests terminating instances during maintenance, would lead to loss of the instance and is not the desired outcome for resilience.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
To ensure Compute Engine instances are resilient to host maintenance activities, what configuration should be applied?
A
Configure the automaticRestart availability policy to terminate instances
B
Set the onHostMaintenance availability policy to terminate instances
C
Enable the automaticRestart availability policy to restart instances automatically
D
Adjust the onHostMaintenance availability policy to migrate instances
No comments yet.