nerdexam
Microsoft

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.

Maintain an Azure Cosmos DB solution

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)
  • A
    6% (3)
  • B
    4% (2)
  • C
    14% (7)
  • D
    76% (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.

A| where OperationName startswith "RegionAddComplete"

`RegionAddComplete` indicates a region addition operation for the Cosmos DB account, not a throughput modification.

B| where OperationName startswith "SqlContainersCreate"

`SqlContainersCreate` indicates the creation of a new SQL API container, not an update to its provisioned throughput.

C| where OperationName startswith "MongoCollectionsThroughputUpdate"

`MongoCollectionsThroughputUpdate` refers to throughput updates for Azure Cosmos DB API for MongoDB collections, not for NoSQL containers.

D| where OperationName startswith "SqlContainersThroughputUpdate"Correct

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

#Cosmos DB Monitoring#KQL#Throughput Management#Diagnostic Logs

Community Discussion

No community discussion yet for this question.

Full DP-420 Practice