nerdexam
Microsoft

DP-420 · Question #175

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 #175. 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

DP-420 question #175 exhibit

Options

  • AUse deviceId as the partition key.
  • BCreate a new Synthetic key that contains deviceId and deviceManufacturer.
  • CUse deviceManufacturer as the partition key.
  • 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#Write optimization#Synthetic key
Full DP-420 Practice