
Explanation:
The optimal solution is Option C for several reasons:
Managed Instance Groups (MIGs) offer comprehensive management capabilities, including automatic instance creation, termination, and health checks, making them perfectly suited for scenarios requiring high availability.
Autohealing health check configured to HTTP, with a timeout of 8 seconds and 2 retries, ensures that instances are automatically recreated if they fail to respond to health checks twice consecutively.
Why not the other options?
By leveraging MIGs and configuring autohealing, you can significantly enhance the reliability and availability of your application in the face of instance failures.
Ultimate access to all questions.
No comments yet.
As a cloud engineer working on a client-facing application hosted on GCP, you're tasked with ensuring high availability. The application runs on Compute Engine instances across multiple zones. Your goal is to automatically recreate any instances that fail, specifically if they're unresponsive after two health check attempts, each lasting 8 seconds. What's the best approach to achieve this?
A
B
C
D