Amazon
DOP-C02 · Question #369
When thinking of DynamoDB, what are true of Local Secondary Key properties?
The correct answer is B. Only the sort key can be different from the table. Global secondary index ?an index with a partition key and a sort key that can be different from those on the table. A global secondary index is considered "global" because queries on the index can span all of the data in a table, across all partitions.
Submitted by noor.lb· Mar 6, 2026Resilient Cloud Solutions
Question
When thinking of DynamoDB, what are true of Local Secondary Key properties?
Options
- AEither the partition key or the sort key can be different from the table, but not both.
- BOnly the sort key can be different from the table.
- CThe partition key and sort key can be different from the table.
- DOnly the partition key can be different from the table.
How the community answered
(44 responses)- A2% (1)
- B89% (39)
- C2% (1)
- D7% (3)
Explanation
Global secondary index ?an index with a partition key and a sort key that can be different from those on the table. A global secondary index is considered "global" because queries on the index can span all of the data in a table, across all partitions.
Topics
#DynamoDB#Local Secondary Index (LSI)#Partition key#Sort key
Community Discussion
No community discussion yet for this question.