Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft Exam DP-420 Topic 2 Question 60 Discussion

Actual exam question for Microsoft's DP-420 exam
Question #: 60
Topic #: 2
[All DP-420 Questions]

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.

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?

Show Suggested Answer Hide Answer

Contribute your Thoughts:

Marylin
12 hours ago
Creating a synthetic key that includes the deviceId and sensor1Value sounds promising, as it would distribute the data more evenly and avoid hot partitions.
upvoted 0 times
...
Dominga
14 days ago
Using the timestamp as the partition key might seem like a good idea, but it could lead to hot partitions and uneven distribution of data, which would impact the performance of the Azure Cosmos DB solution.
upvoted 0 times
...
Tamar
14 days ago
I disagree, I think creating a new synthetic key with deviceId and sensor1Value would be a better option to avoid capacity limits.
upvoted 0 times
...
Carla
16 days ago
I agree with Angella, using timestamp as the partition key will help minimize partition skew.
upvoted 0 times
...
Belen
17 days ago
That's a good point, but I still think D is the correct answer based on the command.
upvoted 0 times
...
Tyra
17 days ago
I'm just wondering if the exam will ask us to actually run that PowerShell command and see what happens. That would be a real test of our knowledge!
upvoted 0 times
...
Lyndia
18 days ago
Haha, multi-region writes? In your dreams! This is a simple failover command, not some advanced configuration.
upvoted 0 times
...
Angella
22 days ago
I think we should use timestamp as the partition key to avoid hot partitions.
upvoted 0 times
...
Francisca
22 days ago
But wouldn't that also mean that the account will be unavailable for writes during the change?
upvoted 0 times
...
Solange
24 days ago
Nah, I don't think the throughput will increase. That command is probably just changing the failover settings, not the provisioned capacity.
upvoted 0 times
...
Dottie
25 days ago
Hold up, are you sure that's not going to make the account unavailable for writes? I thought that was one of the potential side effects.
upvoted 0 times
...
Mable
28 days ago
The manual failover is definitely the effect of running that command. I remember learning about that in my Azure Cosmos DB training.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77