A digital marketing platform is launching a real-time bidding and analytics engine. The system must process ad request queries with sub-millisecond read latency for user profiles. Additionally, the system needs to persist bid transaction logs, which experience highly unpredictable, spiky write traffic. A solutions architect is designing a high-performing, scalable database architecture to support these requirements.
Which combination of database configurations will meet these requirements? (Select TWO.)
- Use Amazon DynamoDB with Amazon DynamoDB Accelerator (DAX) to store and serve user profile data.Answer
- Configure Amazon DynamoDB with On-Demand capacity mode to store bid transaction logs.Answer
- CUse Amazon DynamoDB with a partition key based on monotonically increasing transaction timestamps to store bid transaction logs.
- DDeploy an Amazon RDS PostgreSQL database with a read replica in a different Availability Zone to handle transaction logging and act as the primary write destination during failover.
- EConfigure Amazon DynamoDB with Provisioned Capacity Mode and set static Read and Write Capacity Units to handle the bid transaction logs.
Answer
Use Amazon DynamoDB with Amazon DynamoDB Accelerator (DAX) to store and serve user profile data, and configure Amazon DynamoDB with On-Demand capacity mode to store bid transaction logs.
The correct architecture uses DynamoDB Accelerator (DAX) to deliver the required sub-millisecond (microsecond-level) read latency for user profiles by serving reads from an in-memory cache. Simultaneously, configuring DynamoDB with On-Demand capacity mode ensures that the system handles highly unpredictable, spiky write traffic for bid transaction logs without manual capacity management or performance throttling.
Step-by-Step Solution
Key Concept
High-performing database architectures leverage caching (like DAX) for microsecond read latency and dynamic scaling modes (like DynamoDB On-Demand) to handle spiky, unpredictable write traffic without performance bottlenecks.
Estimated Time:2m 0s