Last Updated on September 25, 2021 by Admin 3
When thinking of DynamoDB, what are true of Local Secondary Key properties?
- Either the partition key or the sort key can be different from the table, but not both.
- Only the sort key can be different from the table.
- The partition key and sort key can be different from the table.
- Only the partition key can be different from the table.
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.