ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 4 - Associate Cloud Engineer discussion

Report
Export

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?

A.
Create an HTTP load balancer with a backend configuration that references an existing instance group. Set the health check to healthy (HTTP).
Answers
A.
Create an HTTP load balancer with a backend configuration that references an existing instance group. Set the health check to healthy (HTTP).
B.
Create an HTTP load balancer with a backend configuration that references an existing instance group. Define a balancing mode and set the maximum RPS to 10.
Answers
B.
Create an HTTP load balancer with a backend configuration that references an existing instance group. Define a balancing mode and set the maximum RPS to 10.
C.
Create a managed instance group. Set the Autohealing health check to healthy (HTTP).
Answers
C.
Create a managed instance group. Set the Autohealing health check to healthy (HTTP).
D.
Create a managed instance group. Verify that the autoscaling setting is on.
Answers
D.
Create a managed instance group. Verify that the autoscaling setting is on.
Suggested answer: C

Explanation:

https://cloud.google.com/compute/docs/instance-groups

https://cloud.google.com/load-balancing/docs/network/transition-to-backend-services#console

In order to enable auto-healing, you need to group the instances into a managed instance group. Managed instance groups (MIGs) maintain the high availability of your applications by proactively keeping your virtual machine (VM) instances available. An auto-healing policy on the MIG relies on an application-based health check to verify that an application is responding as expected. If the auto-healer determines that an application isnt responding, the managed instance group automatically recreates that instance.

It is important to use separate health checks for load balancing and for auto-healing. Health checks for load balancing can and should be more aggressive because these health checks determine whether an instance receives user traffic. You want to catch non-responsive instances quickly, so you can redirect traffic if necessary. In contrast, health checking for auto-healing causes Compute Engine to proactively replace failing instances, so this health check should be more conservative than a load balancing health check.

asked 18/09/2024
David Murinda
42 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first