Microsoft Azure Architect Design (AZ-304) Practice Test

Disable ads (and more) with a membership for a one time $2.99 payment

Prepare for the Microsoft Azure Architect Design (AZ-304) Exam with comprehensive quiz questions designed to enhance your understanding and confidence. Master essential Azure concepts and strategies to excel on your test day!

Each practice test/flash card set has 50 randomly selected questions from a bank of over 500. You'll get a new set of questions each time!

Practice this question and more.


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

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

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

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

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

The correct answer is: 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.