What is the main difference between a Local Secondary Index (LSI) and a Global Secondary Index (GSI) in DynamoDB?
ALSI can have a different partition key, but GSI must use the main table's partition key.
BLSI uses the same partition key as the main table, but GSI can use a different partition key.
CLSI and GSI both require the same partition and sort keys as the main table.
DLSI is only for read operations, while GSI is only for write operations.