Mulai sekarangMulai gratis

Designing tables with Local Secondary Indexes

You have an "Orders" table with userId (partition key) and orderDate (sort key). You need to query orders by userId and sort them by orderStatus (pending, shipped, delivered) instead of orderDate. You're considering adding a Local Secondary Index (LSI) on orderStatus.

Which statement is TRUE about using an LSI for this requirement?

Latihan ini merupakan bagian dari kursus

Using Data Stores in AWS

Lihat Kursus

Latihan interaktif langsung

Ubah teori menjadi aksi dengan salah satu latihan interaktif kami

Mulai latihan