
Explanation:
When a web application is hosted on multiple EC2 instances behind an ALB, if session data is stored locally on the instance (instead of a centralized store like DynamoDB or ElastiCache), a user might be prompted to log in if their next request is routed to a different instance.
Ultimate access to all questions.
Question 42.
A company deployed a new web application on multiple Amazon EC2 instances behind an Application Load Balancer (ALB). The EC2 instances run in an Auto Scaling group. Users report that they are frequently being prompted to log in. What should a SysOps administrator do to resolve this issue?
A
Configure an Amazon CloudFront distribution with the ALB as the origin.
B
Enable sticky sessions (session affinity) for the target group of EC2 instances.
C
Redeploy the EC2 instances in a spread placement group.
D
Replace the ALB with a Network Load Balancer.
E
None of the above.
F
None of the above.
No comments yet.