You have an Azure Cosmos DB Core (SQL) API account that has multiple write regions. You need to receive an alert when requests that target the database exceed the available request units per second (RU/s). Which Azure Monitor signal should you use?
I think B is the correct answer. The link provided by avocacao is about checking whether a certain amount of requests exceeded the rate limit.
Reading the text on this page, I think the answer should be B.
https://docs.microsoft.com/en-us/azure/cosmos-db/monitor-cosmos-db
I think you are right, the Provisioned Throughput metric measures the number of provisioned Request Units per second (RU/s) for a Cosmos DB account, and can be used to trigger an alert when the actual usage exceeds a threshold.
How to monitor throughput or request unit usage of an operation in Azure Cosmos DB?
https://learn.microsoft.com/en-us/azure/cosmos-db/monitor-request-unit-usage
The Total Request Units metric is used to get the request units usage for different types of operations.
The correct answer is:
C. Total Request Units
Explanation:
The Total Request Units signal in Azure Monitor is used to track and monitor the consumption of Request Units per second (RU/s) in Azure Cosmos DB. By setting up an alert for this signal, you can be notified when the RU/s consumption exceeds the provisioned RU/s, which might indicate that the system is throttling requests or approaching its limit.
Why not the other options?
A. Data Usage: This monitors the storage usage of your database and containers, not RU/s consumption.
B. Provisioned Throughput: This indicates the amount of RU/s that has been provisioned, but it does not provide insight into whether your requests are exceeding this value.
D. Document Count: This tracks the number of documents, not the RU/s consumption.
By setting up an alert for the "Provisioned Throughput" metric, you can monitor when the request units per second (RU/s) exceed the provisioned amount and receive notifications accordingly
https://learn.microsoft.com/en-us/azure/cosmos-db/create-alerts
https://learn.microsoft.com/en-us/azure/cosmos-db/monitor?tabs=azure-diagnostics#alerts
Rate limiting on request units (metric alert) -> Alerts if the container or a database has exceeded the provisioned throughput limit.
TotalRequestUnits (Total Request Units)
Used to monitor Total RU usage at a minute granularity. To get average RU consumed per second, use Sum aggregation at minute interval/level and divide by 60.
https://learn.microsoft.com/en-us/azure/cosmos-db/monitor-reference
"Provisioned Throughput" allows you to monitor the actual consumption of the provisioned RU/s against what you've provisioned for your Cosmos DB account. You can set up alerts based on this signal to notify you when your actual RU/s consumption approaches or exceeds the provisioned RU/s, helping you manage your capacity and avoid RU/s throttling.
"Total Request Units" is more about monitoring the total number of request units consumed by queries and operations over a period of time. It's useful for understanding query performance and workload trends but may not directly alert you when RU/s consumption exceeds the provisioned amount.
Correct answer: Total Request Units
https://learn.microsoft.com/en-us/azure/cosmos-db/create-alerts#create-an-alert-rule
"Now, you can define the logic for triggering an alert and use the chart to view trends of your Azure Cosmos DB account. The Total Request Units metric supports dimensions. These dimensions allow you to filter on the metric. For example, you can use dimensions to filter to a specific database or container you want to monitor. If you don't select any dimension, this value is ignored.
Choose StatusCode as the Dimension name. Select Add custom value and set the status code to 429."
This section is not available anymore. Please use the main Exam Page.DP-420 Exam Questions
Log in to ExamTopics
Sign in:
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.
mkahmann
Highly Voted 2 years, 3 months ago[Removed]
1 year, 11 months agomkahmann
2 years, 3 months agoandicoro
Highly Voted 2 years, 6 months agoWimTS
Most Recent 3 days, 13 hours agoTuopikson
1 month, 1 week agoszkielet
2 months, 1 week agoskynetbcn
6 months, 4 weeks ago[Removed]
1 year, 1 month agoGaryn
1 year, 6 months agobasiltomato
2 years, 1 month agoavocacao
2 years, 3 months ago