Section: Exam Notes
Section: Practice Tests

Designing Load-Balanced Solutions

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.


1. Load Balancing Across OSI Layers (Layers 3, 4, and 7)

OSI Model Perspective on Load Balancing

OSI LayerLoad Balancer CategoryCore FunctionAWS Example
Layer 3 (Network)Routing-based load balancingRoutes traffic based on IP addressingAWS Global Accelerator
Layer 4 (Transport)TCP/UDP load balancingDistributes traffic using IP and portNetwork Load Balancer (NLB)
Layer 7 (Application)HTTP/HTTPS load balancingRoutes requests using headers, paths, or cookiesApplication 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

  • Clearly distinguish Layer 3, Layer 4, and Layer 7 load balancing.
  • Remember that AWS Global Accelerator operates at Layer 3 for optimized global routing.
  • Know that ALB supports advanced routing and TLS termination at Layer 7.
  • Recognize NLB as the best choice for ultra-low latency, high-throughput workloads.

2. AWS Load Balancer Types and Common Use Cases

Load BalancerOSI LayerPrimary Use Case
Application Load Balancer (ALB)Layer 7Web applications, APIs, microservices
Network Load Balancer (NLB)Layer 4High-performance, real-time, TCP/UDP workloads
Classic Load Balancer (CLB)Layer 4 & 7Legacy applications (not recommended for new designs)
Gateway Load Balancer (GWLB)Layer 3Traffic distribution across security appliances

Feature Comparison

FeatureALBNLBGWLB
ProtocolsHTTP/HTTPSTCP/UDPGENEVE
LatencyModerateVery lowLow
TLS terminationSupportedPassthrough onlyNot supported
Ideal workloadsWeb & API trafficReal-time, high-scale trafficFirewalls, IDS/IPS

Exam Tips

  • Use ALB for application-aware routing.
  • Use NLB for high-throughput and low-latency traffic.
  • Associate GWLB exclusively with security appliances and GENEVE encapsulation.

3. Connectivity and Deployment Patterns

PatternDescription
Internal ALB/NLBHandles private traffic within a VPC
Internet-facing ALB/NLBExposes applications to the public internet
Multi-region load balancingUses AWS Global Accelerator for optimal routing
Hybrid load balancingUses Route 53 to distribute traffic between on-premises and AWS

Exam Tips

  • Know when to deploy internal versus internet-facing load balancers.
  • Recognize Global Accelerator as the preferred solution for cross-region performance.
  • Understand Route 53’s role in hybrid and DNS-based routing.

4. Scaling Characteristics of AWS Load Balancers

Key Scaling Considerations

  • ALB scales automatically based on incoming request volume.
  • NLB scales elastically but requires correct subnet configuration.
  • Cross-Zone Load Balancing
    • Enabled by default on ALB.
    • Disabled by default on NLB but can be enabled for multi-AZ traffic distribution.

Connection Handling

  • ALB supports millions of requests per second.
  • NLB supports millions of concurrent connections with minimal latency.
  • GWLB scales dynamically alongside deployed security appliances.

Exam Tips

  • Understand default cross-zone behavior for ALB and NLB.
  • Recognize NLB as the optimal choice for massive connection volumes.

5. Integration with Other AWS Services

AWS ServicePurpose
AWS Global AcceleratorRoutes users to the nearest healthy ALB or NLB
Amazon CloudFrontCaches content before it reaches the load balancer
AWS WAFProtects ALB and CloudFront from Layer 7 attacks
Amazon Route 53DNS-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

  • Know how AWS WAF integrates with ALB for application-layer protection.
  • Understand CloudFront’s role in reducing load on ALB/NLB.
  • Be comfortable configuring ACM for TLS on ALB.

6. Load Balancer Configuration Options

ConfigurationDescriptionTypical Use
Proxy ProtocolPreserves client source IPNLB backends requiring client IP
Cross-Zone Load BalancingEvenly distributes traffic across AZsHigh-availability designs
Sticky SessionsMaintains session affinityStateful web applications
Routing AlgorithmsRound-robin, least outstanding requestsBackend performance optimization

Exam Tips

  • Use Proxy Protocol with NLB when source IP visibility is required.
  • Understand when sticky sessions are necessary and when to avoid them.

7. Target Group Configuration

Target TypeSupported Load BalancerUse Case
EC2 instancesALB, NLBTraditional compute workloads
IP addressesALB, NLBContainers, on-prem targets
Lambda functionsALB onlyServerless backends
GENEVE targetsGWLBSecurity appliance integration

Exam Tips

  • Remember that only ALB supports Lambda targets.
  • Associate GENEVE exclusively with Gateway Load Balancer.

8. Load Balancing for Kubernetes (Amazon EKS)

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

  • Know how ALB Ingress works with EKS.
  • Understand automatic provisioning through the Load Balancer Controller.

9. Encryption and Authentication Strategies

FeatureDescription
TLS terminationALB decrypts traffic at the load balancer
TLS passthroughNLB forwards encrypted traffic to backends
Mutual TLS (mTLS)Both client and server authenticate each other

Exam Tips

  • ALB supports TLS termination; NLB supports passthrough.
  • Recognize mTLS as a higher-security authentication model.

Key Exam Strategies

Approach Scenario-Based Questions Methodically

  • Determine whether Layer 4 or Layer 7 load balancing is required.
  • Look for global or hybrid keywords to differentiate Global Accelerator from Route 53.

Selecting the Right Load Balancer

RequirementRecommended Service
Web and API trafficApplication Load Balancer
High-performance, real-time trafficNetwork Load Balancer
Multi-region failoverAWS Global Accelerator
Security appliance trafficGateway Load Balancer

Final Exam Checklist

  • Understand the roles of ALB, NLB, GWLB, and Global Accelerator.
  • Know how load balancers integrate with Auto Scaling.
  • Be able to combine load balancers with Route 53, CloudFront, and AWS WAF.
  • Clearly distinguish TLS termination from TLS passthrough.
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

Hide picture