Designing and Implementing Cloud-Native Applications Using Microsoft Azure Cosmos DB — Question 37
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?
Answer options
- A. | where OperationName startswith "SqlContainersCreate"
- B. | where OperationName startswith "SqlContainersDelete"
- C. | where OperationName startswith "SqlDatabasesThroughputUpdate"
- D. | where OperationName startswith "AccountUpdateStart"
Correct answer: C
Explanation
The correct answer is C because the operation 'SqlDatabasesThroughputUpdate' specifically relates to modifications in the throughput settings for databases, which includes changes to RU/s. Options A and B pertain to the creation and deletion of containers, respectively, which do not affect RU/s, while option D relates to account updates but does not directly indicate changes to RU/s settings.