
Answer-first summary for fast verification
Answer: Set the `automaticRestart` availability policy to true, Configure the `onHostMaintenance` availability policy to migrate instances
To ensure Compute Engine instances are resilient to crashes or terminations, two key configurations are recommended: 1. **Automatic Restart**: Setting the `automaticRestart` availability policy to `true` ensures that instances are automatically restarted if they crash or are terminated unexpectedly, enhancing availability and reducing downtime. 2. **Host Maintenance**: Configuring the `onHostMaintenance` availability policy to `migrate instances` allows Compute Engine to move instances to another host during planned maintenance, preventing service interruptions. Thus, the correct configurations are: - Set `automaticRestart` to `true` (Option C) - Set `onHostMaintenance` to `migrate instances` (Option D) These settings collectively improve instance resilience against failures and maintenance events.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
To enhance the resilience of Compute Engine instances against crashes or system terminations, which configurations should be applied?
A
Configure the onHostMaintenance availability policy to terminate instances
B
Set the automaticRestart availability policy to false
C
Set the automaticRestart availability policy to true
D
Configure the onHostMaintenance availability policy to migrate instances