SpinTheMic
Pro

Interview practice question

Changing a DynamoDB key design

Backend Engineering · NoSQL and Redis · Experienced

Your DynamoDB table's partition key turned out to be a bad choice, causing hot partitions. You cannot change keys in place. How do you migrate?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Create new table with new key design.
  • Backfill via scan or export.
  • Dual write or Streams to sync.
  • Verify, switch reads, then writes.
  • Decommission old table.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics