GSI vs LSI: how do you define keys, attributes and secondary indexes?
In one line: LSIs keep the partition key, allow strong reads and must exist at table creation; GSIs are flexible, eventual, and can be sparse.
You’ve read your 2 free DVA-C03 lessons
Sign up free to read every lesson — your progress is saved.