
Answer-first summary for fast verification
Answer: Set the `onHostMaintenance` availability policy to migrate instances.
The correct configuration is to set the `onHostMaintenance` availability policy to migrate instances. This ensures that during host maintenance events, instances are live migrated to another host without termination, maintaining application availability. The `automaticRestart` policy does not affect host maintenance events, making options A and D incorrect. Option B is incorrect because terminating instances during maintenance would lead to loss of service. For more details, refer to the GCP documentation on Instance Scheduling Options.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
To ensure resilience of Compute Engine instances during host maintenance activities, what configuration should you apply?
A
Configure the automaticRestart availability policy to false.
B
Set the onHostMaintenance availability policy to terminate instances.
C
Set the onHostMaintenance availability policy to migrate instances.
D
Configure the automaticRestart availability policy to true.
No comments yet.