Question #679
A real-time multiplayer gaming platform uses Amazon DynamoDB as its backend database, configured in on-demand capacity mode. The development team needs to optimize the platform for minimal latency while ensuring high availability. Which solution meets these requirements with the LEAST latency?
Create a two-node DynamoDB Accelerator (DAX) cluster. Configure the application to read and write data by using DAX.
Create a three-node DynamoDB Accelerator (DAX) cluster. Configure the application to read data by using DAX and to write data directly to the DynamoDB table.
Create a single-node DynamoDB Accelerator (DAX) cluster. Configure the application to read data by using DAX and to write data directly to the DynamoDB table.
Create a three-node DynamoDB Accelerator (DAX) cluster. Configure the application to read and write data by using DAX.
Explanation
The correct answer is B. DAX reduces read latency by caching frequently accessed data. Writing directly to DynamoDB avoids the additional latency of routing writes through DAX. A three-node DAX cluster ensures high availability, unlike a single-node cluster (Option C). Options A and D route writes through DAX, adding unnecessary latency. Separating reads (via DAX) and writes (direct to DynamoDB) optimizes both operations. Key points: DAX improves read latency, direct writes reduce write latency, and multi-node clusters ensure high availability.
Answer
The correct answer is: B