DP-420 · Question #155
You have an Azure Cosmos DB for NoSQL 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…
The correct answer is C. Total Request Units. To receive an alert when Azure Cosmos DB database requests exceed the provisioned RU/s, you should monitor the 'Total Request Units' metric in Azure Monitor.
Question
You have an Azure Cosmos DB for NoSQL 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?
Options
- ADocument Quota
- BRegion Removed
- CTotal Request Units
- DDocument Count
How the community answered
(40 responses)- A3% (1)
- B3% (1)
- C88% (35)
- D8% (3)
Why each option
To receive an alert when Azure Cosmos DB database requests exceed the provisioned RU/s, you should monitor the 'Total Request Units' metric in Azure Monitor.
`Document Quota` refers to the maximum number of documents allowed, which is related to storage limits, not real-time request unit consumption.
`Region Removed` indicates a change in the geographical configuration of the Cosmos DB account, not related to current request unit consumption.
The `Total Request Units` metric in Azure Monitor for Azure Cosmos DB specifically tracks the total number of request units consumed by operations against the database or container. By monitoring this metric against the provisioned throughput, you can identify when requests are exceeding or approaching the allocated RU/s.
`Document Count` tracks the number of items stored in a container, which is a storage metric, not a throughput metric.
Concept tested: Azure Cosmos DB monitoring and alerting for throughput
Source: https://learn.microsoft.com/azure/cosmos-db/monitor-cosmos-db?tabs=azure-portal#metrics
Topics
Community Discussion
No community discussion yet for this question.