DVA-C02 Question 167
Single answerYour company is building a serverless application using AWS Lambda and Amazon DynamoDB. The application requires high availability and fault tolerance for its data layer. To reduce latency and ensure durability, the team wants to ensure the DynamoDB table is resilient across multiple AWS Regions. Which feature or approach should you use to meet this requirement?
- A
Enable DynamoDB Streams to replicate data to another AWS Region.
- B
Use DynamoDB Global Tables to replicate data across multiple Regions.
- C
Use an Amazon S3 bucket to replicate the DynamoDB table data across Regions.
- D
Configure DynamoDB Auto Scaling to handle high availability across Regions.
Show answer and explanation
Correct answer: B
Explanation
DynamoDB Global Tables are specifically designed to provide multi-Region replication, ensuring that your data is synchronized and available across multiple AWS Regions. This feature is ideal for applications requiring low-latency access to data and high availability in the event of a Regional outage. Other options, like Streams or Auto Scaling, do not provide the required multi-Region replication and fault tolerance.
- A. Incorrect.
DynamoDB Streams provides a log of changes in your table, but it does not automatically replicate data across Regions. It is mainly used for triggers and event-driven applications.
- B. Correct.
DynamoDB Global Tables enable multi-Region, multi-active replication, ensuring high availability and fault tolerance by keeping tables in multiple Regions synchronized automatically.
- C. Incorrect.
Amazon S3 is a storage service and cannot be used to replicate DynamoDB table data. While S3 is highly durable, it is not a direct solution for DynamoDB table replication.
- D. Incorrect.
DynamoDB Auto Scaling adjusts throughput capacity within a single Region based on demand, but it does not provide cross-Region replication or fault tolerance.