Item (Document)
← Back to DP-420 Terminology Reference
Category: Core Concepts
Summary: Fundamental unit of data, stored as a self-describing JSON document within a container.
Overview
An item is the fundamental unit of data in Azure Cosmos DB for NoSQL, stored as a self-describing JSON document within a container. Each item must have a unique combination of id and partition key value within its logical partition. Items can vary in schema/shape within the same container, enabling flexible, schema-agnostic modeling.
More Info & Links
DP-420 Style Practice Questions
Q1. What format are items stored in within an Azure Cosmos DB for NoSQL container?
- A. Self-describing JSON documents
- B. Fixed-schema relational rows
- C. Binary large objects only
- D. XML documents
Q2. What must be unique for every item within the same logical partition?
- A. The combination of id and partition key value
- B. Only the partition key value
- C. Only the id property
- D. The document's byte size
Answer Key
Answers are listed at the very end so you can attempt the questions first.
- Q1 (Item (Document)): A. Self-describing JSON documents — Items are stored as JSON documents, allowing flexible and schema-agnostic data modeling.
- Q2 (Item (Document)): A. The combination of id and partition key value — Within a logical partition, the id property (combined with the partition key) must be unique.
DP-420: Designing and Implementing Cloud-Native Applications Using Microsoft Azure Cosmos DB — term detail page