An international company has deployed a multi-tier web application that relies on DynamoDB in a
single region. For regulatory reasons they need disaster recovery capability in a separate region
with a Recovery Time Objective of 2 hours and a Recovery Point Objective of 24 hours. They
should synchronize their data on a regular basis and be able to provision the web application
rapidly using CloudFormation.
The objective is to minimize changes to the existing web application, control the throughput of
DynamoDB used for the synchronization of data, and synchronize only the modified elements.
Which design would you choose to meet these requirements?
A.
Use AWS Data Pipeline to schedule a DynamoDB cross region copy once a day, create a
“LastUpdated” attribute in your DynamoDB table that would represent the timestamp of the last
update and use it as a filter
B.
Use AWS Data Pipeline to schedule an export of the DynamoDB table to S3 in the current region
once a day, then schedule another task Immediately after it that will import data from S3 to
DynamoDB in the other region
C.
Use EMR and write a custom script to retrieve data from DynamoDB in the current region using a
SCAN operation and push it to DynamoDB in the second region
D.
Send also each write into an SQS queue in the second region, use an auto-scaling group behind
the SQS queue to replay the write in the second region
Explanation:
Export of dynamo DB is incremental and it will amend the backup with latest changes.
B
A
https://aws.amazon.com/blogs/aws/copy-dynamodb-data-between-regions-using-the-aws-data-pipeline/
A
Correct answer is A:
https://aws.amazon.com/blogs/aws/copy-dynamodb-data-between-regions-using-the-aws-data-pipeline/
–> see incremental copy
A is the right answer.
See here: https://aws.amazon.com/blogs/aws/copy-dynamodb-data-between-regions-using-the-aws-data-pipeline/
Option C is not the right answer because it is not incremental.
DynamoDB cross-region replication is a newer feature which is better approach than option A: https://aws.amazon.com/about-aws/whats-new/2015/07/amazon-dynamodb-available-now-cross-region-replication-triggers-and-streams/
Sorry, Option B is not the right answer because it is not incremental.