DP-420 · Question #75
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…
The correct answer is B. No. Azure Event Grid integration with Cosmos DB publishes events for control-plane operations such as container creation, deletion, or throughput scaling - not for real-time data-plane metrics like normalized request units per second (RU/s). To trigger a function when normalized…
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. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. 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 Azure Event Grid to send events to the function by using an Event Grid trigger in the function. Does this meet the goal?
Options
- AYes
- BNo
How the community answered
(25 responses)- A20% (5)
- B80% (20)
Explanation
Azure Event Grid integration with Cosmos DB publishes events for control-plane operations such as container creation, deletion, or throughput scaling - not for real-time data-plane metrics like normalized request units per second (RU/s). To trigger a function when normalized RU/s exceeds a threshold, you need Azure Monitor metric alerts (which can target the 'NormalizedRUConsumption' metric on a Cosmos DB container) combined with an Action Group that invokes the Azure Function. Event Grid simply cannot deliver metric-based threshold alerts for Cosmos DB, so the proposed solution does not meet the goal.
Topics
Community Discussion
No community discussion yet for this question.