Q70 — AWS DVA-C02 Ch.3

Question 70 of 100 | ← Chapter 3

A developer needs to implement caching to store frequently accessed query results from an Amazon RDS for MySQL database. The data to be cached includes sets and sorted sets. How should the developer implement caching to achieve the lowest latency?

Correct Answer: B. Create an Amazon ElastiCache cluster for Redis. Use a Redis client library to cache data.

Explanation

Redis is better suited than Memcached for storing complex data structures such as sets and sorted sets, and offers lower latency. It provides richer data types and operations, better meeting the application’s requirements. Creating an Amazon ElastiCache cluster for Redis and using a Redis client library to cache data effectively achieves the lowest possible latency. Memcached is less efficient for complex data structures, and DynamoDB is typically used for different use cases. Therefore, Option B is correct. 【Lantern Certification: swufelp1999】