SpinTheMic
Pro

Interview practice question

Modelling a simple DynamoDB table

Backend Engineering · NoSQL and Redis · Beginner

Model a DynamoDB table for a notes app where users list their notes newest first and open a note by ID.

What a strong answer covers

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

  • PK: user_id, SK: created_at#note_id.
  • Query by user, descending.
  • Get note: needs user_id + SK, or GSI on note_id.
  • Avoid scans.
  • Store note attributes in item.
Practise this topic

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

See all topics