Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Associate Cloud Engineer All Questions

View all questions & answers for the Associate Cloud Engineer exam

Exam Associate Cloud Engineer topic 1 question 4 discussion

Actual exam question from Google's Associate Cloud Engineer
Question #: 4
Topic #: 1
[All Associate Cloud Engineer Questions]

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)
  • 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)
  • D. Create a managed instance group. Verify that the autoscaling setting is on.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
ReyBan
Highly Voted 2 months ago
C, Agreed reference : https://cloud.google.com/compute/docs/tutorials/high-availability-autohealing Pro Tip: 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.
upvoted 96 times
ashrafh
3 years, 3 months ago
I also vote for C go to gcp console create a httpa load balancer and in the health check settings take your mouse to question mark it says """Ensures that requests are sent only to instances that are up and running""" so its not recreating, if the vm not working it redirect to one which work. go to gpc console create MIG and check the questions mark of Autohealing health check settings it says """Autohealing allows recreating VM instances when needed. You can use a health check to recreate a VM instance if the health check finds it unresponsive. If you don't select a health check, Compute Engine will recreate VM instances only when they're not running.""" hope this help :)
upvoted 28 times
...
...
bryanchew
Highly Voted 4 years, 7 months ago
A. Create an HTTP load balancer with a backend configuration that references an existing instance group. Set the health check to healthy(HTTP) This is a possible answer. This answer assumes that the existing backend is configured correctly. 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. This is a possible answer. This answer assumes that the existing backend is configured correctly. This answer adds an additional step over answer A. C. Create a managed instance group. Set the Autohealing health check to healthy(HTTP) This is only a partial solution. The default configuration is auto scaling enabled. You still need to create the HTTP Load Balancer. D. Create a managed instance group. Verify that the auto scaling setting is on. This is only a partial solution. Creating a Managed Instance Group with Auto Scaling is required, but you still need to create the HTTP Load Balancer. Therefore the best answer is A in my opinion.
upvoted 22 times
THutch
2 months ago
It can't be A or B. Question clearly states, "using the fewest possible steps" and setting up an HTTP load balancer is a long, drawn out process that requires quite a few steps and is never mentioned as part of the requirement.
upvoted 1 times
...
pYWORLD
3 years, 4 months ago
I hope you saw that in the questions is stated: "network load balancing"
upvoted 4 times
...
koniec
4 years ago
It's A. Managed group already exists so create a LB with health checks. If you go for C, you will have to create a LB anyway so it's more steps to achieve the goal
upvoted 1 times
tavva_prudhvi
3 years, 7 months ago
https://www.youtube.com/watch?v=dT7xDEtALPQ&list=PLIivdWyY5sqIij_cgINUHZDMnGjVx3rxi&index=36 step-1: go to the instance group step-2: click edit step-3: scroll down you will see auto-healing off by default change to ON step-4: create a health check saying 10 seconds as CHECK INTERVAL and UNHEALTHY THRESHOLD=3
upvoted 8 times
...
...
DickDastardly
3 years, 8 months ago
It can't be A as a load balancer does not re-create unhealthy instances, as per the requirement. Has to be C https://cloud.google.com/compute/docs/instance-groups
upvoted 6 times
...
...
SaiSaiA
Most Recent 2 months ago
C is the only one with the AUTOHEALING option, but it is not really correct. Remember, the GIVEN information are "a NETWORK load balancer and a group of Compute Engine Instances that run in multiple zones" which gives us an idea that the existing configuration is a target pool-based network lb. If we are to use the existing group of VMs, we need to choose UNMANAGED Instance Group, UNMANAGED Instance Group does not have Autohealing, only a health check. Health check only checks if VMs are responsive or not but does not re-create instances as what Autohealing and Autoscaling do. You can also try re-creating the scenario or check this https://cloud.google.com/load-balancing/docs/network/transition-to-backend-services#console So, if a MANAGED INSTANCE group is to be used, then you need to create an instance template and use it for your MIG. Ofc, you cannot use the existing VMs, then you create a new load balancer. Ofc, the existing group of VMs mentioned in the question will no longer be used but rather a new set of VMs based on the instance template will be created. The choices should be updated.
upvoted 2 times
...
Selected Answer: C
Option C is correct because creating a managed instance group allows you to use autohealing to automatically recreate VMs that are unresponsive after 3 attempts of 10 seconds each. You can set the Autohealing health check to healthy (HTTP) to specify the health check that determines whether the instances are considered healthy or not. If an instance becomes unresponsive, Autohealing will recreate the instance and attach it to the managed instance group. https://cloud.google.com/compute/docs/instance-groups/autohealing-instance-groups
upvoted 2 times
Shivangi30
1 year, 5 months ago
The link url is invalid
upvoted 1 times
...
...
YourCloudGuru
2 months ago
The correct answer is C. Managed instance groups are groups of homogeneous Compute Engine instances that are managed as a single entity. They can be used to distribute traffic across multiple instances and to provide high availability. Autohealing is a feature of managed instance groups that automatically replaces instances that fail health checks. You can configure autohealing to recreate instances if they are unresponsive after a certain number of attempts. To configure autohealing for network load balancing, you need to create a managed instance group and set the Autohealing health check to healthy (HTTP). The health check will periodically probe the instances in the group to see if they are responding. If an instance fails the health check, autohealing will recreate it.
upvoted 1 times
...
harsh5kalsait
2 months ago
Option C correct C. Create a managed instance group. Set the Autohealing health check to healthy (HTTP) Explanation: * Managed Instance Groups (MIGs) are specifically designed for managing and scaling groups of instances. They offer features like autohealing, load balancing, and autoscaling. * Autohealing is a key feature of MIGs that allows you to automatically recreate unhealthy instances based on health checks. Why other options are incorrect: * A and B involve creating an HTTP load balancer, which is not directly related to autohealing. Load balancers distribute traffic but do not handle instance health checks and recreation. * D only creates a managed instance group and verifies autoscaling, which is not sufficient for autohealing. Autohealing requires a health check configuration. By choosing option C, you directly address the requirements of configuring autohealing for a group of Compute Engine instances with the fewest possible steps.
upvoted 1 times
...
errorfetch
2 months ago
Selected Answer: C
here we clearly need auto healing capability so C is correct.
upvoted 1 times
...
boydocarta
4 months ago
C, Agreed Pro Tip: 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.
upvoted 1 times
...
Aravind1996
5 months ago
Selected Answer: D
A,B,C are regarding http whereas question is about network Lb. So Option D is correct
upvoted 1 times
...
subha.elumalai
6 months ago
Correct Answer is D
upvoted 1 times
...
Ele24
9 months, 1 week ago
Selected Answer: C
C is Correct
upvoted 1 times
...
Arnaud92
10 months ago
Selected Answer: C
C is correct.
upvoted 1 times
...
MiscoMove
11 months, 2 weeks ago
Selected Answer: C
C is Correct!
upvoted 1 times
...
thewalker
1 year ago
Selected Answer: C
C is correct
upvoted 1 times
...
BAofBK
1 year ago
The answer is C
upvoted 1 times
...
Evan7557
1 year, 1 month ago
C is Correct Answer
upvoted 1 times
...
Captain1212
1 year, 2 months ago
C is the right answer
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...