Which az CLI command should you use to create the required alert for ContentUploadService?
Choose an answer
Tap an option to check your answer.
Correct answer: az monitor metrics alert create -n alert -g `<group>` --scopes `<scope>` --condition "CPU Usage > 800".
Why this is the answer
The correct command uses "CPU Usage" as the metric name and a threshold of "800". In Azure Monitor, "CPU Usage" is the standard metric name for CPU utilization, and it is reported in millicores (1000 millicores = 1 core). Therefore, a threshold of 800 millicores is equivalent to 80% of a single CPU core, which is a common threshold for high CPU alerts. The incorrect options use "Percentage CPU", which is not the standard metric name, or an incorrect threshold. "avg Percentage CPU 8" and "CPU Usage 8" would trigger alerts at a very low CPU utilization (8% or 8 millicores), which is likely not the desired behavior for a high CPU alert. "avg Percentage CPU 800" uses an incorrect metric name and an unrealistic threshold.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed