
Explanation:
To resolve the forced logout issue, the Application Load Balancer (ALB) sticky sessions must be tied to the application's own session cookie rather than a duration-based cookie (Option E). This ensures that the ALB respects the application's actual session state and timeout. Additionally, because Amazon CloudFront is in front of the ALB, it must be configured to forward the cookies to the origin (the ALB) so that the application cookie is not dropped and sticky sessions can function properly (Option B).
Ultimate access to all questions.
Question 8
Users are reporting consistent forced logouts from a stateful web application. The logouts occur before the expiration of a 15-minute application logout timer. The web application is hosted on Amazon EC2 instances that are in an Auto Scaling group. The instances run behind an Application Load Balancer (ALB) that has a single target group. The ALB is configured as the origin in an Amazon CloudFront distribution. Session affinity (sticky sessions) is already enabled on the ALB target group and uses duration-based cookies. The web application generates its own application cookie. Which combination of actions should a SysOps administrator take to resolve the logout problem? (Choose two.)
A
Change to the least outstanding requests algorithm on the ALB target group.
B
Configure cookie forwarding in the CloudFront distribution's cache behavior settings.
C
Configure the duration-based cookie to be named AWSALB.
D
Configure the ALB to use the expiration cookie header.
E
Change the ALB to use application-based cookies.
No comments yet.