AWS Certified DevOps Engineer – ProfessionalResilient Cloud SolutionsMedium

A global e-commerce company uses Amazon DynamoDB for its product catalog, which experiences peak traffic during major sales events. The company needs to ensure that the application remains highly responsive and available globally, with low-latency reads and writes, even during regional outages. What is the most effective DynamoDB configuration to meet these requirements?

  1. ACreate independent DynamoDB tables in each region and use application-level logic for data synchronization.
  2. BConfigure DynamoDB Global Tables with multiple replica regions and on-demand capacity mode.
  3. CEnable DynamoDB Streams and use AWS Lambda to replicate data manually across multiple regions.
  4. DUse DynamoDB Auto Scaling for a single-region table and implement a custom failover mechanism with Route 53.
Show answer & explanation

Correct answer: B. Configure DynamoDB Global Tables with multiple replica regions and on-demand capacity mode.

DynamoDB Global Tables provide automated multi-region replication for high availability and disaster recovery, offering low-latency reads and writes to local replicas. On-demand capacity mode automatically adjusts to handle peak traffic without manual intervention.

Why the other options are wrong

  • A. Independent tables with application-level synchronization are difficult to manage, prone to conflicts, and do not offer the seamless global consistency of Global Tables.
  • C. Manual replication with Lambda is complex, error-prone, and doesn't provide built-in conflict resolution or low latency for global access.
  • D. A single-region table, even with Auto Scaling, is not resilient to regional outages and won't offer global low-latency access without complex custom solutions.

DynamoDB Global Tables

DynamoDB Global Tables provide a fully managed, multi-region, multi-master database solution that enables fast, local read and write performance for globally distributed applications, along with disaster recovery capabilities.

  • Built on DynamoDB Streams for automatic data replication.
  • Provides multi-master replication across specified AWS regions.
  • Ensures low-latency access for users worldwide.
  • Simplifies disaster recovery and global application deployment.

Memory trick: Global Tables link your data across continents, making every read feel local and every write instant.

More Resilient Cloud Solutions questions