AWS Certified Developer – Associate — Question 7
An application runs on multiple EC2 instances behind an ELB.
Where is the session data best written so that it can be served reliably across multiple requests?
Answer options
- A. Write data to Amazon ElastiCache.
- B. Write data to Amazon Elastic Block Store.
- C. Write data to Amazon EC2 Instance Store.
- D. Write data to the root filesystem.
Correct answer: A
Explanation
The correct answer is A, as Amazon ElastiCache provides a distributed caching solution that allows session data to be shared across multiple instances, ensuring reliability and quick access. Options B, C, and D are not suitable because Elastic Block Store and Instance Store are tied to specific instances, and the root filesystem is not designed for shared access across multiple servers.