exam questions

Exam Professional Cloud Network Engineer All Questions

View all questions & answers for the Professional Cloud Network Engineer exam

Exam Professional Cloud Network Engineer topic 1 question 79 discussion

Actual exam question from Google's Professional Cloud Network Engineer
Question #: 79
Topic #: 1
[All Professional Cloud Network Engineer Questions]

You are deploying a global external TCP load balancing solution and want to preserve the source IP address of the original layer 3 payload.
Which type of load balancer should you use?

  • A. HTTP(S) load balancer
  • B. Network load balancer
  • C. Internal load balancer
  • D. TCP/SSL proxy load balancer
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
seddy
Highly Voted 3 years, 10 months ago
Im pretty sure if this was an exam question then the expected answer would be B (NW load balancer) 1) the question says external TCP which is either TCP proxy or Network LB. 2) The question does NOT state anything about LB being regional or global, so there is no harm in choosing Network Load balancer instead of TCP proxy 3) TCP proxy is not a pass through LB, but network LB is. So, Network LB preserves the client IP by default. NOTE: It is still possible to preserve the client IP via TCP proxy if you use a Proxy Protocol. So, if the question statement was ''External GLOBAL Tcp LB" then i would say the answer is TCP Proxy. But with all we have in the statement, Network LB is a safe answer! Peace :)
upvoted 14 times
EranSolstice
3 years, 5 months ago
I agree with your original analysis. Ans is B
upvoted 1 times
EranSolstice
3 years, 5 months ago
I take that back. Proxy protocol can allow (D) to reserve the original source IP/port https://cloud.google.com/load-balancing/docs/tcp/setting-up-tcp#proxy-protocol
upvoted 3 times
...
...
seddy
3 years, 10 months ago
I was wrong, the question indeed says Global. So the answer is D. We cannot preserve the client IPs by default. To do that we need to use a Proxy Protocol.
upvoted 15 times
EranSolstice
3 years, 5 months ago
The question refer to a "global load balancer *solutions*". If you create an NLB in multiple region and pair it with an adequate cloud DNS that is region based this may be considered a global load balancer solution.
upvoted 1 times
EranSolstice
3 years, 5 months ago
I take that back. D is the way.
upvoted 2 times
...
...
...
...
ydanno
Highly Voted 4 years, 3 months ago
You can understand which LB we should use in this situation. The correct answer is "D". External -> no SSL offload -> Global LB -> TCP Proxy https://cloud.google.com/load-balancing/docs/choosing-load-balancer#flow_chart There is one important point to note. By default, the original(source) client IP address and port information is not preserved. We can preserve this information by using the PROXY protocol. https://cloud.google.com/load-balancing/docs/tcp#target-proxies
upvoted 9 times
...
mohitms1996
Most Recent 2 days, 15 hours ago
Selected Answer: B
Why is B the correct answer? The question specifically asks for "preserving the source IP address." TCP Proxy Load Balancer (D) terminates the connection at the proxy and forwards a new request to the backend, meaning it does not preserve the original source IP. Network Load Balancer (B) is a pass-through load balancer that maintains the original layer 3 payload, including the source IP address. Final Answer: ✅ B. Network Load Balancer If source IP preservation is the requirement, Network Load Balancer (B) is the correct choice. 🚀
upvoted 1 times
...
ian_gcpca
3 months ago
Selected Answer: D
my first thought was Network LB, but then I went back and re-read the question. It was deploying glbal external lb. theorefore D While a Network Load Balancer does preserve the source IP address, it's typically used for regional deployments. For a global external TCP load balancing solution, you would actually need a TCP Proxy Load Balancer. Global reach: TCP Proxy Load Balancers are designed for global applications, utilizing Google's global network to distribute traffic efficiently. Source IP preservation: Even though it's a proxy, the TCP Proxy Load Balancer includes a feature called "Proxy Protocol" which allows you to preserve the original source IP address. This information is passed to the backend instances, enabling them to see the client's real IP.
upvoted 1 times
...
nkastanas
9 months ago
Selected Answer: B
cant be D. TCP/SSL proxy load balancer: While TCP/SSL proxy load balancers can handle TCP and SSL traffic, they do not preserve the original source IP address as they terminate the client connections at the proxy and create new connections to the backend instances.
upvoted 1 times
...
Nelson90
9 months ago
it's B. it's talking about keeping the ORIGINAL LAYER 3 payload source IP. In the case of TCP/SSL Proxy, when using the PROXY protocol, the payload is NOT preserved. A new connection is established with a new source IP, since the PROXY protocol operates at layer 4, by adding a header with the client IP at the start of TCP connection.
upvoted 1 times
...
Selected Answer: B
Public facing (external) passthrough network load balancer is required, so B.
upvoted 1 times
...
enter_co
1 year, 2 months ago
Selected Answer: B
When the IP address of the remote endpoint needs to be preserved, in tandem with TLS connections, there's only solution: B) passthrough load balancers. https://cloud.google.com/load-balancing/docs/choosing-load-balancer#proxy-pass-through https://cloud.google.com/load-balancing/docs/passthrough-network-load-balancer A) and D) are not correct because the original source address is be lost at TCP connection level (even though it may be somewhere in PROXY information or in some HTTP header), C) is not external.
upvoted 3 times
...
gcpengineer
1 year, 7 months ago
Selected Answer: B
ans is B as D does proxy for tcp connection
upvoted 1 times
...
Ben756
2 years ago
Selected Answer: D
D. TCP/SSL proxy load balancer When you use a TCP/SSL proxy load balancer, it preserves the source IP address of the original layer 3 payload. This is because TCP/SSL proxy load balancer terminates the incoming TCP connection and establishes a new one to the backend instance, while retaining the original source IP address in the payload. In contrast, other types of load balancers may modify the source IP address of the payload, making it difficult to track the origin of the request.
upvoted 3 times
...
pk349
2 years, 2 months ago
• D. TCP/SSL ***** proxy load balancer Network load balancers are regional in nature and only support backends in the same region as their configured frontends. However, packets to network load balancers can still be sent from anywhere on the internet regardless of whether the IP address of the load balancer is in the Premium Tier or the Standard Tier. If the IP address of the load balancer is in the Premium Tier, the traffic traverses Google's high quality global backbone with the intent that packets enter and exit a Google edge peering point as close as possible to the client. If the IP address of the load balancer is in the Standard Tier, the traffic enters and exits the Google network at a peering point closest to the Google Cloud region where the load balancer is configured.
upvoted 1 times
...
pfilourenco
2 years, 3 months ago
Selected Answer: D
The correct answer is "D". External -> no SSL offload -> Global LB -> TCP Proxy https://cloud.google.com/load-balancing/docs/choosing-load-balancer#flow_chart By default, the original(source) client IP address and port information is not preserved. We can preserve this information by using the PROXY protocol. https://cloud.google.com/load-balancing/docs/tcp#target-proxies
upvoted 5 times
...
AzureDP900
2 years, 4 months ago
https://cloud.google.com/load-balancing/docs/tcp/setting-up-tcp#proxy-protocol D is right Set PROXY protocol for retaining client connection information External TCP Proxy Load Balancing terminates TCP connections from the client and creates new connections to the instances. By default, the original client IP and port information is not preserved. To preserve and send the original connection information to your instances, enable PROXY protocol (version 1). This protocol sends an additional header that contains the source IP address, destination IP address, and port numbers to the instance as a part of the request.
upvoted 2 times
...
AzureDP900
2 years, 4 months ago
D is right
upvoted 1 times
...
Mr_MIXER007
2 years, 6 months ago
Selected Answer: D
DDDDDDDDDDD
upvoted 3 times
...
Jasonwcc
2 years, 7 months ago
Answer is B! https://cloud.google.com/load-balancing/docs/choosing-load-balancer If google says so, who are we to argue ;)
upvoted 1 times
csrazdan
2 years, 4 months ago
B would have been correct if this was a regional LB, Since question is talking about Global LB then it has to be D
upvoted 1 times
...
...
[Removed]
3 years, 1 month ago
I think the picture is much better to make a decision about which one be good. https://cloud.google.com/load-balancing/images/choose-lb.svg
upvoted 1 times
[Removed]
3 years ago
I support D
upvoted 2 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago