Microsoft Designing and Implementing Cloud-Native Applications Using Microsoft Azure Cosmos DB DP-420 Question # 6 Topic 1 Discussion

Microsoft Designing and Implementing Cloud-Native Applications Using Microsoft Azure Cosmos DB DP-420 Question # 6 Topic 1 Discussion

DP-420 Exam Topic 1 Question 6 Discussion:
Question #: 6
Topic #: 1

You are designing an Azure Cosmos DB Core (SQL) API solution to store data from IoT devices. Writes from the devices will be occur every second.

The following is a sample of the data.

DP-420 Question 6

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?


A.

Use timestamp as the partition key.


B.

Create a new synthetic key that contains deviceId and sensor1Value.


C.

Create a new synthetic key that contains deviceId and deviceManufacturer.


D.

Create a new synthetic key that contains deviceId and a random number.


Get Premium DP-420 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.