AWS Certified SysOps Administrator – Associate (SOA-C03) — Question 37
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 CloudOps engineer take to resolve this problem? (Choose two.)
Answer options
- A. Change to the least outstanding requests algorithm on the ALB target group,
- B. Configure cookie forwarding in the CloudFront distribution cache behavior.
- C. Configure header forwarding in the CloudFront distribution cache behavior.
- D. Enable group-level stickiness on the ALB listener rule.
- E. Enable sticky sessions on the ALB target group
Correct answer: B, E
Explanation
The correct actions are B and E. Configuring cookie forwarding in CloudFront ensures that session cookies are passed to the backend, while enabling sticky sessions on the ALB target group helps maintain user sessions with the same instance. The other options do not directly address the session management issues related to user logouts.