Bird
0
0

You run this command:

medium📝 Debug Q6 of 15
AWS - DynamoDB
You run this command:
aws dynamodb create-table --table-name Customers --attribute-definitions AttributeName=CustomerId,AttributeType=N --key-schema AttributeName=CustomerId,KeyType=HASH --provisioned-throughput ReadCapacityUnits=5

What is wrong with this command?
ATable name is invalid
BMissing WriteCapacityUnits in provisioned throughput
CKeyType HASH is incorrect
DAttributeType N is invalid
Step-by-Step Solution
Solution:
  1. Step 1: Check provisioned throughput parameters

    Both ReadCapacityUnits and WriteCapacityUnits must be specified together.
  2. Step 2: Identify missing parameter

    WriteCapacityUnits is missing, causing an error.
  3. Final Answer:

    Missing WriteCapacityUnits in provisioned throughput -> Option B
  4. Quick Check:

    Provisioned throughput requires both read and write units [OK]
Quick Trick: Always specify both read and write capacity units [OK]
Common Mistakes:
MISTAKES
  • Omitting write capacity
  • Using invalid attribute types
  • Incorrect key types

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes