1Z0-1072-25 Question 144
Single answerYou are developing a real-time chat application on Oracle Cloud Infrastructure (OCI). The application requires minimal latency for TCP-based communication, must preserve the original client IP addresses, and does not need SSL termination or advanced Layer 7 features. Which load balancing solution best meets these needs?
- A
Use a Network Load Balancer that forwards TCP connections to the backend without modification.
- B
Use a Load Balancer with SSL offloading and path-based routing rules.
- C
Configure DNS steering policies in the OCI DNS service to serve as a load balancer.
- D
Deploy an Application Load Balancer with host-based routing to preserve the source IP.
Show answer and explanation
Correct answer: A
Explanation
For applications requiring direct TCP forwarding, low latency, and preservation of client source IP addresses, a Network Load Balancer (NLB) is the most suitable option on OCI. The NLB operates at the transport layer (Layer 4), ensuring minimal overhead while passing connections and preserving client IP details. Advanced Layer 7 features such as SSL offloading, path-based routing, or host-based routing are unnecessary for this scenario and would introduce overhead. Refer to the 'OCI Load Balancer' and 'OCI Network Load Balancer' documentation for configuration details, particularly around backend sets and protocol selection.
- A. Correct.
Correct. A Network Load Balancer (NLB) operates at Layer 4 (TCP/UDP) and can forward traffic with minimal overhead. It preserves the original client IP addresses, which is essential for scenarios like a real-time chat application.
- B. Incorrect.
Incorrect. SSL offloading and path-based routing are Layer 7 (HTTP) features. This adds overhead you don�t need and doesn�t inherently preserve the client IP addresses in the same way a Network Load Balancer does.
- C. Incorrect.
Incorrect. OCI DNS steering policies help route traffic at the DNS level but do not replace a proper load balancing solution that preserves client connections or IP addresses for backend servers. DNS-based load balancing also doesn�t natively handle real-time traffic distribution as efficiently at the TCP layer.
- D. Incorrect.
Incorrect. An Application Load Balancer (Layer 7) with host-based routing is useful for HTTP/HTTPS traffic requiring advanced routing rules, not for high-throughput, low-latency TCP-based needs where preserving the client IP is critical.