AWS Certified Solutions Architect – Associate (SAA-C03) — Question 198
A solutions architect is designing the architecture of a new application being deployed to the AWS Cloud. The application will run on Amazon EC2 On-Demand Instances and will automatically scale across multiple Availability Zones. The EC2 instances will scale up and down frequently throughout the day. An Application Load Balancer (ALB) will handle the load distribution. The architecture needs to support distributed session data management. The company is willing to make changes to code if needed.
What should the solutions architect do to ensure that the architecture supports distributed session data management?
Answer options
- A. Use Amazon ElastiCache to manage and store session data.
- B. Use session affinity (sticky sessions) of the ALB to manage session data.
- C. Use Session Manager from AWS Systems Manager to manage the session.
- D. Use the GetSessionToken API operation in AWS Security Token Service (AWS STS) to manage the session.
Correct answer: A
Explanation
The correct answer is A because using Amazon ElastiCache provides a robust solution for managing and storing session data in a distributed manner, which is essential for the architecture described. Option B would not be suitable as sticky sessions can lead to uneven load distribution and fail to support scaling effectively. Options C and D do not directly address distributed session data management for the application as required.