Bird
0
0

What is a key limitation of Local Secondary Indexes (LSI) compared to Global Secondary Indexes (GSI)?

easy📝 Conceptual Q2 of 15
AWS - DynamoDB
What is a key limitation of Local Secondary Indexes (LSI) compared to Global Secondary Indexes (GSI)?
ALSIs allow different partition keys than the base table.
BLSIs can only be created during table creation and cannot be added later.
CLSIs consume separate read and write capacity units.
DLSIs can be created and deleted anytime without downtime.
Step-by-Step Solution
Solution:
  1. Step 1: Recall LSI creation constraints

    LSIs must be defined when the table is created and cannot be added or removed later.
  2. Step 2: Evaluate other options

    The claim that LSIs allow different partition keys is false because they share the partition key; separate capacity and anytime creation/deletion describe GSI behavior.
  3. Final Answer:

    LSIs can only be created during table creation and cannot be added later. -> Option B
  4. Quick Check:

    LSI creation = Only at table creation [OK]
Quick Trick: LSI fixed at table creation, no later changes [OK]
Common Mistakes:
MISTAKES
  • Assuming LSIs can be added after table creation
  • Confusing capacity billing between LSI and GSI
  • Thinking LSIs have different partition keys

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes