
Explanation:
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.
Ultimate access to all questions.
No comments yet.
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