DynamoDB Keys and Indexes Quiz

5 questions Pass: 70% +25 pts (50 with Pro)

Quiz covering Data Stores

What you'll be asked

  1. Which component of a DynamoDB table's primary key is used by DynamoDB to distribute data across physical partitions?
  2. You need to query your DynamoDB table to retrieve items based on a range of dates, but your base table only has a Partition Key. What should you do?
  3. What is a primary difference between a Local Secondary Index (LSI) and a Global Secondary Index (GSI)?
  4. Which of the following is true regarding strongly consistent reads in DynamoDB?
  5. You have a table with a Partition Key 'UserID' and a Sort Key 'Timestamp'. You create a GSI with 'Status' as the Partition Key and 'Priority' as the Sort Key. If you perform a Query on the GSI, which attributes are automatically available in the result set if you set ProjectionType to 'KEYS_ONLY'?

Answers and explanations come after you submit.