Denormalizing Data Across Documents Quiz

5 questions Pass: 70% +25 pts (50 with Pro)

Quiz covering Non-Relational Data Model Design

What you'll be asked

  1. What is the primary goal of denormalization in a document-oriented database?
  2. When designing a document model for an e-commerce platform, which scenario is most appropriate for embedding a 'shipping_address' document inside a 'user' document?
  3. You are modeling a blog system where each post has a list of comments. Why might you choose to store comments in a separate collection rather than embedding them in the post document?
  4. In a denormalized model, what is the main trade-off when updating a field that is duplicated across multiple documents?
  5. Consider a 'Product' document that contains a 'Category' name. If you decide to denormalize by embedding the category name directly into the product document, what is the most significant risk if the category name changes?

Answers and explanations come after you submit.