
Answer-first summary for fast verification
Answer: Use DynamoDB Accelerator (DAX).
## Explanation **Correct Answer: A - Use DynamoDB Accelerator (DAX)** **Why DAX is the best solution:** 1. **Purpose-built for DynamoDB**: DAX is specifically designed as an in-memory cache for DynamoDB, providing microsecond response times for read-heavy workloads. 2. **Least operational overhead**: DAX is fully managed by AWS and integrates seamlessly with DynamoDB. It requires minimal configuration changes to your application - you simply point your application to the DAX cluster instead of directly to DynamoDB. 3. **Microsecond latency**: DAX can reduce read latency from milliseconds to microseconds, meeting the performance requirement. 4. **Caching capability**: DAX automatically caches frequently accessed data, reducing the number of direct DynamoDB read operations. **Why the other options are incorrect:** **B. Migrate the database to Amazon Redshift**: - Redshift is a data warehouse designed for analytical queries, not for transactional workloads - Would require significant data migration and application changes - Not optimized for microsecond response times - Higher operational overhead **C. Migrate the database to Amazon RDS**: - RDS is a relational database service, not a NoSQL database like DynamoDB - Would require complete schema redesign and application changes - Typically has higher latency than DynamoDB with DAX - Significant operational overhead for migration **D. Use Amazon ElastiCache for Redis**: - While ElastiCache can provide caching, it's not specifically optimized for DynamoDB - Would require application code changes to implement caching logic - Higher operational overhead than DAX which is purpose-built for DynamoDB - Not as seamless integration as DAX **Key AWS Service Knowledge:** - **DAX**: In-memory cache for DynamoDB, reduces read latency to microseconds - **ElastiCache**: General-purpose in-memory caching service (Redis/Memcached) - **Redshift**: Data warehouse for analytics - **RDS**: Managed relational database service **Best Practice**: When using DynamoDB for read-heavy workloads requiring microsecond latency, DAX is the recommended solution due to its seamless integration and minimal operational overhead.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
A company deployed a serverless application that uses Amazon DynamoDB as a database layer. The application has experienced a large increase in users. The company wants to improve database response time from milliseconds to microseconds and to cache requests to the database.
Which solution will meet these requirements with the LEAST operational overhead?
A
Use DynamoDB Accelerator (DAX).
B
Migrate the database to Amazon Redshift.
C
Migrate the database to Amazon RDS.
D
Use Amazon ElastiCache for Redis.