DVA-C02 exam dumps

DVA-C02 practice question 67 of 399

AWS Certified Developer - Associate. Associate level, Amazon Web Services. Free question with the correct answer and a full explanation.

DVA-C02 Question 67

Single answer

You are developing an e-commerce application hosted on AWS. The application needs to store user session data, such as shopping cart contents, which are frequently accessed and updated. The session data must persist even if the application restarts, and the solution should minimize latency during retrieval and updates. Which AWS service is the most appropriate choice for managing this session data?

  1. A

    Amazon RDS

  2. B

    Amazon DynamoDB

  3. C

    Amazon ElastiCache

  4. D

    Amazon S3

Show answer and explanation

Correct answer: C

Explanation

Amazon ElastiCache is the most suitable choice for storing user session data in this scenario because it provides in-memory caching, which ensures extremely low latency for frequent access and updates. While other services like Amazon RDS and DynamoDB are capable of storing data, they are not optimized for the high-speed, low-latency requirements of session management. Amazon S3 is designed for object storage and is not appropriate for session data storage in this case.

  • A. Incorrect.

    Amazon RDS is a managed relational database service. While it can store session data, it is not optimized for high-speed, low-latency access required for session management.

  • B. Incorrect.

    Amazon DynamoDB is a fast and flexible NoSQL database service. However, for session data that requires extremely low latency and in-memory storage, ElastiCache is a better fit.

  • C. Correct.

    Amazon ElastiCache is an in-memory data store and caching service, ideal for storing session data due to its low latency and high performance.

  • D. Incorrect.

    Amazon S3 is an object storage service designed for scalability and durability. It is not suitable for storing frequently accessed and updated session data due to higher latency.

Timed practice exam

Take a DVA-C02 practice test under exam conditions

65 questions in 130 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam