Which combination of actions should a SysOps administrator take to resolve this problem?
(Choose two.)
Change to the least outstanding requests algorithm on the ALB target group.
Configure cookie forwarding in the CloudFront distribution cache behavior.
Configure header forwarding in the CloudFront distribution cache behavior.
Enable group-level stickiness on the ALB listener rule.
Enable sticky sessions on the ALB target group.
Explanations:
Changing to the least outstanding requests algorithm on the ALB target group helps with load balancing efficiency but does not directly address the issue of random logouts caused by session management or stickiness.
Configuring cookie forwarding in the CloudFront distribution cache behavior ensures that session cookies are passed along with requests, allowing the application to maintain session state and preventing random logouts.
Configuring header forwarding may be useful for other application requirements but does not specifically address session management or help maintain user state to prevent random logouts.
Enabling group-level stickiness on the ALB listener rule would allow sessions to be sticky at the group level, but this option is not the preferred method for managing sessions and may not resolve the logout issue effectively compared to other options.
Enabling sticky sessions on the ALB target group allows the ALB to route requests from the same user to the same instance based on session cookies, helping to maintain user sessions and prevent random logouts.