New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft DP-420 Exam - Topic 12 Question 15 Discussion

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

You have a container in an Azure Cosmos DB Core (SQL) API account. The container stores telemetry data from IoT devices. The container uses telemetryId as the partition key and has a throughput of 1,000 request units per second (RU/s). Approximately 5,000 IoT devices submit data every five minutes by using the same telemetryId value.

You have an application that performs analytics on the data and frequently reads telemetry data for a single IoT device to perform trend analysis.

The following is a sample of a document in the container.

You need to reduce the amount of request units (RUs) consumed by the analytics application.

What should you do?

Show Suggested Answer Hide Answer
Suggested Answer: C

The partition key is what will determine how data is routed in the various partitions by Cosmos DB and needs to make sense in the context of your specific scenario. The IoT Device ID is generally the 'natural' partition key for IoT applications.


Contribute your Thoughts:

0/2000 characters
Cristina
4 months ago
Not sure if a date partition key is the best choice for this scenario.
upvoted 0 times
...
Franchesca
4 months ago
Definitely agree with the idea of changing the partition key.
upvoted 0 times
...
Aja
4 months ago
Surprised that decreasing throughput is even an option here!
upvoted 0 times
...
Tiara
4 months ago
I think increasing the throughput won't actually reduce RUs.
upvoted 0 times
...
Natalya
5 months ago
Moving to a new container with deviceId as the partition key could help.
upvoted 0 times
...
Wilburn
5 months ago
I vaguely recall that decreasing the offerThroughput value isn't a good idea since it could lead to throttling, but I’m not completely confident about the best approach here.
upvoted 0 times
...
Muriel
5 months ago
I practiced a similar question where we had to optimize RUs, and I feel like increasing the throughput might just lead to more costs without solving the problem.
upvoted 0 times
...
Leonor
5 months ago
I remember discussing how partition keys can impact performance, but I'm not sure if changing the partition key to deviceId would really help reduce RUs.
upvoted 0 times
...
Lazaro
5 months ago
I think moving the data to a new container with a partition key of date could help with query efficiency, but I need to double-check if that would actually reduce RUs.
upvoted 0 times
...
Gretchen
5 months ago
I'm a little unsure about this one. I know the Spam Quarantine has some LDAP-related settings, but I'm not sure which one specifically handles the end-user authentication. I'll have to review my notes on this topic.
upvoted 0 times
...
Audry
5 months ago
I remember something about the RPC API for custom gadgets, but I'm not entirely sure if that's one of the key capabilities we should pick.
upvoted 0 times
...
Lynelle
5 months ago
I'm pretty confident the answer is "pkg". That's the standard package management command on many Linux and Unix-like systems, so it makes sense to use that if the tools aren't installed.
upvoted 0 times
...

Save Cancel