Bird
0
0

You have a microservices app requiring routing based on HTTP headers and need to preserve client IP addresses. Which load balancer setup best fits this?

hard📝 Architecture Q8 of 15
AWS - Elastic Load Balancing
You have a microservices app requiring routing based on HTTP headers and need to preserve client IP addresses. Which load balancer setup best fits this?
AUse NLB with HTTP listeners
BUse NLB with proxy protocol enabled
CUse ALB with TCP listeners
DUse ALB with X-Forwarded-For header enabled
Step-by-Step Solution
Solution:
  1. Step 1: Identify routing needs

    Routing based on HTTP headers requires ALB, which supports advanced HTTP routing.
  2. Step 2: Preserve client IP

    ALB preserves client IP using the X-Forwarded-For header.
  3. Final Answer:

    Use ALB with X-Forwarded-For header enabled -> Option D
  4. Quick Check:

    HTTP header routing + client IP = ALB + X-Forwarded-For [OK]
Quick Trick: ALB + X-Forwarded-For for HTTP header routing [OK]
Common Mistakes:
  • Using NLB for HTTP header routing
  • Enabling proxy protocol on ALB
  • Confusing listener protocols

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes