PROFESSIONAL-CLOUD-DEVOPS-ENGINEER · Question #158
PROFESSIONAL-CLOUD-DEVOPS-ENGINEER Question #158: Real Exam Question with Answer & Explanation
The correct answer is B: Create a Managed instance Group with a single instance and use health checks to determine the. A Managed Instance Group (MIG) with health checks automates exactly this recovery workflow. When a health check detects that the instance is unhealthy, the MIG automatically deletes it and recreates a new instance from the configured instance template-eliminating the manual steps
Question
You support a production service that runs on a single Compute Engine instance. You regularly need to spend time on recreating the service by deleting the crashing instance and creating a new instance based on the relevant image. You want to reduce the time spent performing manual operations while following Site Reliability Engineering principles. What should you do?
Options
- AFile a bug with the development team so they can find the root cause of the crashing instance.
- BCreate a Managed instance Group with a single instance and use health checks to determine the
- CAdd a Load Balancer in front of the Compute Engine instance and use health checks to determine
- DCreate a Stackdriver Monitoring dashboard with SMS alerts to be able to start recreating the
Explanation
A Managed Instance Group (MIG) with health checks automates exactly this recovery workflow. When a health check detects that the instance is unhealthy, the MIG automatically deletes it and recreates a new instance from the configured instance template-eliminating the manual steps entirely. This aligns with the SRE principle of eliminating toil through automation. Option A (filing a bug) is a valid long-term action but does not reduce the immediate manual toil. Option C (adding a Load Balancer) can route traffic away from an unhealthy instance but a single standalone LB does not recreate the instance automatically. Option D (Monitoring with SMS alerts) still requires a human to perform the recreation, so it does not eliminate toil.
Topics
Community Discussion
No community discussion yet for this question.