Topic 1 Question 392
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?
Configure an Amazon CloudFront distribution with the ALB as the origin.
Enable sticky sessions (session affinity) for the target group of EC2 instances.
Redeploy the EC2 instances in a spread placement group.
Replace the ALB with a Network Load Balancer.
ユーザの投票
コメント(3)
- 正解だと思う選択肢: B
B. Enable sticky sessions (session affinity) for the target group of EC2 instances.
Explanation:
When users are frequently prompted to log in, it might indicate that their requests are being directed to different instances, leading to a loss of session state.
Enabling sticky sessions (session affinity) ensures that requests from the same client are consistently directed to the same EC2 instance. This is important for applications that rely on maintaining session state.
👍 2LemonGremlin2023/12/29 - 正解だと思う選択肢: B
it looks like the best choice
👍 1WinAndWin2023/12/29 - 正解だと思う選択肢: B
Sticky sessions, also known as session affinity, help ensure that requests from the same user are consistently directed to the same backend server.
👍 1nharaz2024/01/01
シャッフルモード