Google Associate Cloud Engineer Question 79
Single answerGoogle Cloud PlatformYou are tasked with setting up a highly available web application on Google Cloud Platform. The application should automatically distribute incoming HTTP traffic to multiple instances based on their geographic proximity to the user. Which Google Cloud Load Balancer should you use to achieve this requirement?
- A
Internal TCP/UDP Load Balancer
- B
HTTP(S) Load Balancer
- C
TCP Proxy Load Balancer
- D
Network Load Balancer
Show answer and explanation
Correct answer: B
Explanation
The HTTP(S) Load Balancer is the appropriate choice for distributing HTTP(S) traffic across multiple regions based on geographic proximity. It is a global load balancing solution that allows you to route user requests to the nearest available backend, improving latency and availability for users worldwide.
- A. Incorrect.
Internal TCP/UDP Load Balancer is designed for internal traffic within a VPC and does not support external HTTP(S) traffic distribution based on geographic proximity.
- B. Correct.
HTTP(S) Load Balancer is a global load balancer that can distribute HTTP(S) traffic to multiple regions based on proximity, making it suitable for serving users from the nearest available instance.
- C. Incorrect.
TCP Proxy Load Balancer is used for TCP traffic and does not provide HTTP(S) capabilities nor geographic-based distribution.
- D. Incorrect.
Network Load Balancer is suitable for non-HTTP(S) traffic and is not designed for traffic distribution based on geographic proximity.