Bird
0
0

You configured an ALB with a rule to forward requests with header 'X-App-Version: v2' to target group tg2. However, requests with this header are still going to tg1. What is the likely error?

medium📝 Debug Q6 of 15
AWS - Elastic Load Balancing
You configured an ALB with a rule to forward requests with header 'X-App-Version: v2' to target group tg2. However, requests with this header are still going to tg1. What is the likely error?
AHeader condition is case-sensitive and mismatched
BTarget group tg2 is not healthy
CALB does not support header-based routing
DListener port is incorrect
Step-by-Step Solution
Solution:
  1. Step 1: Check ALB header routing rules

    ALB header matching is case-sensitive for header names and values.
  2. Step 2: Identify mismatch in header case

    If header name or value case differs, rule won't match, so request goes to default tg1.
  3. Final Answer:

    Header condition is case-sensitive and mismatched -> Option A
  4. Quick Check:

    Header routing is case-sensitive = mismatch causes fallback [OK]
Quick Trick: Header names and values are case-sensitive in ALB rules [OK]
Common Mistakes:
MISTAKES
  • Assuming ALB ignores header case
  • Blaming target group health without checking rules

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes