D-ECS-DS-23 · Question #109
In the context of ECS, which load balancer types are most suitable for distributing HTTP and HTTPS traffic efficiently?
The correct answer is A. Application Load Balancer B. Network Load Balancer. Application Load Balancer (ALB) is the premier choice for HTTP/HTTPS in ECS - it operates at Layer 7, enabling content-based routing (path, host, headers), native ECS dynamic port mapping, and SSL/TLS termination. Network Load Balancer (NLB) also qualifies because it operates…
Question
In the context of ECS, which load balancer types are most suitable for distributing HTTP and HTTPS traffic efficiently?
Options
- AApplication Load Balancer
- BNetwork Load Balancer
- CClassic Load Balancer
- DSimple Routing Load Balancer
How the community answered
(29 responses)- A93% (27)
- C3% (1)
- D3% (1)
Explanation
Application Load Balancer (ALB) is the premier choice for HTTP/HTTPS in ECS - it operates at Layer 7, enabling content-based routing (path, host, headers), native ECS dynamic port mapping, and SSL/TLS termination. Network Load Balancer (NLB) also qualifies because it operates at Layer 4 (TCP/TLS), can handle HTTPS passthrough or TLS termination at extreme throughput with ultra-low latency, and integrates fully with ECS target groups.
Classic Load Balancer (C) is wrong because it's a legacy service that AWS has deprecated; it lacks modern ECS features like dynamic port mapping and target groups, making it unsuitable for new architectures. Simple Routing Load Balancer (D) is a distractor - it doesn't exist as an AWS load balancer type; "Simple Routing" is a Route 53 DNS policy, not a load balancer.
Memory tip: Think in layers - "ALB = Application layer (Layer 7) = HTTP/HTTPS smart routing; NLB = Network layer (Layer 4) = raw TCP/TLS speed." Both integrate with ECS. Classic is the old guard (retired), and "Simple" belongs to Route 53, not load balancing.
Topics
Community Discussion
No community discussion yet for this question.