ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 58 - Professional Cloud Architect discussion

Report
Export

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.
Answers
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.
Answers
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.
Answers
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.
Answers
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.
Suggested answer: C

Explanation:

The best practice when configuration a health check is to check health and serve traffic on the same port. However, it is possible to perform health checks on one port, but serve traffic on another. If you do use two different ports, ensure that firewall rules and services running on instances are configured appropriately. If you run health checks and serve traffic on the same port, but decide to switch ports at some point, be sure to update both the backend service and the health check.

Backend services that do not have a valid global forwarding rule referencing it will not be health checked and will have no health status.

References: https://cloud.google.com/compute/docs/load-balancing/http/backend-service

asked 18/09/2024
Jucelino Pinheiro de Andrade da Silva
42 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first