Google Professional Cloud Network Engineer Question 22
Single answerGoogle Cloud PlatformYou are tasked with deploying a global e-commerce application on Google Cloud. The application requires low-latency access for users worldwide, supports both HTTP and HTTPS traffic, and ensures session affinity for users. Additionally, the application must handle sudden spikes in traffic during sales events. Which Google Cloud load balancer should you choose?
- A
Regional external HTTP(S) load balancer
- B
Global external HTTP(S) load balancer
- C
Internal TCP/UDP load balancer
- D
Network load balancer
Show answer and explanation
Correct answer: B
Explanation
The Global external HTTP(S) load balancer is the correct choice because it is designed for global applications that require low latency, HTTP/HTTPS support, session affinity, and the ability to handle large spikes in traffic. This aligns perfectly with the requirements of the e-commerce application described in the scenario.
- A. Incorrect.
The Regional external HTTP(S) load balancer is limited to a single region and cannot provide global access or low latency for users worldwide.
- B. Correct.
The Global external HTTP(S) load balancer is designed for distributed applications with global reach, supports HTTP/HTTPS traffic, session affinity, and can handle sudden traffic spikes. It is ideal for this scenario.
- C. Incorrect.
The Internal TCP/UDP load balancer is used for internal traffic within a VPC and is not suitable for public-facing applications.
- D. Incorrect.
The Network load balancer is suitable for high-performance TCP/UDP traffic but does not natively support HTTP/HTTPS traffic or session affinity.