AWS Certified Database – Specialty — Question 234
A company wants to implement a design that includes multiple AWS Regions to support disaster recovery for its application. The company currently has a static website that is hosted on Amazon S3 and Amazon CloudFront. The application connects to an existing Amazon DynamoDB database in the us-east-1 Region. The DynamoDB table was recently created and was initialized with a large amount of company data. The company wants to replicate the database in real time to the us-west-2 Region.
A database specialist needs to perform the replication, which must include all existing table data and any new data that is added in the future, in an automated way.
Which solution will meet these requirements?
Answer options
- A. Enable DynamoDB streams. Configure streams for new and old images. Create a global table replica in us-west-2. Monitor the progress of the replication until the status changes to Active.
- B. Create global table replica in us-west-2. Monitor the progress of the replication until the status changes to Active.
- C. Enable DynamoDB streams. Configure streams for new and old images. Create a global table replica in us-west-2. Copy all existing data from us-east-1 to us-west-2 by using an export and batch import.
- D. Create a global table replica in us-west-2. Copy all existing data from us-east-1 to us-west-2 by using an export and batch import.
Correct answer: A
Explanation
The correct answer is A because enabling DynamoDB streams is necessary to capture real-time changes and data modifications for the global table replica. Options B and D do not include the needed stream configuration to automate the replication of new data. Option C requires a manual export and import of existing data, which does not fulfill the requirement for real-time replication.