DynamoDB Data Modeling Quiz

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

Quiz covering Schema Design

What you'll be asked

  1. Which component of a DynamoDB table uniquely identifies an item when only a Partition Key is defined?
  2. You are designing a schema for an e-commerce application. You want to query for all orders placed by a specific customer. Which design pattern is best for this requirement?
  3. Why is it generally recommended to avoid using high-cardinality attributes like 'Timestamp' as a Partition Key in DynamoDB?
  4. When should you choose a Global Secondary Index (GSI) over a Local Secondary Index (LSI)?
  5. In a 'Single-Table Design' pattern, how do you handle relationships between different entity types (e.g., Users and Orders) in the same table?

Answers and explanations come after you submit.