QuestionQ4

VerifiedMonitor and maintain Azure resources

You have an Azure subscription that contains a virtual machine named VM1 and an Azure function named App1.

You need to create an alert rule that will run App1 if VM1 stops.

What should you create for the alert rule?

Explanation

In Azure Monitor, an alert rule triggers an action group when its condition is met. Action groups can perform automated actions such as calling an Azure Function, which is how App1 can run when an alert detects that VM1 has stopped. Microsoft Learn states that alerts initiate the associated action group and that action groups can include Azure functions.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!