Which AWS Service Distributes HTTP Traffic Across EC2 Instances?

Answer Correct answer: B — Application Load Balancer distributes incoming HTTP traffic across all running EC2 instances at Layer 7.

An ecommerce company has deployed a new web application on Amazon EC2 instances. The company wants to distribute incoming HTTP traffic evenly across all running instances. Which AWS service or resource will meet this requirement?

  1. Amazon EC2 Auto Scaling
  2. Application Load Balancer Correct Answer
  3. Gateway Load Balancer
  4. Network Load Balancer

Community Votes

B
100%

100% of anonymous learners picked answer B. Votes are pick records left by other test-takers — they are not the verified answer.

Community Insight

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.

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.

Community Discussion (5 comments)

ShaiTay 👍 1 Selected: B
B. Application Load Balancer
AravindrajG 👍 1 Selected: B
Keyword: 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
CCNP21 👍 2 Selected: B
ALB works at Layer 7, meaning HTTPS. NLB works at Layer 4.
wmv__ 👍 1 Selected: B
B is correct
HappyG 👍 1 Selected: B
B is correct

Comments & Corrections

No comments yet — spotted an error or have a note? Share it below.

Log in to comment, report an error, or add a note about this question.

Submitted for moderation before publishing. Keep it helpful and respectful.

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

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?

NLB operates at Layer 4 for TCP/UDP/TLS traffic and does not natively understand HTTP, so it cannot match ALB's HTTP-aware balancing and routing.

Does EC2 Auto Scaling distribute traffic evenly across running instances?

No. Auto Scaling only adds or removes instances based on demand; it works alongside a load balancer, which performs the actual traffic distribution.

More CLF-C02 FAQ →

Related Analysis

Practice All CLF-C02 Questions

Access 120 questions with complete answers and detailed explanations.

View Full CLF-C02 Practice Test →

← Back to CLF-C02 Study Guide