exam questions

Exam DP-420 All Questions

View all questions & answers for the DP-420 exam

Exam DP-420 topic 1 question 32 discussion

Actual exam question from Microsoft's DP-420
Question #: 32
Topic #: 1
[All DP-420 Questions]

You have an Azure Cosmos DB database.

You plan to create a new container named container1 that will store product data and product category data and will primarily support read requests.

You need to configure a partition key for container1. The solution must meet the following requirements:

• Minimize the size of the partition.
• Minimize maintenance effort.

Which two characteristics should you prioritize? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

  • A. unique
  • B. high cardinality
  • C. low cardinality
  • D. static
Show Suggested Answer Hide Answer
Suggested Answer: BD 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
azuredemo2022three
Highly Voted 1 year, 5 months ago
Selected Answer: BD
To configure a partition key for container1 in Azure Cosmos DB, prioritizing characteristics that minimize the size of the partition and maintenance effort, you should prioritize the following two characteristics: B. High cardinality: Choosing a partition key with high cardinality means having a large number of unique values distributed across the dataset. This helps in distributing the data evenly across multiple partitions, preventing hotspots and ensuring efficient scalability. D. Static: Selecting a static partition key means choosing a key that does not frequently change. This minimizes the need for updates to the partition key value and reduces maintenance effort. It also helps in maintaining a consistent distribution of data across partitions over time. So, the correct answers are: B. High cardinality D. Static
upvoted 11 times
...
xRiot007
Most Recent 11 months, 3 weeks ago
B,D - considering products have category data, we can expect the category to be a filter, which makes it a good candidate to be a partition key. Categories are static known terms for a given business (values like "Electronics", "Clothing", "Wellness" etc)
upvoted 1 times
...
Emil_Topics
1 year, 3 months ago
A unique B high cardinality https://medium.com/codex/azure-cosmos-db-partitioning-bc851a404476
upvoted 3 times
...
Womapoc
1 year, 3 months ago
Selected Answer: BD
correct
upvoted 1 times
...
TT924
1 year, 4 months ago
A, B https://learn.microsoft.com/en-us/azure/cosmos-db/partitioning-overview#use-item-id-as-the-partition-key
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...