Topic 1 Question 366
A developer is designing a fault-tolerant environment where client sessions will be saved.
How can the developer ensure that no sessions are lost if an Amazon EC2 instance fails?
Use sticky sessions with an Elastic Load Balancer target group.
Use Amazon SQS to save session data.
Use Amazon DynamoDB to perform scalable session handling.
Use Elastic Load Balancer connection draining to stop sending requests to failing instances.
ユーザの投票
コメント(3)
- 正解だと思う選択肢: C
Sticky sessions ensure that all requests from a particular client are sent to the same EC2 instance. While this can be useful for maintaining session state, it doesn't protect against data loss if an instance fails. If the instance holding a client's session fails, that session data would be lost.
C is Correct: Use Amazon DynamoDB to perform scalable session handling. If an EC2 instance fails, the session data stored in DynamoDB remains intact and can be accessed by other instances.
👍 3KennethNg9232024/08/21 - 正解だと思う選択肢: C
C is the best of the options provided
👍 2rdiaz2024/07/11 A : Sticky sessions — also known as session persistence — is the method that makes it possible for the load balancer to identify requests coming from the same client and to always send those requests to the same server.
👍 1lpennington2024/08/03
シャッフルモード