This section maps directly to core exam objectives related to building scalable, highly available, and secure network architectures.
Domain 1: Network Design
Task Statement 1.3: Design solutions that incorporate load balancing to achieve high availability, scalability, and security.
| OSI Layer | Load Balancer Category | Core Function | AWS Example |
|---|---|---|---|
| Layer 3 (Network) | Routing-based load balancing | Routes traffic based on IP addressing | AWS Global Accelerator |
| Layer 4 (Transport) | TCP/UDP load balancing | Distributes traffic using IP and port | Network Load Balancer (NLB) |
| Layer 7 (Application) | HTTP/HTTPS load balancing | Routes requests using headers, paths, or cookies | Application Load Balancer (ALB) |
Layer 3 focuses on network-level routing, Layer 4 optimizes connection-based traffic, and Layer 7 enables application-aware routing decisions.
Exam Tips
| Load Balancer | OSI Layer | Primary Use Case |
|---|---|---|
| Application Load Balancer (ALB) | Layer 7 | Web applications, APIs, microservices |
| Network Load Balancer (NLB) | Layer 4 | High-performance, real-time, TCP/UDP workloads |
| Classic Load Balancer (CLB) | Layer 4 & 7 | Legacy applications (not recommended for new designs) |
| Gateway Load Balancer (GWLB) | Layer 3 | Traffic distribution across security appliances |
| Feature | ALB | NLB | GWLB |
|---|---|---|---|
| Protocols | HTTP/HTTPS | TCP/UDP | GENEVE |
| Latency | Moderate | Very low | Low |
| TLS termination | Supported | Passthrough only | Not supported |
| Ideal workloads | Web & API traffic | Real-time, high-scale traffic | Firewalls, IDS/IPS |
Exam Tips
| Pattern | Description |
|---|---|
| Internal ALB/NLB | Handles private traffic within a VPC |
| Internet-facing ALB/NLB | Exposes applications to the public internet |
| Multi-region load balancing | Uses AWS Global Accelerator for optimal routing |
| Hybrid load balancing | Uses Route 53 to distribute traffic between on-premises and AWS |
Exam Tips
Exam Tips
| AWS Service | Purpose |
|---|---|
| AWS Global Accelerator | Routes users to the nearest healthy ALB or NLB |
| Amazon CloudFront | Caches content before it reaches the load balancer |
| AWS WAF | Protects ALB and CloudFront from Layer 7 attacks |
| Amazon Route 53 | DNS-based traffic distribution and failover |
| Amazon EKS (Load Balancer Controller) | Automates ALB/NLB provisioning for Kubernetes |
| AWS Certificate Manager (ACM) | Manages TLS certificates |
Exam Tips
| Configuration | Description | Typical Use |
|---|---|---|
| Proxy Protocol | Preserves client source IP | NLB backends requiring client IP |
| Cross-Zone Load Balancing | Evenly distributes traffic across AZs | High-availability designs |
| Sticky Sessions | Maintains session affinity | Stateful web applications |
| Routing Algorithms | Round-robin, least outstanding requests | Backend performance optimization |
Exam Tips
| Target Type | Supported Load Balancer | Use Case |
|---|---|---|
| EC2 instances | ALB, NLB | Traditional compute workloads |
| IP addresses | ALB, NLB | Containers, on-prem targets |
| Lambda functions | ALB only | Serverless backends |
| GENEVE targets | GWLB | Security appliance integration |
Exam Tips
The AWS Load Balancer Controller integrates ALB and NLB with Amazon EKS. It automatically provisions load balancers based on Kubernetes service or ingress definitions and supports advanced HTTP routing through ALB-based Ingress resources.
Exam Tips
| Feature | Description |
|---|---|
| TLS termination | ALB decrypts traffic at the load balancer |
| TLS passthrough | NLB forwards encrypted traffic to backends |
| Mutual TLS (mTLS) | Both client and server authenticate each other |
Exam Tips
Approach Scenario-Based Questions Methodically
| Requirement | Recommended Service |
|---|---|
| Web and API traffic | Application Load Balancer |
| High-performance, real-time traffic | Network Load Balancer |
| Multi-region failover | AWS Global Accelerator |
| Security appliance traffic | Gateway Load Balancer |