Question
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
You have an Azure Cosmos DB for NoSQL account named account1 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 you configure the application to trigger the function.
Does this meet the goal?
- A. Yes
- B. No Correct
Explanation
The change feed contains changed items, not metrics, so a change feed processor cannot tell when normalized RU consumption exceeds a value. Monitoring a metric threshold is done with an Azure Monitor metric alert whose action group runs the function.