0
0
DynamoDBquery~10 mins

First table creation 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 specify the table name when creating a DynamoDB table.

DynamoDB
TableName='[1]',
Drag options to blanks, or click blank then click option'
AUsers
BCreateTable
CTable
DDatabase
Attempts:
3 left
💡 Hint
Common Mistakes
Using reserved words like 'CreateTable' as the table name.
Leaving the table name empty or misspelled.
2fill in blank
medium

Complete the code to define the primary key attribute name for the DynamoDB table.

DynamoDB
"AttributeName": "[1]",
Drag options to blanks, or click blank then click option'
APrimaryKey
BUserId
CKeyName
DId
Attempts:
3 left
💡 Hint
Common Mistakes
Using generic names like 'Id' without context.
Using names that don't match the key schema.
3fill in blank
hard

Fix the error in the key schema by completing the code with the correct key type.

DynamoDB
"KeyType": "[1]"
Drag options to blanks, or click blank then click option'
ASORT
BPRIMARY
CHASH
DKEY
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'PRIMARY' or 'KEY' which are not valid DynamoDB key types.
Confusing 'HASH' with 'SORT' when only one key is defined.
4fill in blank
hard

Fill both blanks to define the attribute type and key type correctly in the table creation.

DynamoDB
"AttributeType": "[1]", "KeyType": "[2]"
Drag options to blanks, or click blank then click option'
AS
BN
CHASH
DSORT
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing attribute types and key types.
Using 'N' when the key is a string.
5fill in blank
hard

Fill all three blanks to complete the provisioned throughput settings for the DynamoDB table.

DynamoDB
"ProvisionedThroughput": {"ReadCapacityUnits": [1], "WriteCapacityUnits": [2], "SomeOtherSetting": [3]
Drag options to blanks, or click blank then click option'
A5
B10
C0
D15
Attempts:
3 left
💡 Hint
Common Mistakes
Setting write capacity higher than read capacity without reason.
Using zero for capacity units which disables throughput.