0
0
DynamoDBquery~10 mins

Burst capacity 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 read capacity units for a DynamoDB table.

DynamoDB
ProvisionedThroughput={"ReadCapacityUnits": [1], "WriteCapacityUnits": 5}
Drag options to blanks, or click blank then click option'
A"five"
B0
C-1
D10
Attempts:
3 left
💡 Hint
Common Mistakes
Using zero or negative numbers for capacity units.
Using strings instead of numbers.
2fill in blank
medium

Complete the code to enable burst capacity by setting the write capacity units.

DynamoDB
ProvisionedThroughput={"ReadCapacityUnits": 5, "WriteCapacityUnits": [1]
Drag options to blanks, or click blank then click option'
A-5
B20
C0
D"ten"
Attempts:
3 left
💡 Hint
Common Mistakes
Setting write capacity units to zero or negative numbers.
Using string values instead of integers.
3fill in blank
hard

Fix the error in the code to correctly define the provisioned throughput for burst capacity.

DynamoDB
ProvisionedThroughput={"ReadCapacityUnits": [1], "WriteCapacityUnits": 10}
Drag options to blanks, or click blank then click option'
A5
B0
C-5
D"five"
Attempts:
3 left
💡 Hint
Common Mistakes
Using strings instead of integers for capacity units.
Using zero or negative numbers.
4fill in blank
hard

Fill both blanks to set read and write capacity units to enable burst capacity.

DynamoDB
ProvisionedThroughput={"ReadCapacityUnits": [1], "WriteCapacityUnits": [2]
Drag options to blanks, or click blank then click option'
A15
B0
C10
D-1
Attempts:
3 left
💡 Hint
Common Mistakes
Setting capacity units to zero or negative values.
Mixing positive and zero values.
5fill in blank
hard

Fill all three blanks to create a DynamoDB table with burst capacity enabled and a key schema.

DynamoDB
CreateTable({"TableName": "MyTable", "AttributeDefinitions": [{"AttributeName": [1], "AttributeType": "S"}], "KeySchema": [{"AttributeName": [1], "KeyType": [2]], "ProvisionedThroughput": {"ReadCapacityUnits": [3], "WriteCapacityUnits": 20}})
Drag options to blanks, or click blank then click option'
A"UserId"
B"HASH"
C10
D"Range"
Attempts:
3 left
💡 Hint
Common Mistakes
Using incorrect key types like "Range" for partition key.
Using zero or negative capacity units.
Using unquoted strings for attribute names.