nerdexam
Microsoft

DP-420 · Question #8

You are designing an Azure Cosmos DB for NoSQL 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

Sign in or unlock DP-420 to reveal the answer and full explanation for question #8. 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 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?

Exhibit

DP-420 question #8 exhibit

Options

  • AUse timestamp as the partition key.
  • BCreate a new synthetic key that contains deviceId and sensor1Value.
  • CCreate a new synthetic key that contains deviceId and deviceManufacturer.
  • DCreate a new synthetic key that contains deviceId and a random number.

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#Hot partitions#Synthetic key#Data distribution
Full DP-420 Practice