Azure Cosmos DB Developer Specialty
Models · Distribution · Integrate · Optimize · Maintain · 120 scenario questions
⚠️ Exam Rules
| Questions in this Techclick bank | 120 |
|---|---|
| Timer | 180 min |
| Techclick practice target | 70% |
| Official exam code | DP-420 |
A retail team models an order that contains up to 5 line items always read and written together with the order header. Each line item is small and never queried independently. Which modeling approach minimizes request units for the common read?
Correct: A. Embedding fits 1:few data that is read and written together, so one point read retrieves the order and its items cheaply. Referencing into a separate container is incorrect because it forces extra cross-document lookups. Per-customer containers and cross-database splits add complexity and cost, not savings, because they fragment data that belongs in one item.
A product catalog item embeds a large reviews array that grows unbounded as customers comment, and reviews change far more often than the product. The item is approaching the per-item size ceiling. How should the model be refactored?
Correct: A. Unbounded, independently changing 1:many data should be referenced, not embedded, so the product item stays small and well under the 2 MB ceiling. Compression and a configurable size limit are incorrect because the 2 MB item cap is fixed and cannot be raised. Putting reviews in the partition key is nonsensical because keys must be a scalar property, not an array.
A multi-tenant SaaS app writes telemetry where one tenant generates 90% of traffic, creating a hot logical partition when tenantId is the key. The team must keep tenant-scoped queries efficient while spreading writes. What is the recommended technique?
Correct: A. A synthetic key combining tenantId with a random or hashed suffix raises cardinality so a heavy tenant spreads across partitions while queries can still scan its buckets. Using id alone loses tenant locality and is incorrect. Disabling indexing does not fix skew, and lowering throughput just throttles everyone rather than removing the hot partition.
An IoT solution stores readings and frequently filters by tenantId, then by deviceId, then by date. The team wants partition pruning on prefix queries plus the ability to scale each tenant independently beyond a single logical partition. Which feature fits?
Correct: A. Hierarchical (subpartition) keys support up to three levels and let prefix queries like filtering on tenantId get partition pruning while each prefix scales past the single-partition limit. A date-only key concentrates writes and is incorrect. A composite index speeds ordering but does not change partitioning, and the analytical store serves analytics, not transactional prefix routing.
A team is choosing a partition key for a high-volume container and wants to avoid hot partitions and storage limits. Which characteristics describe a good partition key choice? (Choose THREE)
Correct: A and B and C. Good keys have high cardinality, match common query filters for cheap in-partition reads, and keep each logical partition under the 20 GB ceiling. A monotonic timestamp is wrong because every write hits one hot partition. A boolean flag is wrong because two values give terrible distribution, concentrating data and throughput instead of spreading them.
Last updated:
Yes. You can start, finish and score it for free, and download the Techclick practice certificate.
This bank has 120 original scenario-based questions with a 180-minute timer and a 70% Techclick practice target.
The official exam code is DP-420 (Microsoft).
No. They are original practice questions written by Techclick. This is not the vendor's official exam and not leaked dumps.
Score 70% or higher to get a Techclick practice certificate and LinkedIn badge. It is not an official Microsoft certification.
Related practice tests: Microsoft DP-900, Microsoft DP-300, Azure AZ-305, Azure AZ-104, Microsoft DP-700, Azure AZ-204 (linked below).

You earned it — let the world know!
