Launch price: every exam for $29.99 a year, for the first 300 buyers. See the price

CertStreak
Menu

Set up alert rules, action groups, and alert processing rules in Azure Monitor

A worked example

Single answer

Fabrikam hosts a line-of-business application on several Azure VMs. The support team has these requirements:

  • Receive a notification when any of these VMs becomes degraded or unavailable because of an Azure platform cause.
  • Do not receive notifications when an administrator deliberately changes a VM, for example by shutting it down.
  • The notification must reflect the health of the individual VMs, not general Azure service status for the region.

Which alert rule configuration meets all the requirements?

Choose one answer
Why

Resource health alert rules track the health of each resource. Their conditions include Current resource status (Available, Degraded, Unavailable) and Reason type (Platform Initiated, User Initiated, Unknown). If you select Degraded and Unavailable with Platform Initiated, the rule catches Azure-caused problems and ignores deliberate administrator actions. Service health alerts work at the subscription level for services and regions, so they cannot meet the per-VM requirement.

  • Not correct: A metric alert rule on VM Availability for each VM that fires when the value drops below 1. The availability metric cannot filter on whether a cause was platform-initiated or user-initiated. It also has no Degraded state, so it cannot meet the filtering requirements.
  • Not correct: A resource health alert rule scoped to the VMs, with Current resource status set to Unavailable and Reason type set to User Initiated. This rule fires on the events the team wants to ignore. It also omits the Degraded status.
  • Correct: A resource health alert rule scoped to the VMs, with Current resource status set to Degraded and Unavailable and Reason type set to Platform Initiated. Resource health reports status for each resource. You can filter it on the current status (Degraded, Unavailable) and on the cause, so user-initiated events are excluded.
  • Not correct: An activity log alert rule with the Activity log – Security signal source and Event level set to Critical. This signal source provides security-related events. It does not provide resource-level health status for VMs.
  • Not correct: A service health alert rule for Virtual Machines in the application's region, with the Service issue event type. Service health gives subscription-level status for Azure services and regions. It does not report the health of each individual VM.

Practise this topic until it's automatic.

Ten questions a day, every answer explained, and misses that come back until you beat them.

Start free