Microsoft Azure Architect Design (AZ-304) Practice Test

Question: 1 / 400

Which solution meets the requirements for monitoring request charges in Azure Cosmos DB and generating alerts?

Create a search query for duration_s exceeding 20 and requestCharge_s exceeding 50.

Create a search query to trigger alerts when requestCharge_s exceeds 50 and a threshold of 20 for a period of 15 minutes.

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.

Get further explanation with Examzify DeepDiveBeta

Create a search query for requestCharge_s exceeding 20 with evaluation set for a period of 15.

Create a search query for when duration_s exceeds 20 with a general alert setup.

Next Question

Report this question

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy