Microsoft
DP-420 · Question #182
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 #182. 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?
Options
- ACreate a new synthetic key that contains deviceId and timestamp.
- BUse timestamp as the partition key.
- CUse sensor1Value as the partition key.
- DCreate a new synthetic key that contains deviceId and deviceManufacturer.
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 design#Hot partitions#Partition skew#IoT solution design