AWS DevOps Engineer Professional DOP-C01 – Question354

When thinking of DynamoDB, what are true of Local Secondary Key properties?

A.
Either the partition key or the sort key can be different from the table, but not both.
B. Only the sort key can be different from the table.
C. The partition key and sort key can be different from the table.
D. Only the partition key can be different from the table.

Correct Answer: B

Explanation:

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.
Reference: http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Sec…