AWS Certified Solutions Architect Associate SAA-C03 Practice Question
A company is deploying a web application that must route client requests to different Amazon EC2 instances based on the URL path specified in the client's request. The application also needs to distribute traffic efficiently across multiple Availability Zones. Which AWS load balancing solution should the company use to meet these requirements?
Use a Classic Load Balancer to distribute traffic evenly across instances.
Use a Gateway Load Balancer (GWLB) to manage traffic at the transport layer.
Use an Application Load Balancer (ALB) to direct traffic based on request metadata.
Use a Network Load Balancer (NLB) to distribute traffic based on network protocol data.
An Application Load Balancer operates at the application layer (Layer 7 of the OSI model) and can direct traffic based on the content of the HTTP/HTTPS request, such as the URL path. This makes it suitable for routing client requests to different targets based on URL paths. It also supports distribution of traffic across multiple Availability Zones, ensuring high availability and scalability. Network Load Balancers make routing decisions based on network protocol data, which does not allow for routing based on URL paths. Gateway Load Balancers operate at the network layer (Layer 3 of the OSI model) and are designed for deploying, scaling, and managing virtual appliances such as firewalls, not for content-based routing. Classic Load Balancers provide basic load balancing across instances but lack advanced request routing capabilities based on URL paths that the Application Load Balancer offers.
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 is an Application Load Balancer (ALB)?
Open an interactive chat with Bash
How does an Application Load Balancer differ from a Network Load Balancer (NLB)?
Open an interactive chat with Bash
What are Availability Zones and why are they important for load balancing?