Embed or Reference?

Talk it through with a coach who asks guiding questions and gives hints until you reach the answer. Pass to mark the challenge as completed.

The problem

  • medium
  • Pro

You're modelling blog posts and their comments in a document database. Explain when you'd embed the comments inside the post document and when you'd store them as separate documents that reference the post.

Talk this problem through with an AI coach

This is a Pro challenge. Sign in with Google, then upgrade to start a voice session.

Start free →