SpinTheMic
Pro

Interview practice question

Designing a MongoDB schema for a blog

Backend Engineering · NoSQL and Redis · Beginner

Design MongoDB collections for a blog with posts, authors, tags and comments.

What a strong answer covers

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

  • posts collection with embedded tags.
  • authors collection referenced by ID.
  • Small author snapshot embedded for display.
  • comments in separate collection (unbounded).
  • Indexes for common queries.
Practise this topic

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

See all topics