AWS Certified Developer – Associate (DVA-C02) — Question 528

A developer is writing an application that will run on Amazon EC2 instances in an Auto Scaling group. The developer wants to externalize the session state to support the application.

Which AWS services or resources can the developer use to meet these requirements? (Choose two.)

Answer options

Correct answer: A, C

Explanation

Amazon ElastiCache and Amazon DynamoDB are ideal for externalizing session state because they provide high-throughput, low-latency data storage required for session management in distributed systems. Amazon Cognito is designed for user authentication, while Amazon SQS is a message queue and an Application Load Balancer routes traffic (with sticky sessions retaining state locally rather than externalizing it).