DVA-C02 exam dumps

DVA-C02 practice question 390 of 399

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

DVA-C02 Question 390

Single answer

Your application uses an Amazon RDS database to fetch frequently accessed, read-only data. The application is experiencing high latency due to repeated database queries, and you want to improve performance by integrating a caching layer. Which AWS service would be the most appropriate choice to implement this caching solution?

  1. A

    Amazon ElastiCache

  2. B

    AWS Lambda

  3. C

    Amazon S3

  4. D

    Amazon DynamoDB

Show answer and explanation

Correct answer: A

Explanation

Amazon ElastiCache is the best choice for implementing a caching solution in this scenario because it provides an in-memory data store, reducing the need to query the database repeatedly for the same data. This leads to improved application performance and reduced latency. Other options like AWS Lambda and Amazon S3 are not designed for caching, and Amazon DynamoDB is a database service, not a caching layer.

  • A. Correct.

    Amazon ElastiCache is specifically designed to provide an in-memory caching layer, which is ideal for reducing database query latency by storing frequently accessed data in memory.

  • B. Incorrect.

    AWS Lambda is a serverless compute service and is not designed for caching purposes. It is used for running code in response to events, not for reducing database query latency.

  • C. Incorrect.

    Amazon S3 is an object storage service, and while it can store data, it is not suitable for in-memory caching to address database query latency.

  • D. Incorrect.

    Amazon DynamoDB is a NoSQL database service, not specifically a caching solution. While it is fast, it is not designed to act as a caching layer for RDS databases.

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