Microsoft Azure Architect Design (AZ-304) Practice Test

Access More Questions
Which solution meets the requirements for monitoring request charges in Azure Cosmos DB and generating alerts?
Correct Answer:
Create a search query to trigger alerts when requestCharge_s exceeds 50 and a threshold of 20 for a period of 15 minutes.
Explanation:
The selected option is appropriate as it ensures that alerts are generated based on specified criteria that monitor the request charges effectively. By creating a search query that triggers alerts when the requestCharge_s exceeds 50, combined with a threshold of 20 for a duration of 15 minutes, it allows for a more nuanced approach to monitoring. This method ensures that the system evaluates requests over a defined period, reducing the likelihood of false positives that might arise from transient spikes in request charges. Monitoring request charges in Azure Cosmos DB is critical for managing costs and ensuring optimal performance. By specifying a condition that looks not just for a single instance of high request charges but requires that it persists over a certain period, it allows you to only get alerts for sustained high usage, which is more actionable for diagnosing issues or scaling needs. The other choices do not offer the same level of specificity or duration-based analysis. They either focus solely on immediate spikes without considering the time factor, which might result in too many alerts for short-lived incidents or lack the comprehensive requirement to monitor continuous performance. Thus, the chosen solution optimally aligns with effective monitoring and alerting practices for Cosmos DB.

Access more questions from this quiz

Continue to Microsoft Azure Architect Design (AZ-304) Practice Test for more practice questions and the full quiz experience.

Access More Questions