QuestionQ77

Integrate an Azure Cosmos DB solution

You have an Azure Cosmos DB Core (SQL) API account named account 1 that uses autoscale throughput.

You need to run an Azure Function when the normalized request units per second for a container in account1 exceeds a specific value.

Solution: You configure an application to use the change feed processor to read the change feed, and configure the application to trigger the function.

Does this achieve the goal?

  • A Yes
  • B No
Explanation

The change feed processor delivers changes to items in a container; it does not evaluate the Normalized RU Consumption metric or trigger actions when that metric exceeds a threshold. Normalized RU consumption is an Azure Monitor metric, so threshold-based function execution requires metric monitoring and an alert/action mechanism rather than the change feed processor.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!