nerdexam
Microsoft

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.

Optimize an Azure Cosmos DB solution

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)
  • A
    3% (1)
  • B
    3% (1)
  • C
    88% (35)
  • D
    8% (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.

ADocument Quota

`Document Quota` refers to the maximum number of documents allowed, which is related to storage limits, not real-time request unit consumption.

BRegion Removed

`Region Removed` indicates a change in the geographical configuration of the Cosmos DB account, not related to current request unit consumption.

CTotal Request UnitsCorrect

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.

DDocument Count

`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

#Azure Cosmos DB Monitoring#Request Units (RU/s)#Azure Monitor Alerts#Performance Management

Community Discussion

No community discussion yet for this question.

Full DP-420 Practice