exam questions

Exam AZ-204 All Questions

View all questions & answers for the AZ-204 exam

Exam AZ-204 topic 16 question 1 discussion

Actual exam question from Microsoft's AZ-204
Question #: 1
Topic #: 16
[All AZ-204 Questions]

You need to monitor ContentUploadService according to the requirements.
Which command should you use?

  • A. az monitor metrics alert create ג€"n alert ג€"g ג€¦ - -scopes ג€¦ - -condition "avg Percentage CPU > 8"
  • B. az monitor metrics alert create ג€"n alert ג€"g ג€¦ - -scopes ג€¦ - -condition "avg Percentage CPU > 800"
  • C. az monitor metrics alert create ג€"n alert ג€"g ג€¦ - -scopes ג€¦ - -condition "CPU Usage > 800"
  • D. az monitor metrics alert create ג€"n alert ג€"g ג€¦ - -scopes ג€¦ - -condition "CPU Usage > 8"
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
anirbanzeus
Highly Voted 3 years, 10 months ago
C is the correct answer. We are dealing with containers here not VM so "CPU usage" is a valid condition. Had it been VM then it should have been "Percentage CPU usage". 800 is also correct since for containers its measured in millicores. Ref : https://docs.microsoft.com/en-us/azure/azure-monitor/platform/metrics-supported#microsoftcontainerinstancecontainergroups
upvoted 51 times
1CY1
10 months ago
To be an average would we not need a time frame? No time frame was mentioned.
upvoted 1 times
...
Illumielle
3 years, 6 months ago
Where does it say contentuploadservice uses containers? The main problem with B is that 800 is not a percentage.
upvoted 2 times
Illumielle
3 years, 6 months ago
It's in the code. There is still the problem with 800 not being a percentage
upvoted 1 times
...
MiraA
3 years, 6 months ago
See ContentUploadService, line CS02.
upvoted 3 times
...
...
RaviNikkam
2 years, 11 months ago
Correct. 800 percent does not make sense. CPU usage of 800 seems to be correct. C is the answer.
upvoted 2 times
...
beonsoft
3 years, 5 months ago
It is "avg" and not "usage". Reason: it is generalized as multicores could be there. =>Answer C
upvoted 5 times
beonsoft
3 years, 5 months ago
...B...
upvoted 4 times
...
...
...
robjanssen
Highly Voted 4 years, 1 month ago
Shouldn't it be > 80 (instead of 800)?
upvoted 24 times
Pozz4ever
4 years, 1 month ago
agree with you
upvoted 2 times
...
SaNagh
3 years, 8 months ago
The CPU usage measurement is in milicores. 80% of a core would be 800 milicores.
upvoted 11 times
...
insanewriters
3 years, 10 months ago
The CPU Usage measurement is in milicores (1/1000 of a core). So, 80% of a core would be 800 milicores.
upvoted 25 times
...
...
037b907
Most Recent 2 months ago
Selected Answer: C
In 2025 the questions are half answered, many parts are missing so it is difficult to answer
upvoted 1 times
...
uffuchsi
2 years, 2 months ago
B - Scenario: An alert must be raised if the ContentUploadService uses more than 80 percent of available CPU-cores Azure Monitor provides the following metrics for Azure Container Instances. These metrics are available for a container group and individual containers. By default, the metrics are aggregated as averages. CPU Usage - measured in millicores. One millicore is 1/1000th of a CPU core, so 500 millicores represents usage of 0.5 CPU core. Memory Usage - in bytes. Network Bytes Received Per Second and Network Bytes Transmitted Per Second. https://docs.microsoft.com/en-us/azure/container-instances/container-instances-monitor
upvoted 2 times
warchoon
2 years ago
Usage measured in millicores, percentage does not https://learn.microsoft.com/en-us/cli/azure/monitor/metrics/alert?view=azure-cli-latest#:~:text=%2D%2Dcondition%20%22-,avg%20Percentage%20CPU%20%3E%2090,-%22%20%2D%2Dwindow%2Dsize
upvoted 2 times
...
...
OPT_001122
2 years, 5 months ago
Selected Answer: C
C is the correct answer.
upvoted 2 times
...
TheExamMaster2020
2 years, 5 months ago
Did my exam on 15th November 2022. This test case was on it, but not this specific question.
upvoted 2 times
...
Knightie
2 years, 7 months ago
All wrong. 1. It needs to be avg CPU, it doen't make sense for sudden spike of any individual computation, but if Average is over, it needs the alert. 2. I don't see the syntax "CPU Usage" and the words do not match the percentage. 3. Percentage > 80, not 8 nor 800, see from the official example. az monitor metrics alert create -n alert1 -g {ResourceGroup} --scopes {VirtualMachineID1} {VirtualMachineID2} {VirtualMachineID3} \ --condition "avg Percentage CPU > 90" --description "High CPU" --region westus
upvoted 1 times
...
Eltooth
2 years, 10 months ago
Selected Answer: C
C is correct answer.
upvoted 4 times
...
xRiot007
2 years, 10 months ago
We want an alert for an exceeded limit. A,B are invalid from the start, we do not care about averages. D has a wrong number in the evaluation expression C is the correct answer - that "800" is units per thousand. 800/1000 is 80%
upvoted 3 times
...
Sandeep12093
2 years, 10 months ago
ContentUploadService is in ACI. when reading Microsft document found that CPU Usage is used for ACI and Avg percentage is used for VM Also we don't want average just 80% of available CPU SO ANSWER IS C
upvoted 2 times
...
Elsheimy
2 years, 11 months ago
According to https://docs.azure.cn/zh-cn/cli/monitor/metrics/alert?view=azure-cli-latest The answer is B. However, B states 800, I don't know if it's a typo
upvoted 1 times
...
pandrer
3 years ago
Selected Answer: B
similar alerts on https://docs.microsoft.com/en-us/cli/azure/monitor/metrics/alert?view=azure-cli-latest#az-monitor-metrics-alert-create
upvoted 1 times
...
ReniRechner
3 years, 1 month ago
Selected Answer: C
Unit avg CPU: per hundred (%) Unit CPU: per thousand A:8% B:800% C:80% D:0.8%
upvoted 9 times
...
Netspud
3 years, 1 month ago
Selected Answer: C
It is a ACI not a VM so "CPU usage" is correct
upvoted 4 times
...
heisenberg33
3 years, 2 months ago
Selected Answer: C
I believe its C based on this Ref: https://docs.microsoft.com/en-us/azure/container-instances/container-instances-monitor
upvoted 4 times
...
asdasdasg2
3 years, 3 months ago
It's not A or B because we don't care about average usage, we want an alert when the usage goes above 80%. Therefore it mus be C, because as others have stated, CPU usage measurement is in millicores, so 800 would be 80%. Correct answer: C
upvoted 3 times
...
gfiorini
3 years, 5 months ago
"The ContentAnalysisService is deployed with Azure Container Instances" "The solution will use eight CPU cores." CPU usage is measured in millicore (https://docs.microsoft.com/en-us/azure/container-instances/container-instances-monitor) so correct answer should be 'C' (80% = 800millicore)
upvoted 2 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