DP-420 Partition Practice Questions
The free DP-420: Designing and Implementing Cloud-Native Applications Using Microsoft Azure Cosmos DB questions that deal with partition, with answers and explanations. The full bank and the timed practice test cover every topic the exam asks about.
Question #1
You need to select the partition key for con-iot1. The solution must meet the IoT telemetry requirements. What should you select?
Correct answer: D
Explanation
The partition key is what will determine how data is routed in the various partitions by Cosmos DB and needs to make sense in the context of your specific scenario. The IoT Device ID is generally the "natural" partition key for IoT applications. Scenario: The iotdb database will contain two containers named con-iot1 and con-iot2. Ensure that Azure Cosmos DB costs for IoT-related processing are predictable. Reference: https://docs.microsoft.com/en-us/azure/architecture/solution-ideas/articles/iot-using-cosmos-db
Question #8
You are designing an Azure Cosmos DB Core (SQL) API solution to store data from IoT devices. Writes from the devices will be occur every second. The following is a sample of the data. You need to select a partition key that meets the following requirements for writes: Minimizes the partition skew Avoids capacity limits Avoids hot partitions What should you do?

Correct answer: D
Explanation
Use a partition key with a random suffix. Distribute the workload more evenly is to append a random number at the end of the partition key value. When you distribute items in this way, you can perform parallel write operations across partitions. Reference: https://docs.microsoft.com/en-us/azure/cosmos-db/sql/synthetic-partition-keys
Continue with DP-420: Designing and Implementing Cloud-Native Applications Using Microsoft Azure Cosmos DB
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in DP-420: Designing and Implementing Cloud-Native Applications Using Microsoft Azure Cosmos DB, the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
