Skip to Content

AWS Builder Labs: Automatic Multi-Region Replication with Amazon DynamoDB Global Tables

Learn how Amazon DynamoDB global tables provide automatic, full replication of tables across multiple AWS regions for low-latency global access and disaster recovery.

Table of Contents

Question

Which statement about global tables is true?

A. With a global table, Amazon DynamoDB supports partial replication of some of the items in a table.
B. When a global table is created, Amazon DynamoDB performs all necessary tasks to create identical tables and propagate ongoing data changes to specified Regions.
C. Global tables use Amazon Simple Storage Service (Amazon S3) to propagate changes between replicas.
D. Global tables provide a managed solution for replicating tables within a single AWS Region.

Answer

B. When a global table is created, Amazon DynamoDB performs all necessary tasks to create identical tables and propagate ongoing data changes to specified Regions.

Explanation

When developers create table, they specify the AWS Regions where they want the table to be available. Then, DynamoDB performs all of the necessary tasks to create identical tables and propagate updated data.

B is the correct answer. When you create a global table, Amazon DynamoDB automatically performs all the necessary tasks to create identical tables in the AWS regions you specify and propagate ongoing data changes between them.

Some key facts about DynamoDB global tables:

  • Global tables provide full replication of all items in a table across multiple AWS regions, not partial replication of only some items (ruling out option A).
  • DynamoDB directly handles the multi-region replication using its own internal mechanisms. It does not rely on Amazon S3 to propagate changes between replica tables (ruling out option C).
  • Global tables are designed for deploying a multi-region, globally distributed application, not for replicating within a single AWS region (ruling out option D).

In summary, DynamoDB global tables provide a fully managed solution for deploying a multi-region, multi-master database. DynamoDB performs the work to create identical tables in specified regions and automatically propagate writes to all replica tables, enabling low-latency global reads and writes and disaster recovery. The replication is automatic, covers all table data, and is handled directly by DynamoDB.

AWS Builder Labs EDBLDRv1EN-US assessment question and answer (Q&A) dump with detail explanation and reference available free, helpful to pass the AWS Builder Labs EDBLDRv1EN-US assessment and earn AWS Builder Labs EDBLDRv1EN-US badge.