Bird
0
0

You need to design a load balancing solution that supports both ultra-low latency TCP connections and HTTP request routing based on URL paths. What is the best approach?

hard📝 Architecture Q9 of 15
AWS - Elastic Load Balancing
You need to design a load balancing solution that supports both ultra-low latency TCP connections and HTTP request routing based on URL paths. What is the best approach?
AUse a Network Load Balancer for TCP traffic and an Application Load Balancer for HTTP routing
BUse only an Application Load Balancer configured for both TCP and HTTP
CUse a Classic Load Balancer for all traffic types
DUse a Network Load Balancer with HTTP listeners for path-based routing
Step-by-Step Solution
Solution:
  1. Step 1: Analyze requirements

    Ultra-low latency TCP connections require NLB; HTTP path-based routing requires ALB.
  2. Step 2: Evaluate load balancer capabilities

    ALB supports HTTP routing but not optimized for TCP at scale; NLB supports TCP but not HTTP path routing.
  3. Step 3: Architect solution

    Combine NLB for TCP and ALB for HTTP routing to meet both needs effectively.
  4. Final Answer:

    Use a Network Load Balancer for TCP traffic and an Application Load Balancer for HTTP routing -> Option A
  5. Quick Check:

    Separate load balancers for TCP and HTTP routing [OK]
Quick Trick: Combine NLB for TCP and ALB for HTTP routing [OK]
Common Mistakes:
  • Expecting ALB to handle ultra-low latency TCP connections
  • Using NLB for HTTP path-based routing
  • Relying on Classic Load Balancer for complex routing needs

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes