Complete the code to create a global table with replication in two regions.
aws dynamodb create-global-table --global-table-name MyGlobalTable --replication-group RegionName=[1] RegionName=us-west-2
The us-east-1 region is commonly used as the primary region when creating global tables.
Complete the code to add a replica region to an existing global table.
aws dynamodb update-global-table --global-table-name MyGlobalTable --replica-updates Create=RegionName=[1]RegionName= prefix.Adding us-west-2 as a replica region allows replication between US East and US West regions.
Fix the error in the command to describe a global table's replication status.
aws dynamodb describe-global-table --global-table-name [1]The table name is case-sensitive and must match exactly as created, which is MyGlobalTable.
Fill both blanks to update the global table and remove a replica region.
aws dynamodb update-global-table --global-table-name [1] --replica-updates Remove=RegionName=[2]
To remove a replica, specify the correct table name and the region to remove, here us-west-2.
Fill all three blanks to create a global table with two replica regions and specify the billing mode.
aws dynamodb create-global-table --global-table-name [1] --replication-group RegionName=[2] RegionName=[3] --billing-mode PAY_PER_REQUEST
This command creates a global table named MyGlobalTable with replicas in us-east-1 and eu-west-1, using on-demand billing.