All Questions
Dynamodb easy

DynamoDB supports two types of Primary Keys. What is the fundamental difference between a 'Simple' and a 'Composite' primary key?

  1. A A simple key uses a timestamp, while a composite key uses a random UUID.
  2. B A composite key consists of a 'Partition Key' and a 'Sort Key', enabling one-to-many relationships and range queries within a partition.
  3. C A simple key is for reads, and a composite key is required for writes.
  4. D A composite key is only used when the data size exceeds 100GB.

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

Get the app

Related questions