DBS-C01 · Question #367
A company's application team needs to select an AWS managed database service to store application and user data. The application team is familiar with MySQL but is open to new solutions. The…
The correct answer is C. Deploy an Amazon DynamoDB database with global tables. For an application requiring active-active multi-Region reads and writes, high scalability (thousands of transactions/second), sub-100ms latency, and key-value access patterns, Amazon DynamoDB with global tables is the optimal managed database solution.
Question
A company's application team needs to select an AWS managed database service to store application and user data. The application team is familiar with MySQL but is open to new solutions. The application and user data is stored in 10 tables and is de-normalized. The application will access this data through an API layer using a unique ID in each table. The company expects the traffic to be light at first, but the traffic will increase to thousands of transactions each second within the first year. The database service must support active reads and writes in multiple AWS Regions at the same time. Query response times need to be less than 100 ms. Which AWS database solution will meet these requirements?
Options
- ADeploy an Amazon RDS for MySQL environment in each Region and leverage AWS Database
- BDeploy an Amazon Aurora MySQL global database with write forwarding turned on.
- CDeploy an Amazon DynamoDB database with global tables.
- DDeploy an Amazon DocumentDB global cluster across multiple Regions.
How the community answered
(37 responses)- A30% (11)
- B16% (6)
- C46% (17)
- D8% (3)
Why each option
For an application requiring active-active multi-Region reads and writes, high scalability (thousands of transactions/second), sub-100ms latency, and key-value access patterns, Amazon DynamoDB with global tables is the optimal managed database solution.
Deploying Amazon RDS for MySQL in each Region with DMS replication would typically result in an active-passive write model or significant data consistency challenges for active-active writes, and may not consistently meet the low-latency and high-transactional requirements at global scale.
An Amazon Aurora MySQL global database with write forwarding allows secondary regions to forward writes to a single primary region, meaning it operates in an active-passive *write* configuration rather than truly active-active writes across multiple regions simultaneously.
Amazon DynamoDB with global tables provides a fully managed, multi-Region, active-active database that enables applications to perform both reads and writes to the same data in multiple AWS Regions simultaneously. It offers massive scalability, consistent low-latency (single-digit milliseconds) response times, and is ideal for de-normalized data accessed via unique IDs, directly fulfilling all critical requirements.
Amazon DocumentDB global clusters typically support an active-passive write model, where writes are directed to a single primary region, and replicas in other regions are read-only or rely on eventual consistency mechanisms that do not constitute active-active writes to the same data.
Concept tested: Multi-Region active-active read/write databases, scalability, low-latency, key-value access patterns
Source: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/GlobalTables.html
Topics
Community Discussion
No community discussion yet for this question.