BLACK FRIDAY SALE – Unlock Up to 25% OFF on All Exam Prep! - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft DP-420 Exam - Topic 2 Question 57 Discussion

Posted by Earlean on Jan 26, 2025 at 07:45 AM

You have a container in an Azure Cosmos DB for NoSQL account that stores data about orders.

The following is a sample of an order document.

Documents are up to 2 KB.

You plan to receive one million orders daily.

Customers will frequently view their past order history.

You are the evaluating whether to use order-Date as the partition key.

What are two effects of using order-Date as the partition key? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.

Suggested Answer: C, D

Get Premium DP-420 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
32 comments · newest first
SH
Sharmaine 12 months ago
Cross-partition queries could slow things down too.
CL
Clare 12 months ago
Wait, are we really sure about the hot partition thing?
AS
Ashanti 1 year ago
Definitely a risk of hitting max partition key values!
KE
Kerrie 1 year ago
I disagree, it might not exceed storage limits.
DA
Darrin 1 year ago
Using order-Date could lead to a hot partition for sure.
AL
Alba 1 year ago
I’m a bit confused about the cross-partition queries. Would using order-Date really lead to that, or is it more about how we structure the data?
LE
Lelia 1 year ago
I practiced a similar question, and I feel like exceeding the maximum storage per partition might be a concern if we get a lot of orders on the same day.
TA
Tashia 1 year ago
I think using order-Date could definitely create a hot partition since most orders will likely cluster around certain dates.
VI
Vivienne 1 year ago
I remember something about partition keys affecting performance, but I'm not sure if order-Date would lead to a hot partition or not.
ST
Stevie 1 year ago
Using order-Date as the partition key might also result in cross-partition queries, which could impact performance. I'll need to weigh the pros and cons of that approach.
GO
Goldie 1 year ago
Okay, I think I've got a strategy here. If we get one million orders daily, that could lead to a hot partition issue with order-Date as the key. I'll need to consider that carefully.
MA
Malcolm 1 year ago
Hmm, I'm a bit confused about the maximum storage per partition. I'll need to review that part of the Azure Cosmos DB documentation.
AS
Ashanti 1 year ago
This seems like a tricky question. I'll need to think carefully about the effects of using order-Date as the partition key.
CA
Carol 2 years ago
Wait, a million orders per day? That's like, a new order every 0.086 seconds. I hope the Azure Cosmos DB team has their coffee ready for that kind of load!
RE
Rebecka 2 years ago
↳ replying to Carol
C) There will always be a hot partition.
BU
Buck 2 years ago
↳ replying to Carol
A) You will exceed the maximum number of partition key values.
MA
Marsha 2 years ago
I think we should consider other partition key options to avoid hot partition problem.
JE
Jerry 2 years ago
That's true, but we also need to consider the potential hot partition issue.
TA
Tamesha 2 years ago
Ooh, I bet the queries will run cross-partition if we use order-Date. That's not going to be fun for the customers trying to view their order history.
CH
Chan 2 years ago
↳ replying to Tamesha
D) Queries will run cross-partition.
NI
Nickole 2 years ago
↳ replying to Tamesha
Yeah, having a hot partition will definitely impact performance.
MY
Myra 2 years ago
↳ replying to Tamesha
C) There will always be a hot partition.
MA
Marya 2 years ago
↳ replying to Tamesha
A) You will exceed the maximum number of partition key values.
YU
Yuette 2 years ago
But wouldn't using order-Date as the partition key help with querying past order history efficiently?
MA
Marsha 2 years ago
I agree with Jerry, hot partition can lead to performance problems.
TA
Tamekia 2 years ago
Hmm, exceeding the maximum storage per partition is also a concern. With a million orders per day, that 2 KB limit will be reached pretty quickly.
WI
Willow 2 years ago
Using order-Date as the partition key could definitely lead to a hot partition, as all the new orders will be written to the same partition. That could be a real headache!
GR
Gregoria 2 years ago
↳ replying to Willow
User 2
JA
Jacqueline 2 years ago
↳ replying to Willow
User 2
CA
Carman 2 years ago
↳ replying to Willow
User 1
BE
Bev 2 years ago
↳ replying to Willow
User 1
JE
Jerry 2 years ago
I think using order-Date as the partition key will cause hot partition issue.
0/2000 characters

Save Cancel