CLOUD-NETWORK practice question 18 of 30

You are designing a new application that has backends internally exposed on port 800. The application will be exposed externally using both IPv4 and IPv6 via TCP on port 700. You want to ensure high availability for this application. What should you do?

Full set: 233 questions
Answer options
A: Create a network load balancer that used backend services containing one instance group with two instances.
B: Create a network load balancer that uses a target pool backend with two instances.
C: Create a TCP proxy that uses a zonal network endpoint group containing one instance.
D: Create a TCP proxy that uses backend services containing an instance group with two instances. Correct answer
Correct Answer:
D. Create a TCP proxy that uses backend services containing an instance group with two instances.
Explanation

To meet the requirements, a Global External TCP Proxy Load Balancer is the most suitable choice. It supports both IPv4 and IPv6 traffic, which is a key requirement. It uses a backend service to manage backends, allowing the use of instance groups for high availability (two instances as specified). This setup provides a single global IP address, terminates TCP connections from users, and then proxies them to the closest healthy backend instances, ensuring both global reach and high availability.

Why Incorrect

A. A network load balancer is regional, not global. While the backend service-based version supports IPv6, a TCP proxy offers superior global availability features.
B. A network load balancer that uses a target pool backend does not support IPv6 traffic, which is a mandatory requirement for the application.
C. Using a single instance in a zonal network endpoint group does not provide high availability, which is a core requirement of the design.

References

1. Google Cloud Documentation, "External TCP Proxy Load Balancer overview". Section: "When to use an external TCP Proxy Load Balancer". It states, "An external TCP Proxy Load Balancer is for non-HTTP(S) TCP traffic... It supports both IPv4 and IPv6 clients."

2. Google Cloud Documentation, "Load balancing and backends". This page details how backend services are used with various load balancers, including TCP Proxy, and can contain instance groups to distribute traffic for availability.

3. Google Cloud Documentation, "External passthrough Network Load Balancer overview". Section: "Target pool backends". It notes that target pool-based Network Load Balancers only support IPv4 traffic.

Scroll to Top