ANS-C01 Network Implementation Practice Question
A company wants to deploy a web application on EC2 instances behind an Application Load Balancer (ALB). The application must support sticky sessions (session affinity). What configuration is required on the ALB?
⚠ Common exam trap
A common mix-up: candidates confuse target group-level stickiness with listener-level routing rules (path-based) or connection metadata protocols (Proxy Protocol), leading candidates to select options that address different ALB features.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Enable stickiness on the target group and specify a cookie duration
Sticky sessions (session affinity) are enabled at the target group level on an Application Load Balancer. By enabling stickiness and specifying a cookie duration, the ALB generates a session cookie (AWSALB) that binds a client's session to a specific target for the duration, ensuring subsequent requests from the same client are routed to the same EC2 instance.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Enable stickiness on the target group and specify a cookie duration
Why this is correct
Stickiness (session affinity) ensures the same client is routed to the same target.
- ✗
Use path-based routing
Why it's wrong here
Path-based routing directs traffic based on URL path, not for stickiness.
- ✗
Configure health checks on the target group
Why it's wrong here
Health checks are for monitoring target health, not for stickiness.
- ✗
Enable proxy protocol v2
Why it's wrong here
Proxy protocol adds client IP information but does not provide stickiness.
Go deeper
Related to this question
About these practice questions
This ANS-C01 question is part of Courseiva's 1,621-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This ANS-C01 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the ANS-C01 exam.