Professional Cloud Architect Exam QuestionsBrowse all questions from this exam

Professional Cloud Architect Exam - Question 9


You set up an autoscaling instance group to serve web traffic for an upcoming launch. After configuring the instance group as a backend service to an HTTP(S) load balancer, you notice that virtual machine (VM) instances are being terminated and re-launched every minute. The instances do not have a public IP address.

You have verified the appropriate web response is coming from each instance using the curl command. You want to ensure the backend is configured correctly.

What should you do?

Show Answer
Correct Answer: C

If virtual machine instances are being terminated and re-launched every minute, it suggests that the instances are failing their health checks. Ensuring that a firewall rule exists to allow load balancer health checks to reach the instances in the instance group would address this issue, as it would allow the load balancer to communicate with the instances to verify their health. When these health checks fail, the instances are often terminated and recreated by the autoscaling group to maintain a healthy service. Therefore, configuring the firewall to permit these health checks is crucial for the stable operation of the instances.

Discussion

17 comments
Sign in to comment
ErocOption: C
Oct 24, 2019

"A" and "B" wouldn't turn the VMs on or off, it would jsut prevent traffic. "C" would turn them off if the health check is configured to terminate the VM is it fails. "D" is the start of a pseudo health check without any logic, so it also isn't an answer because it is like "A" and "B". Correct Answer: "C"

tartar
Aug 5, 2020

C is ok

nitinz
Mar 4, 2021

C because terminated and relaunch.... something wrong with HC.

AzureDP900
Oct 16, 2022

agreed and C is right

TheCloudBoy77Option: C
Nov 19, 2021

A. Ensure that a firewall rules exists to allow source traffic on HTTP/HTTPS to reach the load balancer. >> not correct, load balancer is not the issue here. B. Assign a public IP to each instance and configure a firewall rule to allow the load balancer to reach the instance public IP. >> defeats the purpose of getting load balancers , not correct C. Ensure that a firewall rule exists to allow load balancer health checks to reach the instances in the instance group.>> Correct. if using different port then appropriate FW rule need to be setup to ensure LB can reach backend instances for healthcheck. if healthcheck traffic is blcked, instances will be marked unhealthy and will be restarted. D. Create a tag on each instance with the name of the load balancer. Configure a firewall rule with the name of the load balancer as the source and the instance tag as the destination.>> tagging is not useful here as the instance is not the source of traffic, just the port need to be opened on FW.

[Removed]Option: C
Feb 11, 2022

I got this question on my exam.

haroldbenitesOption: C
Dec 3, 2021

Go for C. This questions is in sample quesitons of Google https://docs.google.com/forms/d/e/1FAIpQLSdvf8Xq6m0kvyIoysdr8WZYCG32WHENStftiHTSdtW4ad2-0w/viewform

FAD04
Sep 1, 2022

I got this question on my exam 01/09/2022

zr79
Oct 17, 2022

congrats

minmin2020Option: C
Oct 12, 2022

C. Ensure that a firewall rule exists to allow load balancer health checks to reach the instances in the instance group.

Kings22903
Nov 29, 2022

Please if anyone has full access to the restricted questions here, you can send them to me at this email address: <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="a7c4cfcecccec9c0c4cde7c0cac6cecb89c4c8ca">[email protected]</a>, I will be writing my exams next week and will need your help, please, I've got no $ to subscribe for full access for now. Thank you.

ccpmad
Jun 9, 2024

ok, good luck

AWS56Option: C
Jan 25, 2022

C is corect.

YAS007Option: C
Apr 23, 2022

answer C: https://cloud.google.com/load-balancing/docs/health-check-concepts#ip-ranges

Mahmoud_EOption: C
Oct 22, 2022

C is the correct answer

angelumeshOption: C
Nov 26, 2022

C (LB Health check should be taken care of)

OrangeTigerOption: C
Dec 29, 2021

C is corect.

OrangeTiger
Dec 29, 2021

' (VM) instances are being terminated and re-launched every minute. ' Isn't it because the health check is failing. A & D Maybe aleady there.curl command passed. B What are you doing. Absolutely no.

AdityaGuptaOption: C
Oct 4, 2023

If the healthcheck is not successful, it will keep on re-creating the instances in MIG.

Arun_m_123
Oct 10, 2023

One thing that i couldn't understand is - How VMs getting terminated and relaunched for not setting health-checks in the load balancer ? how will that affect VM's uptime ?

yas_cloud
Dec 26, 2023

Most likely the problem of instances terminating is with the threshold settings on the health check. It’s thinking too sooner that some VMs can be terminated due to less load.

hzaouiOption: C
Jan 11, 2024

C is correct

subramanyam46Option: C
Mar 9, 2024

c is right