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

Exam Professional Cloud Architect All Questions

View all questions & answers for the Professional Cloud Architect exam

Exam Professional Cloud Architect topic 1 question 9 discussion

Actual exam question from Google's Professional Cloud Architect
Question #: 9
Topic #: 1
[All Professional Cloud Architect Questions]

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?

  • A. Ensure that a firewall rules exists to allow source traffic on HTTP/HTTPS to reach the load balancer.
  • B. Assign a public IP to each instance and configure a firewall rule to allow the load balancer to reach the instance public IP.
  • C. Ensure that a firewall rule exists to allow load balancer health checks to reach the instances in the instance group.
  • 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.
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
Eroc
Highly Voted 2 months ago
"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"
upvoted 35 times
tartar
4 years, 3 months ago
C is ok
upvoted 14 times
...
nitinz
3 years, 8 months ago
C because terminated and relaunch.... something wrong with HC.
upvoted 6 times
...
AzureDP900
2 years, 1 month ago
agreed and C is right
upvoted 2 times
...
...
TheCloudBoy77
Highly Voted 3 years ago
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.
upvoted 7 times
...
Ekramy_Elnaggar
Most Recent 1 week, 5 days ago
Selected Answer: C
1. Health Checks are Essential: Load balancers rely on health checks to determine if instances in the backend pool are healthy and able to serve traffic. If the health checks fail, the load balancer assumes the instance is unhealthy and terminates it, leading to the constant cycling you're observing. 2. Firewall Rules for Health Checks: Even though your instances don't have public IPs, the load balancer needs to communicate with them through internal IPs for health checks. Firewall rules must be configured to allow this communication. 3. How Health Checks Work: The load balancer sends requests (e.g., HTTP, HTTPS, TCP) to the instances on a specific port and expects a certain response. The firewall needs to allow these requests to reach the instances and the responses to return to the load balancer.
upvoted 1 times
...
subramanyam46
8 months, 2 weeks ago
c is right
upvoted 1 times
...
hzaoui
10 months, 2 weeks ago
Selected Answer: C
C is correct
upvoted 1 times
...
yas_cloud
11 months ago
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.
upvoted 1 times
...
Arun_m_123
1 year, 1 month ago
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 ?
upvoted 1 times
...
AdityaGupta
1 year, 1 month ago
Selected Answer: C
If the healthcheck is not successful, it will keep on re-creating the instances in MIG.
upvoted 1 times
...
angelumesh
1 year, 12 months ago
Selected Answer: C
C (LB Health check should be taken care of)
upvoted 2 times
...
Mahmoud_E
2 years, 1 month ago
Selected Answer: C
C is the correct answer
upvoted 2 times
...
minmin2020
2 years, 1 month ago
Selected Answer: C
C. Ensure that a firewall rule exists to allow load balancer health checks to reach the instances in the instance group.
upvoted 3 times
...
YAS007
2 years, 7 months ago
answer C: https://cloud.google.com/load-balancing/docs/health-check-concepts#ip-ranges
upvoted 2 times
...
AWS56
2 years, 10 months ago
Selected Answer: C
C is corect.
upvoted 2 times
...
OrangeTiger
2 years, 10 months ago
C is corect.
upvoted 1 times
OrangeTiger
2 years, 10 months ago
' (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.
upvoted 2 times
...
...
haroldbenites
2 years, 11 months ago
Go for C. This questions is in sample quesitons of Google https://docs.google.com/forms/d/e/1FAIpQLSdvf8Xq6m0kvyIoysdr8WZYCG32WHENStftiHTSdtW4ad2-0w/viewform
upvoted 4 times
...
vincy2202
3 years ago
C is the correct answer.
upvoted 2 times
...
unnikrisb
3 years, 1 month ago
Option C If curl command is working then traffic exists.. So we need to check why health checks are failing.. so firewall issues for health check done by Google probers
upvoted 2 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 ...