nerdexam
Microsoft

DP-420 · Question #204

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 C. | where OperationName startswith "SqlDatabasesThroughputUpdate". The goal is to detect when provisioned RU/s were modified. In Azure Cosmos DB diagnostic logs under the 'ControlPlaneRequests' category, throughput changes are logged with operation names that follow the pattern '{ApiType}{ResourceType}ThroughputUpdate'. For the NoSQL (SQL) API…

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 "SqlContainersCreate"
  • B| where OperationName startswith "SqlContainersDelete"
  • C| where OperationName startswith "SqlDatabasesThroughputUpdate"
  • D| where OperationName startswith "AccountUpdateStart"

How the community answered

(37 responses)
  • A
    3% (1)
  • B
    3% (1)
  • C
    95% (35)

Explanation

The goal is to detect when provisioned RU/s were modified. In Azure Cosmos DB diagnostic logs under the 'ControlPlaneRequests' category, throughput changes are logged with operation names that follow the pattern '{ApiType}{ResourceType}ThroughputUpdate'. For the NoSQL (SQL) API at the database level, the operation name is 'SqlDatabasesThroughputUpdate'. Options A and B relate to container creation/deletion, not throughput changes. Option D ('AccountUpdateStart') reflects account-level configuration changes, not throughput modifications. Option C correctly targets the log entry generated when database-level RU/s are updated.

Topics

#Azure Cosmos DB monitoring#Log Analytics KQL#Throughput management#Diagnostic logs

Community Discussion

No community discussion yet for this question.

Full DP-420 Practice