Skip to exam content
← All Exams

Microsoft DP-420 Practice Test

Azure Cosmos DB Developer Specialty

Models · Distribution · Integrate · Optimize · Maintain · 120 scenario questions

120
Questions
180
Minutes
70%
Techclick Practice Target

⚠️ Exam Rules

  • Once started, the timer cannot be paused
  • You can navigate freely — use Previous or the Navigator panel to revisit any question
  • Tab-switching triggers warnings (3 strikes = auto-submit)
  • Right-click and copy disabled during exam
  • If you fail, retry — questions and options reshuffle

DP-420 practice test: what's covered

Questions in this Techclick bank120
Timer180 min
Techclick practice target70%
Official exam codeDP-420

Free DP-420 sample questions

  1. 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?

    • A. Embed the line items as an array inside the order document so a single point read returns everything
    • B. Store each line item as a separate document referencing the orderId in a different container
    • C. Create one container per customer and write line items as standalone documents
    • D. Split the order header and line items across two databases joined at query time
    Show answer

    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.

  2. 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?

    • A. Reference reviews as separate documents in their own container keyed by productId, keeping the product item small
    • B. Embed every review but compress the product document with gzip before writing it
    • C. Keep embedding reviews and raise the item size limit in the container settings
    • D. Move the reviews array into the partition key of the product document
    Show answer

    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.

  3. 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?

    • A. Build a synthetic partition key like tenantId plus a bucket suffix to fan large tenants across many logical partitions
    • B. Switch the container to use the document id alone as the partition key
    • C. Disable indexing on the telemetry container to reduce write pressure
    • D. Lower the container throughput so the hot tenant is rate limited evenly
    Show answer

    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.

  4. 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?

    • A. Define hierarchical partition keys with up to three levels such as tenantId, deviceId, and date
    • B. Use a single partition key on date and rely on cross-partition fan-out
    • C. Create a composite index on tenantId and deviceId and keep a single-level key
    • D. Enable the analytical store so queries read from Synapse instead
    Show answer

    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.

  5. 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)

    • A. High cardinality with many distinct values so data and requests spread evenly
    • B. A value that appears in the filter of the most frequent queries for in-partition reads
    • C. A distribution that keeps any single logical partition under 20 GB of storage
    • D. A monotonically increasing timestamp so all writes land in the newest partition
    • E. A boolean status flag because only two values are easy to reason about
    Show answer

    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:

DP-420 practice test FAQ

Is this DP-420 practice test free?

Yes. You can start, finish and score it for free, and download the Techclick practice certificate.

How many questions are in the Techclick DP-420 practice test?

This bank has 120 original scenario-based questions with a 180-minute timer and a 70% Techclick practice target.

What is the official exam code and format?

The official exam code is DP-420 (Microsoft).

Are these real DP-420 exam questions or dumps?

No. They are original practice questions written by Techclick. This is not the vendor's official exam and not leaked dumps.

Do I get a certificate?

Score 70% or higher to get a Techclick practice certificate and LinkedIn badge. It is not an official Microsoft certification.

What should I take after DP-420?

Related practice tests: Microsoft DP-900, Microsoft DP-300, Azure AZ-305, Azure AZ-104, Microsoft DP-700, Azure AZ-204 (linked below).

Techclick Infosec
TECHCLICK INFOSEC
CYBERSECURITY · PRACTICE ASSESSMENT
🌍
PRACTICE ASSESSMENT
MICROSOFT DP-420
Azure Cosmos DB Developer Specialty
AWARDED TO
{NAME}
SCORE
0%
DATE
--
TC-NGFW-XXX
Practice certificate · not independently verified · Techclick Infosec Pvt Ltd · +91 92772 29456