Complete the code to specify the type of index that shares the same partition key as the base table.
IndexType = "[1]" # This index uses the same partition key as the base table
A Local Secondary Index (LSI) uses the same partition key as the base table but allows a different sort key.
Complete the code to specify the index type that can have a different partition key from the base table.
IndexType = "[1]" # This index can have a different partition key
A Global Secondary Index (GSI) can have a different partition key and sort key from the base table.
Fix the error in the statement about index capacity mode.
LSI capacity is [1], while GSI capacity is [2].
LSI shares the read/write capacity units with the base table (shared), while GSI has separate capacity units.
Fill both blanks to complete the statement about index size limits and creation time.
LSI has a size limit of [1] and must be created [2] the table, while GSI has no size limit and can be created anytime.
LSI has a 10 GB size limit and must be created before the table is created. GSI has no size limit and can be created anytime.
Fill all three blanks to complete the statement about consistency and query flexibility.
LSI supports [1] reads and shares the [2] key with the base table, while GSI supports [3] reads and can have a different partition key.
LSI supports strongly consistent reads and shares the partition key with the base table. GSI supports eventually consistent reads and can have a different partition key.