AWS Certified Developer – Associate (DVA-C02) — Question 197
A company has an application that stores data in Amazon RDS instances. The application periodically experiences surges of high traffic that cause performance problems. During periods of peak traffic, a developer notices a reduction in query speed in all database queries.
The team’s technical lead determines that a multi-threaded and scalable caching solution should be used to offload the heavy read traffic. The solution needs to improve performance.
Which solution will meet these requirements with the LEAST complexity?
Answer options
- A. Use Amazon ElastiCache for Memcached to offload read requests from the main database.
- B. Replicate the data to Amazon DynamoDSet up a DynamoDB Accelerator (DAX) cluster.
- C. Configure the Amazon RDS instances to use Multi-AZ deployment with one standby instance. Offload read requests from the main database to the standby instance.
- D. Use Amazon ElastiCache for Redis to offload read requests from the main database.
Correct answer: A
Explanation
The correct answer is A because using Amazon ElastiCache for Memcached provides a straightforward and effective way to cache frequently accessed data, thereby reducing the load on the primary database with minimal setup complexity. Options B and D, while effective, introduce additional complexity or may not align with the requirement for minimal complexity. Option C does not effectively offload the read requests as it still relies on the standby instance rather than a dedicated caching solution.