DP-420 · Question #150
You have an Azure Cosmos DB for NoSQL account. You configure the diagnostic settings to send all log information to a Log Analytics workspace. You need to identify when the provisioned request units…
The correct answer is D. | where OperationName startswith "SqlContainersThroughputUpdate". To identify when provisioned request units per second (RU/s) for an Azure Cosmos DB for NoSQL account's resources were modified, filter diagnostic logs for control plane requests related to throughput updates.
Question
You have an Azure Cosmos DB for NoSQL account. You configure the diagnostic settings to send all log information to a Log Analytics workspace. You need to identify when the provisioned request units per second (RU/s) for resources within the account were modified. You write the following query. AzureDiagnostics | where Category == "ControlPlaneRequests" What should you include in the query?
Options
- A| where OperationName startswith "RegionAddComplete"
- B| where OperationName startswith "SqlContainersCreate"
- C| where OperationName startswith "MongoCollectionsThroughputUpdate"
- D| where OperationName startswith "SqlContainersThroughputUpdate"
How the community answered
(51 responses)- A6% (3)
- B4% (2)
- C14% (7)
- D76% (39)
Why each option
To identify when provisioned request units per second (RU/s) for an Azure Cosmos DB for NoSQL account's resources were modified, filter diagnostic logs for control plane requests related to throughput updates.
`RegionAddComplete` indicates a region addition operation for the Cosmos DB account, not a throughput modification.
`SqlContainersCreate` indicates the creation of a new SQL API container, not an update to its provisioned throughput.
`MongoCollectionsThroughputUpdate` refers to throughput updates for Azure Cosmos DB API for MongoDB collections, not for NoSQL containers.
The `SqlContainersThroughputUpdate` operation name precisely indicates that the provisioned throughput (RU/s) of an Azure Cosmos DB for NoSQL container has been modified. This operation falls under control plane requests, making it the correct filter in Log Analytics to track RU/s changes for NoSQL containers.
Concept tested: Azure Cosmos DB diagnostic logs and control plane operations
Source: https://learn.microsoft.com/azure/cosmos-db/monitor-cosmos-db-data?tabs=azure-portal#control-plane-logs
Topics
Community Discussion
No community discussion yet for this question.