All Questions
Dynamodb easy

A table is keyed by `OrderUUID`. However, a customer support dashboard needs to lookup orders by `CustomerEmail`. What feature enables this search without a full table scan?

  1. A Create a Global Secondary Index (GSI) with `CustomerEmail` as the new Partition Key.
  2. B Rename the main Partition Key to `CustomerEmail` once a month.
  3. C Perform a recursive loop in the front-end to find the email address manually.
  4. D Add a new column and mark it as 'Searchable' in the table properties.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions