Table of Contents
Question
A company is using an Amazon DynamoDB table for data. A SysOps administrator must configure replication of the table to another AWS Region for disaster recovery. What should the SysOps administrator do to meet this requirement?
A. Enable DynamoDB Accelerator (DAX).
B. Enable DynamoDB Streams, and add a global secondary index (GSI).
C. Enable DynamoDB Streams, and add a global table Region.
D. Enable point-in-time recovery.
Answer
C. Enable DynamoDB Streams, and add a global table Region.
Explanation
The correct answer is C. Enable DynamoDB Streams, and add a global table Region.
Explanation:
Amazon DynamoDB is a fully managed NoSQL database service that provides fast and consistent performance, scalability, and durability. DynamoDB supports replication of data across multiple AWS Regions for disaster recovery, high availability, and low latency. DynamoDB replication is achieved by using global tables, which are a collection of DynamoDB tables that share the same name and primary key schema, but are located in different Regions.
To create a global table, you need to enable DynamoDB Streams on the source table, which is a feature that captures data modification events in the table, such as insertions, updates, or deletions. You also need to add a global table Region, which is the destination Region where you want to replicate the data. You can add up to 15 global table Regions for each source table. DynamoDB will automatically propagate the data changes from the source table to the global table Regions using the DynamoDB Streams data.
To enable DynamoDB Streams and add a global table Region, you can use the AWS Management Console, AWS CLI, or AWS SDKs. You can also monitor the replication status and metrics using the AWS Management Console or CloudWatch.
By using this solution, you can configure replication of the DynamoDB table to another AWS Region for disaster recovery. This solution meets the requirement of the company, as it allows them to have a consistent and up-to-date copy of their data in another Region, which can be used in case of a failure or outage in the source Region. This solution is also the most operationally efficient one, as it does not require them to use any additional services or tools. It also leverages the existing functionality and scalability of DynamoDB and DynamoDB Streams.
The other options are not correct for the following reasons:
A. Enable DynamoDB Accelerator (DAX).
This option is not correct, as DAX is a service that provides in-memory caching for DynamoDB tables, which can improve the read performance and reduce the latency of your applications. However, DAX does not provide replication of data across multiple AWS Regions for disaster recovery. DAX clusters are located in a single Region and are associated with a single DynamoDB table.
B. Enable DynamoDB Streams, and add a global secondary index (GSI).
This option is not correct, as GSI is a feature that allows you to create an alternate key schema for your DynamoDB table, which can improve the query performance and flexibility of your applications. However, GSI does not provide replication of data across multiple AWS Regions for disaster recovery. GSI are local to a single Region and are associated with a single DynamoDB table.
D. Enable point-in-time recovery.
This option is not correct, as point-in-time recovery is a feature that allows you to restore your DynamoDB table to any point in time within the last 35 days, which can help you recover from accidental writes or deletes of your data. However, point-in-time recovery does not provide replication of data across multiple AWS Regions for disaster recovery. Point-in-time recovery is local to a single Region and is associated with a single DynamoDB table.
Reference
- Global tables – multi-Region replication for DynamoDB – Amazon DynamoDB
- Resilience and disaster recovery in Amazon DynamoDB – Amazon DynamoDB
- Learn how to restore your DynamoDB table to a different Region | AWS re:Post (repost.aws)
- Cross-account replication with Amazon DynamoDB | AWS Database Blog
- what is DynamoDB’s replication type? – Stack Overflow
- amazon web services – DynamoDB replication across AWS accounts – Stack Overflow
Amazon AWS Certified SysOps Administrator – Associate certification exam practice question and answer (Q&A) dump with detail explanation and reference available free, helpful to pass the Amazon AWS Certified SysOps Administrator – Associate exam and earn Amazon AWS Certified SysOps Administrator – Associate certification.