What does a Global Secondary Index (GSI) in DynamoDB allow you to do?

What does a Global Secondary Index (GSI) in DynamoDB allow you to do?

a) Modify the primary key of a table
b) Query data using an alternative key
c) Automatically back up your data
d) Archive old data

Answer:

b) Query data using an alternative key

Explanation:

A Global Secondary Index (GSI) allows you to query data using an alternative partition and/or sort key different from the primary key of the base table.

Reference:

DynamoDB Quiz – MCQ Questions and Answers

Scroll to Top