DP-420 practice question 12 of 25
You need to create a data store for a directory of small and medium-sized businesses (SMBs). The data store must meet the following requirements: *…
Full set: 144 questionsA bounded one-to-many relationship (each company ≤1,000 users) that is always read together is best modeled by embedding the child entities inside the parent document. By storing one document per company and embedding the array of user objects, a single point-read (partition key = companyId, id = companyId) returns both the company profile and its users, satisfying “browse company” and “browse users by company” with just one read that stays well under the 2-MB document limit. This pattern is explicitly recommended by Azure Cosmos DB data-modeling guidance for read-optimized workloads.
A. Separate docs require an extra query (or cross-document join) to fetch all users, so more RU/s and latency.
C. Two containers force fan-out queries across partitions/containers for “browse users by company,” increasing cost.
D. Duplicates company data in every user document, inflating storage and violating single-write principle; user-partitioned reads cannot return all company users efficiently.
1. Microsoft Docs – “Modeling relational data in Azure Cosmos DB”
section “Embed bounded 1-to-many relationships” (https://learn.microsoft.com/azure/cosmos-db/nosql/modeling-data)
2. Microsoft Learn module “Design a data model…”
unit “Embed vs. reference” (AZ-204 courseware)
slide 6.
Keep practicing
Take the free DP-420 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other DP-420 practice questions
- Question 1You have an Azure Cosmos DB for NoSQL account. You need to create an Azure Monitor query …
- Question 3You have a database in an Azure Cosmos DB Core (SQL) API account. You need to create an A…
- Question 6You are troubleshooting the current issues caused by the application updates. Which actio…
- Question 9You have an Azure Cosmos DB Core (SQL) API account that is used by 10 web apps. You need …
- Question 13You need to configure an Apache Kafka instance to ingest data from an Azure Cosmos DB Cor…
- Question 16You configure multi-region writes for account1. You need to ensure that App1 supports the…
