Google Cloud Associate Cloud Engineer — Question 188

You deployed an application on a managed instance group in Compute Engine. The application accepts Transmission Control Protocol (TCP) traffic on port 389 and requires you to preserve the IP address of the client who is making a request. You want to expose the application to the internet by using a load balancer. What should you do?

Answer options

Correct answer: A

Explanation

The correct option is A, as an external TCP Network Load Balancer can preserve the client's IP address while routing traffic to the application. Option B, the TCP Proxy Load Balancer, is not suitable here because it is typically used for SSL traffic and does not preserve the client's IP. Option C is incorrect because an SSL Proxy Load Balancer is meant for HTTPS traffic, and option D is not applicable since an internal TCP Network Load Balancer is used for internal traffic only.