AWS Certified Solutions Architect Associate SAA-C03 Practice Question
A company is designing a web application that must route requests to different microservices based on values found in HTTP headers and URL paths. Which Elastic Load Balancing option provides this advanced request routing in the most cost-effective way without adding extra proxy instances?
An Application Load Balancer (ALB) operates at OSI Layer 7 and supports content-based routing rules that inspect host headers, paths, HTTP headers, query strings, and source IP addresses. Network Load Balancer (NLB) and Gateway Load Balancer (GLB) operate at Layer 4 and cannot inspect request content. A Classic Load Balancer offers limited Layer 7 features but lacks modern rule-based routing. Therefore, using an ALB avoids the need to deploy and manage custom proxy tiers, making it the most cost-effective solution when advanced request routing is required.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What are the OSI Layers and how does Layer 7 differ from other layers?
Open an interactive chat with Bash
Why is an Application Load Balancer cost-effective compared to implementing custom proxies?
Open an interactive chat with Bash
What are the main use cases for Network Load Balancers and Gateway Load Balancers?