Microsoft
DP-420 · Question #177
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 #177. The question stem and answer options stay visible for context.
Design and implement data models
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
- AUse deviceId as the partition key.
- BCreate a new synthetic key that contains deviceId and timestamp.
- CUse sensor1value as the partition key.
- DCreate a new synthetic key that contains deviceId and sensor1Value.
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 Keys#Synthetic Keys#Hot Partitions#Time-Series Data