What is a Local Secondary Index (LSI) in DynamoDB?

What is a Local Secondary Index (LSI) in DynamoDB?

a) An index that has the same partition key as the base table but a different sort key
b) An index used for global queries
c) An index for performing batch writes
d) An index for archiving items

Answer:

a) An index that has the same partition key as the base table but a different sort key

Explanation:

A Local Secondary Index (LSI) in DynamoDB has the same partition key as the base table but allows you to query data with a different sort key.

Reference:

DynamoDB Quiz – MCQ Questions and Answers

Scroll to Top