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 DP-420 Exam - Topic 12 Question 15 Discussion

Posted by Jettie on Jun 19, 2022 at 06:42 PM

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?

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.


Get Premium DP-420 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
12 comments · newest first
CR
Cristina 11 months ago
Not sure if a date partition key is the best choice for this scenario.
FR
Franchesca 11 months ago
Definitely agree with the idea of changing the partition key.
AJ
Aja 12 months ago
Surprised that decreasing throughput is even an option here!
TI
Tiara 12 months ago
I think increasing the throughput won't actually reduce RUs.
NA
Natalya 1 year ago
Moving to a new container with deviceId as the partition key could help.
WI
Wilburn 1 year 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.
MU
Muriel 1 year 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.
LE
Leonor 1 year 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.
LA
Lazaro 1 year 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.
GR
Gretchen 1 year 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.
AU
Audry 1 year 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.
LY
Lynelle 1 year 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.
0/2000 characters

Save Cancel