Microsoft
DP-420 · Question #124
You are designing an Azure Cosmos DB for NoSQL solution to store data from IoT devices. Writes from the devices will occur every second. Data will be retained indefinitely. The following is a sample o
Sign in or unlock DP-420 to reveal the answer and full explanation for question #124. The question stem and answer options stay visible for context.
Design and implement data distribution
Question
You are designing an Azure Cosmos DB for NoSQL solution to store data from IoT devices. Writes from the devices will occur every second. Data will be retained indefinitely. 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?
Exhibit
Options
- AUse deviceManufacturer as the partition key.
- BCreate a new synthetic key that contains deviceId and timestamp.
- CCreate a new synthetic key that contains deviceId and deviceManufacturer.
- DUse deviceId as the partition key.
Unlock DP-420 to see the answer
You've previewed enough free DP-420 questions. Unlock DP-420 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#Partition Key Strategy#IoT Data Partitioning#Logical Partition Limits#Hot Partitions
