AZ-104 – Question 256


You have an Azure virtual machine named VM1.
Azure collects events from VM1.
You are creating an alert rule in Azure Monitor to notify an administrator when an error is logged in the System event log of VM1.
Which target resource should you monitor in the alert rule?

  • A. virtual machine extension
  • B. virtual machine
  • C. metric alert
  • D. Azure Log Analytics workspace

Correct Answer: D 
For the first step to create the new alert rule, under the Create Alert section, you are going to select your Log Analytics workspace as the resource, since this is a log based alert signal.