CLF-C02 Question 196
Single answerYour company is designing a high-performance application that requires ultra-low latency for caching frequently accessed data. Which AWS service is best suited for this use case as a memory-based database?
- A
Amazon RDS
- B
Amazon ElastiCache
- C
Amazon S3
- D
Amazon DynamoDB
Show answer and explanation
Correct answer: B
Explanation
Amazon ElastiCache is the correct answer because it is specifically designed as an in-memory data store and caching layer, which provides ultra-low latency access to frequently used data. It supports Redis and Memcached, two popular memory-based database engines, making it the best choice for this scenario.
- A. Incorrect.
Amazon RDS is a relational database service and is not designed primarily for in-memory caching. It is used for structured data and supports traditional database engines like MySQL and PostgreSQL.
- B. Correct.
Amazon ElastiCache is a memory-based database service designed for ultra-low latency use cases. It supports in-memory caching with Redis or Memcached, making it ideal for applications that require fast access to frequently accessed data.
- C. Incorrect.
Amazon S3 is an object storage service and is not suitable for in-memory caching or low-latency database needs. It is optimized for scalable storage, not performance-sensitive caching.
- D. Incorrect.
Amazon DynamoDB is a NoSQL database service that provides low-latency performance but is not primarily a memory-based database. While it is optimized for speed, it operates on disk rather than exclusively in memory.