AWS Certified SysOps Administrator – Associate — Question 10

A company has a stateful web application that is hosted on Amazon EC2 instances 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. Users are reporting random logouts from the web application.
Which combination of actions should a SysOps administrator take to resolve this problem? (Choose two.)

Answer options

Correct answer: B, E

Explanation

Configuring cookie forwarding in the CloudFront distribution cache behavior ensures that session cookies are passed to the ALB, maintaining user sessions and preventing logouts. Additionally, enabling sticky sessions on the ALB target group allows user requests to be consistently routed to the same EC2 instance, further supporting session continuity. The other options do not directly address the session management issues causing the logouts.