Introduction to Cosmos DB Data Modeling Quiz

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

Quiz covering Non-Relational Data Model Design

What you'll be asked

  1. In Azure Cosmos DB, what is the primary purpose of the partition key?
  2. Which of the following is a recommended strategy when designing a data model for Cosmos DB to minimize cross-partition queries?
  3. When should you consider embedding related data within a single document in Cosmos DB instead of referencing it?
  4. What is the 'Synthetic Partition Key' pattern used for in Cosmos DB?
  5. You have a high-volume e-commerce application where you need to store 'Orders' and 'OrderItems'. The 'Orders' document contains basic info, and 'OrderItems' can grow to hundreds per order. Which modeling approach is best for performance and scalability?

Answers and explanations come after you submit.