MediumApplicationNoSQL DatabasesMultiple Choice

Which embedding pattern should you use when a blog post can have millions of comments?

Application Tests your understanding of this concept.

Answer Options

AEmbed all comments as an array in the post document
BReference comments in a separate collection with a postId field
CUse a bucket pattern embedding 100 comments per document
DStore comments as a Redis List with the postId as key

Want to see the correct answer?

Get the answer with a detailed explanation, plus practice 15+ more NoSQL Databases questions with adaptive quizzes and timed interviews.

See the Answer on Guru Sishya →

This question is from the NoSQL Databases topic (Databases).

More NoSQL Databases Questions