Question 1 of 30
A company is using Azure Monitor to track the performance of its web applications hosted on Azure App Service. They want to set up alerts based on specific metrics such as CPU usage and response time. The team is considering different approaches to configure these alerts. Which method would be the most effective for ensuring that alerts are triggered only when the CPU usage exceeds a certain threshold for a sustained period, rather than just a brief spike?
Create a metric alert with a condition that specifies a threshold of CPU usage over a defined aggregation period and a frequency of evaluation.
Set up a log alert that triggers whenever the CPU usage exceeds the threshold, regardless of the duration.
Use an action group to send notifications whenever any CPU usage is detected above the threshold, without considering the duration.
Implement a diagnostic setting that logs CPU usage metrics but does not configure any alerts based on those logs.

Preparing for Microsoft DP-201 Designing an Azure Data Solution? Now land the interview.

73% of qualified candidates get rejected because of weak resumes. Build an ATS-optimized, recruiter-ready resume in under 5 minutes - free to start.

Build My Resume Free