A company is building new ecommerce features that use multiple microservices, each exposed on different paths. The microservices run on Amazon ECS. All public websites must use HTTPS. The application also requires the original client source IP addresses. Which load balancing approach should the network engineer implement to satisfy these requirements? (Choose two.)
Choose an answer
Tap an option to check your answer.
Correct answer: Obtain client IP addresses from the X-Forwarded-For header, Deploy an Application Load Balancer.
Why this is the answer
An Application Load Balancer (ALB) is the correct choice because it operates at Layer 7 (application layer), allowing it to route requests based on paths to different microservices, which is essential for the described architecture. ALBs also natively support HTTPS termination, fulfilling the requirement for secure public websites. Network Load Balancers (NLBs) operate at Layer 4 and do not offer path-based routing or native HTTPS termination, making them unsuitable for this scenario. AWS App Mesh is a service mesh that helps manage microservices but is not a load balancer itself; it works with load balancers. The original client IP addresses are typically found in the X-Forwarded-For header when using an ALB, as the ALB acts as a proxy. The X-IP-Source header is not a standard header for this purpose.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed