Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
AWS Certified Advanced Networking - Specialty · AWS
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
To resolve this issue, the network engineer needs to enable session persistence in the Application Load Balancer (ALB) so that subsequent requests from the same client IP address are directed to the same target instance. This is known as "sticky sessions" or "session persistence." By enabling sticky sessions and using an application-based cookie, the ALB can direct all subsequent HTTP requests from a client with a specific IP address to the same EC2 instance that handled the initial request. This ensures that the user remains logged in without requiring them to re-enter their credentials for every new request.
C is correct!
Enabling stickiness at the target group level helps maintain session affinity for clients, directing them consistently to the same target within the target group. Using an application-based cookie for stickiness ensures that the session information is maintained based on the application's session management mechanism. Setting the duration to the maximum application session length ensures that the stickiness persists for the entire session. Option A suggests group-level stickiness, but it doesn't mention the use of application-based cookies, which are crucial for maintaining session information. Option B recommends replacing the ALB with a Network Load Balancer, which might not be necessary to address the session management issue. Option D suggests removing the ALB, which is not a viable solution for providing load balancing and SSL termination for web applications.