Google Professional Cloud Network Engineer Question 417
Select 3Google Cloud PlatformYour company has deployed a backend service in Google Cloud that processes requests from users globally. The service is hosted on multiple instances within a Managed Instance Group (MIG) in two different regions: us-central1 and europe-west1. You want to configure a global load balancer to distribute traffic across both regions while ensuring that it uses the correct backend service. What steps are required to configure the appropriate forwarding rule for this setup?
- A
Create a global forwarding rule and associate it with the target HTTP(S) proxy.
- B
Configure a regional forwarding rule and assign it to the backend instance group in us-central1.
- C
Specify the IP address and port in the global forwarding rule.
- D
Attach the global forwarding rule directly to the Managed Instance Group.
- E
Ensure the global forwarding rule is linked to the backend service through a URL map.
Show answer and explanation
Correct answers: A, C, E
Explanation
To configure a global load balancer using forwarding rules, you need to create a global forwarding rule and associate it with a target HTTP(S) proxy. Additionally, the forwarding rule must specify an external global IP address and port to handle incoming traffic. The forwarding rule is linked to a URL map that defines the relationship between the frontend and the backend services, ensuring that traffic is directed appropriately to the Managed Instance Groups in different regions. Regional forwarding rules or direct attachment to instance groups are not applicable in this scenario.
- A. Correct.
Correct. A global forwarding rule is used for HTTP(S) load balancing and must be associated with the target HTTP(S) proxy.
- B. Incorrect.
Incorrect. Regional forwarding rules are not suitable for global load balancing. A global forwarding rule is required to distribute traffic across multiple regions.
- C. Correct.
Correct. A global forwarding rule must specify an external IP address and port to direct traffic to the load balancer.
- D. Incorrect.
Incorrect. You cannot attach a forwarding rule directly to a Managed Instance Group. Forwarding rules are associated with proxies or other targets, not directly with instance groups.
- E. Correct.
Correct. The global forwarding rule must be linked to the backend service through a URL map to determine how traffic is routed to the appropriate backend.