Architecture Design and Implementation Built for the Cloud

Which approach lets any application instance serve subsequent requests without relying on session data stored by a previous instance?

Show the answer

Correct answerA. Store sessions in a shared Amazon ElastiCache cache

AWhy this is right: Shared session storage makes session data accessible independently of the instance handling a request.

BWhy not this: Stickiness retains dependence on the instance that holds the session.

CWhy not this: Process memory is local to an application instance and is lost when that process ends.

DWhy not this: An instance's attached volume does not provide a shared session store for arbitrary application instances.

A shared ElastiCache cache externalizes session state so application instances can retrieve it independently. Load balancer stickiness routes requests to the same instance but leaves the application dependent on that instance's state.