Q100 — AWS DVA-C02 Ch.2

Question 100 of 100 | ← Chapter 2

An application runs behind multiple EC2 instances managed by an Elastic Load Balancing (ELB) load balancer. To reliably track session data across multiple requests, where should the session data be stored?

Correct Answer: A. Write the data to Amazon ElastiCache.

Explanation

Amazon ElastiCache is a managed in-memory caching service ideal for reliable, high-performance session data storage shared across multiple EC2 instances. Options B, C, and D involve storage types less suitable for scalable, shared, and persistent session state—EBS volumes are instance-attached and not inherently shared; instance store is ephemeral; and the root file system is local to each instance and not synchronized.