Complete the code to set the read capacity units to 5 in the DynamoDB table creation.
TableName: "MyTable", ProvisionedThroughput: { ReadCapacityUnits: [1], WriteCapacityUnits: 10 }
The read capacity units specify how many strongly consistent reads per second the table can handle. Setting it to 5 means the table can handle 5 such reads per second.
Complete the code to set the write capacity units to 15 in the DynamoDB table creation.
TableName: "Orders", ProvisionedThroughput: { ReadCapacityUnits: 10, WriteCapacityUnits: [1] }
Write capacity units define how many writes per second the table can handle. Setting it to 15 means the table can handle 15 writes per second.
Fix the error in the code by choosing the correct value for read capacity units (must be a positive integer).
ProvisionedThroughput: {
ReadCapacityUnits: [1],
WriteCapacityUnits: 10
}Read capacity units must be a positive integer. 10 is valid, while negative numbers, zero, or strings are invalid.
Fill both blanks to set read capacity units to 8 and write capacity units to 12.
ProvisionedThroughput: {
ReadCapacityUnits: [1],
WriteCapacityUnits: [2]
}Read capacity units are set to 8 and write capacity units to 12 as required.
Fill all three blanks to create a DynamoDB table with name 'Users', read capacity units 6, and write capacity units 9.
CreateTable({
TableName: [1],
ProvisionedThroughput: {
ReadCapacityUnits: [2],
WriteCapacityUnits: [3]
}
})The table name is 'Users', read capacity units are 6, and write capacity units are 9 as specified.