SOA-C02 · Question #615
Users are reporting consistent forced logouts from a stateful web application. The web application is hosted on Amazon EC2 instances that are in an Auto Scaling group. The instances run behind an…
The correct answer is B. Configure cookie forwarding in the CloudFront distribution's cache behavior settings. D. Enable group-level stickiness on the ALB listener rule for the target groups. Configuring cookie forwarding in CloudFront ensures that session cookies are passed from the client to the origin (the ALB) and back, which is essential for maintaining session state in a stateful application. Enabling group-level stickiness on the ALB helps ensure that users…
Question
Users are reporting consistent forced logouts from a stateful web application. 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 multiple target groups with one listener rule. The ALB is configured as the origin in an Amazon CloudFront distribution. Which combination of actions should a SysOps administrator take to resolve the logout problem? (Choose two.)
Options
- AChange to the least outstanding requests algorithm on the ALB target group.
- BConfigure cookie forwarding in the CloudFront distribution's cache behavior settings.
- CConfigure header forwarding in the CloudFront distribution's cache behavior settings.
- DEnable group-level stickiness on the ALB listener rule for the target groups.
- EConfigure weighted target groups on the ALB.
How the community answered
(28 responses)- A14% (4)
- B75% (21)
- C4% (1)
- E7% (2)
Explanation
Configuring cookie forwarding in CloudFront ensures that session cookies are passed from the client to the origin (the ALB) and back, which is essential for maintaining session state in a stateful application. Enabling group-level stickiness on the ALB helps ensure that users are consistently routed to the same EC2 instance, which is important for maintaining user sessions and preventing forced logouts due to requests being sent to different instances.
Topics
Community Discussion
No community discussion yet for this question.