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: B
Get Premium DP-420 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
35 comments · newest first
DA
Dahlia
12 months ago
Not sure about the date partition key, seems less relevant for telemetry data.
NU
Nu
12 months ago
Definitely agree with moving the data to a new container.
CA
Catalina
1 year ago
Surprised that decreasing throughput is even an option here!
HE
Heidy
1 year ago
I think increasing the throughput won't really solve the RU issue.
LA
Lavonda
1 year ago
Moving to a new container with deviceId as the partition key could help.
SA
Sabine
1 year ago
I’m leaning towards option C, but I’m a bit uncertain if it’s the best choice since we might still have a lot of data for each device.
SA
Sabine
1 year ago
I practiced a similar question where we had to optimize RUs, and I feel like increasing throughput could actually lead to higher costs instead of reducing RUs.
SH
Shelba
1 year ago
I think moving to a new container with deviceId as the partition key might help, but I need to double-check how that affects query performance.
VA
Vanda
1 year ago
I remember that using the right partition key can really impact performance, but I'm not sure if switching to deviceId or date is better for reducing RUs.
TW
Twana
1 year ago
I'm feeling pretty confident about this one. Increasing the offerThroughput value for the container seems like the most straightforward way to reduce the RU consumption.
GI
Gilberto
1 year ago
Okay, I think I've got a strategy here. Since the analytics app frequently reads data for a single IoT device, I'll try moving the data to a new container with deviceId as the partition key.
AL
Alease
1 year ago
Hmm, I'm a bit confused about the partition key and how that relates to the RU consumption. I'll need to review the Azure Cosmos DB concepts again.
CH
Chauncey
1 year ago
This looks like a tricky one. I'll need to carefully read through the details and think about the best way to optimize the RU consumption.
BU
Buck
2 years ago
Ah, the joys of Azure Cosmos DB! Where the partition keys are made up and the RUs don't matter. Just toss some more money at it, and all your problems will go away. Truly the cloud equivalent of turning it off and on again.
SH
Shad
2 years ago
B is the way to go! Increasing the throughput is the easiest solution, and it will just cost you more money. Why bother with all this partition key nonsense when you can just throw more RUs at the problem?
LE
Leota
1 year ago
B) Increasing the throughput is the easiest solution, and it will just cost you more money.
OL
Olen
1 year ago
A) Decrease the offerThroughput value for the container.
KR
Kris
1 year ago
B) Increase the offerThroughput value for the container.
JE
Jeff
2 years ago
Hmm, I'm leaning towards D. Partitioning by date sounds like a more natural fit for time-series data like this. Plus, it might make it easier to manage the data in the long run.
AR
Aracelis
1 year ago
Partitioning by date seems like a logical solution for trend analysis on time-series data. It could improve performance.
TA
Tatum
2 years ago
Moving the data to a new container with a partition key of date could definitely help reduce the RUs consumed.
HU
Huey
2 years ago
I think D is a good choice too. It can help optimize the queries for trend analysis based on date.
ED
Edison
2 years ago
I'm not sure about that. Wouldn't partitioning by date be better? That way, the application can easily access data for a specific time period, which could be useful for trend analysis.
HE
Helaine
1 year ago
True, that could make accessing data for a single IoT device more efficient.
LE
Leonor
1 year ago
Moving data to a new container with a partition key of deviceId might also be a good option.
JU
Jules
1 year ago
But wouldn't decreasing the offerThroughput value help reduce RUs consumed?
TA
Talia
2 years ago
Partitioning by date could be a good idea for trend analysis.
JU
Justa
2 years ago
That's an interesting idea. It could help reduce the RUs consumed by the analytics application.
SH
Shonda
2 years ago
I disagree, I believe we should move the data to a new container that has a partition key of deviceId.
RU
Ruth
2 years ago
Choosing C seems like the best option here. Partitioning the data by deviceId will allow the analytics application to read data for a single IoT device more efficiently, reducing the RUs consumed.
AS
Ashleigh
1 year ago
Let's go with option C then. It seems like the most efficient solution.
TA
Tammy
2 years ago
Moving the data to a new container with deviceId as the partition key sounds like the way to go.
NA
Nancey
2 years ago
Agreed, partitioning by deviceId will definitely reduce the RUs consumed.
LA
Lashonda
2 years ago
I think option C is the best choice. It will help optimize the analytics application.
JU
Justa
2 years ago
I think we should decrease the offerThroughput value for the container.