Which AWS Service Distributes HTTP Traffic Across EC2 Instances?
Short answer
B Application Load Balancer distributes incoming HTTP traffic across all running EC2 instances at Layer 7.
Question
Key Takeaways
The question tests load-balancer layer awareness — plain HTTP traffic needs a Layer 7 Application Load Balancer, and the trap is picking Network Load Balancer or Auto Scaling for the wrong reason.
An Application Load Balancer distributes incoming HTTP/HTTPS traffic evenly across running EC2 instances because it operates at Layer 7. This page confirms why the Application Load Balancer, not Auto Scaling or a Network or Gateway Load Balancer, meets the requirement.
Common mistake: The most common wrong pick is Network Load Balancer (D) because it is also an ELB, but NLB works at Layer 4 for TCP/UDP and does not natively understand HTTP; EC2 Auto Scaling (A) is also tempting yet it only changes instance count instead of distributing traffic.
Expert Analysis
Why the Answer Is Correct
The question asks for a service that distributes incoming HTTP traffic evenly across all running EC2 instances. Application Load Balancer (ALB) is a Layer 7 load balancer that natively understands HTTP and HTTPS, so it can inspect requests and spread them across targets in a target group, including EC2 instances. ALB performs health checks and balances traffic across healthy registered instances, which is exactly the stated requirement. It also adds HTTP-specific capabilities such as host-based and path-based routing, sticky sessions, and redirects. Because the protocol named in the question is explicitly HTTP, ALB is the intended match rather than any Layer 4 option.
Why the Other Options Are Wrong
Amazon EC2 Auto Scaling adjusts the number of running instances in response to demand; it adds or removes capacity but does not itself distribute incoming traffic across those instances. Gateway Load Balancer is built to insert third-party virtual appliances such as firewalls and intrusion detection systems into the traffic path using GENEVE at Layer 3/4, so it has nothing to do with HTTP balancing. Network Load Balancer operates at Layer 4 and handles TCP, UDP, and TLS traffic with extreme performance and static IPs, but it does not natively parse HTTP requests. Choosing NLB is the classic trap when a question mentions HTTP; the protocol keyword points to ALB.
Community Comment Notes
Every learner vote in the thread selected B, and the reasoning lines up with the AWS exam blueprint. As CCNP21 noted, "ALB works at Layer 7, meaning HTTPS. NLB works at Layer 4." AravindrajG pointed at the exact trigger phrase, "Keyword: Distribute incoming HTTP traffic evenly across all running instances," and tied it to ALB's Layer 7 support for HTTP. ShaiTay, wmv__ and HappyG simply confirmed B. The unanimous, layer-based rationale reinforces the independent verdict that Application Load Balancer is correct.
Official Reference
- https://docs.aws.amazon.com/elasticloadbalancing/latest/application/introduction.html
- https://docs.aws.amazon.com/elasticloadbalancing/latest/userguide/what-is-load-balancing.html
- https://docs.aws.amazon.com/autoscaling/ec2/userguide/what-is-amazon-ec2-auto-scaling.html
These links open the official vendor documentation in a new tab.
Exam Strategy
Map the protocol keyword to the load balancer layer before reading the options: HTTP or HTTPS points to Application Load Balancer, TCP or UDP with extreme performance points to Network Load Balancer, and third-party appliances point to Gateway Load Balancer. Then eliminate Auto Scaling, because it changes capacity rather than distributing traffic. In CLF-C02, a word like “HTTP” is usually the deciding clue.
Frequently Asked Questions
Why is Network Load Balancer wrong for distributing HTTP traffic across EC2 instances?
Does EC2 Auto Scaling distribute traffic evenly across running instances?
Community Votes
100% of anonymous learners picked answer B. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 4 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 4
-
CCNP21 👍 2 Answered BALB works at Layer 7, meaning HTTPS. NLB works at Layer 4.
-
AravindrajG 👍 1 Answered BKeyword: Distribute incoming HTTP traffic evenly across all running instances. Application Load Balancer supports Layer 7,it means HTTP protocol Network Load Balancer supports Layer 4,it means TCP/UDP protocol Answer is B. Application Load Balancer
-
ShaiTay 👍 1 Answered BB. Application Load Balancer
-
wmv__ 👍 1 Answered BB is correct
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All CLF-C02 Questions
Access 120 questions with complete answers and detailed explanations.
View Full CLF-C02 Practice Test →