Question

Difficulty: EasyHigh-Performing Database Solutions

A solutions architect is designing a high-performance web application that stores user session data. The application requires a database solution that can deliver sub-millisecond response times for read operations. Which database solution should the solutions architect implement to meet these performance requirements?

  1. Amazon DynamoDB with DynamoDB Accelerator (DAX)Answer
  2. B
    Amazon DynamoDB with a partition key based on a monotonically increasing timestamp
  3. C
    Amazon RDS for MySQL with a read replica configured as the primary automatic failover target
  4. D
    Amazon DynamoDB configured with provisioned capacity mode to handle highly unpredictable and spiky workloads

Answer

Amazon DynamoDB with DynamoDB Accelerator (DAX)
The database solution using Amazon DynamoDB with DynamoDB Accelerator (DAX) is correct because DAX is a fully managed, in-memory cache for DynamoDB that delivers microsecond response times for read-heavy workloads, satisfying the sub-millisecond latency requirement for session data.

Step-by-Step Solution

1
Analyze the performance and latency requirements of the database.
The application requires sub-millisecond read latency for user session data.
Identifying the target latency helps narrow down database options to in-memory caching solutions.
2
Evaluate Amazon DynamoDB configurations for sub-millisecond read latency.
Standard DynamoDB latency is single-digit milliseconds, but adding DynamoDB Accelerator (DAX) reduces read latency to microseconds.
DAX provides a fully managed, highly available in-memory cache built specifically for Amazon DynamoDB.

Key Concept

Sub-millisecond caching for DynamoDB
Rate this question