
Explanation:
CloudFront by default doesn't forward cookies, so sticky session cookies from ALB aren't passed, causing logouts. Configure CloudFront to forward cookies. Also, duration-based uses AWSALB cookie, but for stateful apps, application-based cookies (AWSALBAPP) with custom names are better to avoid conflicts and ensure proper stickiness beyond default 15 min or so.
Ultimate access to all questions.
Users are being logged out of a stateful web app before the 15-minute timer expires. The app uses ALB with sticky sessions (duration-based cookies) behind CloudFront. Which TWO actions resolve the logout problem?
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.