Bird
0
0

Why does DynamoDB require a primary key for each table?

hard📝 Conceptual Q10 of 15
AWS - DynamoDB
Why does DynamoDB require a primary key for each table?
ATo run scripts on the table
BTo store backup copies of items
CTo limit the number of attributes per item
DTo uniquely identify each item and enable fast lookups
Step-by-Step Solution
Solution:
  1. Step 1: Understand the role of primary keys in DynamoDB

    Primary keys uniquely identify each item in the table.
  2. Step 2: Explain why uniqueness is important

    Uniqueness allows DynamoDB to quickly find and access items without scanning the whole table.
  3. Final Answer:

    To uniquely identify each item and enable fast lookups -> Option D
  4. Quick Check:

    Primary key = unique ID for fast access [OK]
Quick Trick: Primary key ensures unique and fast item access [OK]
Common Mistakes:
  • Thinking primary key stores backups
  • Confusing primary key with scripts
  • Assuming it limits attributes

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes