ASSOCIATE-CLOUD-ENGINEER · Question #46
ASSOCIATE-CLOUD-ENGINEER Question #46: Real Exam Question with Answer & Explanation
The correct answer is C: Create a managed instance group. Set the Autohealing health check to healthy (HTTP). Use separate health checks for load balancing and for autohealing. Health checks for load balancing detect unresponsive instances and direct traffic away from them. Health checks for autohealing detect and recreate failed instances, so they should be less aggressive than load bal
Question
You want to configure autohealing for network load balancing for a group of Compute Engine instances that run in multiple zones, using the fewest possible steps. You need to configure re- creation of VMs if they are unresponsive after 3 attempts of 10 seconds each. What should you do?
Options
- ACreate an HTTP load balancer with a backend configuration that references an existing instance
- BCreate an HTTP load balancer with a backend configuration that references an existing instance
- CCreate a managed instance group. Set the Autohealing health check to healthy (HTTP)
- DCreate a managed instance group. Verify that the autoscaling setting is on.
Explanation
Use separate health checks for load balancing and for autohealing. Health checks for load balancing detect unresponsive instances and direct traffic away from them. Health checks for autohealing detect and recreate failed instances, so they should be less aggressive than load balancing health checks. Using the same health check for these services would remove the distinction between unresponsive instances and failed instances, causing unnecessary latency and unavailability for your users. https://cloud.google.com/compute/docs/tutorials/high-availability-autohealing
Community Discussion
No community discussion yet for this question.