exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 2 question 27 discussion

Actual exam question from Microsoft's AZ-400
Question #: 27
Topic #: 2
[All AZ-400 Questions]

HOTSPOT -
You use Azure DevOps to manage the build and deployment of an app named App1.
You have a release pipeline that deploys a virtual machine named VM1.
You plan to monitor the release pipeline by using Azure Monitor.
You need to create an alert to monitor the performance of VM1. The alert must be triggered when the average CPU usage exceeds 70 percent for five minutes.
The alert must calculate the average once every minute.
How should you configure the alert rule? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Box 1: 5 minutes -
The alert must calculate the average once every minute.
Note: We [Microsoft] recommend choosing an Aggregation granularity (Period) that is larger than the Frequency of evaluation, to reduce the likelihood of missing the first evaluation of added time series

Box 2: Static -

Box 3: Greater than -
Example, say you have an App Service plan for your website. You want to monitor CPU usage on multiple instances running your web site/app. You can do that using a metric alert rule as follows:
✑ Target resource: myAppServicePlan
✑ Metric: Percentage CPU
✑ Condition Type: Static
✑ Dimensions
✑ Instance = InstanceName1, InstanceName2
✑ Time Aggregation: Average
✑ Period: Over the last 5 mins
✑ Frequency: 1 min
✑ Operator: GreaterThan
✑ Threshold: 70
✑ Like before, this rule monitors if the average CPU usage for the last 5 minutes exceeds 70%.
✑ Aggregation granularity
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/platform/alerts-metric-overview

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
JerryGolais
Highly Voted 2 years, 11 months ago
Correct answer: 5 Min Static Greater than
upvoted 57 times
Freyr
3 months, 2 weeks ago
Correct answer: Aggregation granularity (Period): 5 minute Threshold value: Static Operator: Greater than Aggregation granularity (Period): 5 minute This is correct because we need to calculate the average five minute. Evaluation frequency (how often we check) - which is every minute Aggregation period (the window of time we're averaging over) - which should be 5 minutes Threshold value: Static We're using a fixed value of 70% as the threshold, not a dynamic/adaptive threshold Operator: Greater than We want to trigger when CPU usage exceeds (is greater than) 70%
upvoted 1 times
...
rdemontis
2 years ago
you are right
upvoted 1 times
...
vxl
1 year, 2 months ago
Correct, came up in my exam (2023)
upvoted 9 times
...
ukohae39
2 years, 10 months ago
Verified!
upvoted 3 times
...
...
nvnrao57
Highly Voted 3 years ago
1 Min Static Greater than
upvoted 12 times
BalderkVeit
2 years, 12 months ago
"The alert must be triggered when the average CPU usage exceeds 70 percent for five minutes", so Aggregation granularity (period) is 5 minutes. Frequency would be 1 minute. Static - agree greater than - agree There's exact example in provided documentation.
upvoted 36 times
...
coffecold
1 year, 5 months ago
Aggregation is 1 minute. "Time granularity or time grain – The time period used to aggregate values together to allow display on a chart. Only specific ranges are available. Current minimum is 1 minute. The time granularity value should be smaller than the selected time range to be useful, otherwise just one value is shown for the entire chart." https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/metrics-aggregation-explained
upvoted 2 times
...
...
navinm1
Most Recent 7 months ago
This question came in my exam on 23-Sep-23. I have selected the given answer and I have passed (Score 844).
upvoted 4 times
EngineTyme
7 months ago
Did you have labs in your exams?
upvoted 4 times
...
...
yana_b
8 months, 3 weeks ago
Correct answer. Static due to the fact that it is not based on % from a pattern, but from a hardcoded number. Greater than as it says above/exceeds and not when CPU reaches 70% or more. Granularity -> gives the time duration for which we calculate the filter rule (exceeds 70% within time duration of 5 minutes => send alert).
upvoted 2 times
...
zellck
10 months, 3 weeks ago
1. 5 minutes 2. Static 3. Greater than https://learn.microsoft.com/en-us/azure/azure-monitor/alerts/alerts-create-new-alert-rule?tabs=metric#create-a-new-alert-rule-in-the-azure-portal - Aggregation granularity Select the interval that's used to group the data points by using the aggregation type function. Choose an Aggregation granularity (period) that's greater than the Frequency of evaluation to reduce the likelihood of missing the first evaluation period of an added time series.
upvoted 4 times
zellck
10 months, 3 weeks ago
Gotten this in Jun 2023 exam.
upvoted 6 times
...
...
AlexeyG
1 year, 1 month ago
got this in 02 March 2023 exams. scored 870 marks.
upvoted 7 times
...
nikipediaa
1 year, 2 months ago
Got this Feb 2023
upvoted 2 times
...
syu31svc
1 year, 8 months ago
"The alert must be triggered when the average CPU usage exceeds 70 percent for five minutes." Given answer is correct
upvoted 4 times
...
Govcomm
1 year, 9 months ago
Static alert when CPU is greater than 70% for 5 minutes.
upvoted 2 times
...
UnknowMan
1 year, 11 months ago
Correct
upvoted 1 times
...
AnshMan
1 year, 12 months ago
https://docs.microsoft.com/en-us/azure/azure-monitor/alerts/alerts-metric-overview 5 Min (aggregation types are Minimum, Maximum, Average, Total, Count) Static and Greater than Refer to the above link, if in exam it is frequency instead of Agregation/Period we should select 1 min
upvoted 3 times
...
Cheehp
2 years ago
Selected during exam. 5 Min Static Greater than
upvoted 2 times
...
RajatSahani
2 years, 5 months ago
Given Answer is correct - 5 Min, Static, Greater than
upvoted 1 times
...
ScreamingHand
2 years, 5 months ago
Came in today 5th Nov 2021
upvoted 1 times
...
Aniruddha_dravyakar
2 years, 6 months ago
⁵min Dynamic Greater than
upvoted 1 times
...
d0bermannn
2 years, 7 months ago
5min-static-ge obvious for az104
upvoted 1 times
...
goatlord
2 years, 9 months ago
CORRECT
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago