AWS Certified Solutions Architect Associate SAA-C03 Practice Question
An application uses a single Application Load Balancer (ALB) to serve two different domain names, example.com and api.example.com. Each domain should be forwarded to its own target group of Amazon EC2 instances that are registered in multiple Availability Zones within the same AWS Region.
Host-based routing allows a listener rule to examine the Host header of each HTTP/HTTPS request. The ALB can then forward requests for example.com and api.example.com to separate target groups whose EC2 instances span multiple Availability Zones. Path-based routing evaluates the URL path, source-IP affinity uses the client IP to make routing decisions, and latency-based routing is a Route 53 DNS feature, not an ALB listener capability.
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 host-based routing in an Application Load Balancer?
Open an interactive chat with Bash
How does the Application Load Balancer differ from other types of load balancers in AWS?
Open an interactive chat with Bash
What are Availability Zones and why are they important for load balancing?