Bird
0
0

How can you ensure sticky sessions (session affinity) with an ALB when routing to multiple targets in a target group?

hard📝 Application Q9 of 15
AWS - Elastic Load Balancing
How can you ensure sticky sessions (session affinity) with an ALB when routing to multiple targets in a target group?
ADisable health checks on targets
BConfigure DNS round-robin for targets
CUse Network Load Balancer instead of ALB
DEnable ALB cookie-based stickiness on the target group
Step-by-Step Solution
Solution:
  1. Step 1: Identify session stickiness method

    ALB supports sticky sessions using cookie-based stickiness configured on target groups.
  2. Step 2: Enable cookie stickiness

    Enable this feature to bind user sessions to specific targets.
  3. Final Answer:

    Enable ALB cookie-based stickiness on the target group -> Option D
  4. Quick Check:

    Sticky sessions = ALB cookie stickiness enabled [OK]
Quick Trick: Enable cookie stickiness on ALB target group for session affinity [OK]
Common Mistakes:
  • Using DNS round-robin which lacks session affinity
  • Disabling health checks mistakenly

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes