0
0
DynamoDBquery~10 mins

Cross-region replication (Global Tables) in DynamoDB - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to create a global table with replication in two regions.

DynamoDB
aws dynamodb create-global-table --global-table-name MyGlobalTable --replication-group RegionName=[1] RegionName=us-west-2
Drag options to blanks, or click blank then click option'
Aus-east-1
Bap-south-1
Ceu-west-1
Dsa-east-1
Attempts:
3 left
💡 Hint
Common Mistakes
Using an invalid region code.
Confusing region codes with availability zones.
2fill in blank
medium

Complete the code to add a replica region to an existing global table.

DynamoDB
aws dynamodb update-global-table --global-table-name MyGlobalTable --replica-updates Create=RegionName=[1]
Drag options to blanks, or click blank then click option'
Aeu-central-1
Bap-northeast-1
Cus-west-2
Dca-central-1
Attempts:
3 left
💡 Hint
Common Mistakes
Omitting the RegionName= prefix.
Using an unsupported region.
3fill in blank
hard

Fix the error in the command to describe a global table's replication status.

DynamoDB
aws dynamodb describe-global-table --global-table-name [1]
Drag options to blanks, or click blank then click option'
AMyGlobalTable
Bmyglobaltable
CMy_Global_Table
DGlobalTable1
Attempts:
3 left
💡 Hint
Common Mistakes
Using incorrect capitalization.
Using underscores instead of camel case.
4fill in blank
hard

Fill both blanks to update the global table and remove a replica region.

DynamoDB
aws dynamodb update-global-table --global-table-name [1] --replica-updates Remove=RegionName=[2]
Drag options to blanks, or click blank then click option'
AMyGlobalTable
Bus-west-2
Ceu-west-1
Dap-northeast-2
Attempts:
3 left
💡 Hint
Common Mistakes
Using a region not part of the global table replicas.
Misspelling the table name.
5fill in blank
hard

Fill all three blanks to create a global table with two replica regions and specify the billing mode.

DynamoDB
aws dynamodb create-global-table --global-table-name [1] --replication-group RegionName=[2] RegionName=[3] --billing-mode PAY_PER_REQUEST
Drag options to blanks, or click blank then click option'
AMyGlobalTable
Bus-east-1
Ceu-west-1
Dus-west-1
Attempts:
3 left
💡 Hint
Common Mistakes
Using invalid or unsupported region codes.
Omitting the billing mode parameter.