Which three resources should you use to implement the scripts? Each correct answer presents part of the solution.

Last Updated on October 31, 2021 by Admin 3

You have an Azure subscription that contains 100 virtual machines.

You have a set of PowerShell scripts that validate the virtual machine environment.

You need to run the scripts whenever there is an operating system update on the virtual machines. The solution must minimize implementation time and recurring costs.

Which three resources should you use to implement the scripts? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

  • an alert action group
  • an Azure Monitor query
  • an Azure Automation runbook
  • a virtual machine that has network access to the 100 virtual machines
  • an alert rule
Explanation:

E: Step 1: Create alert
In your Automation account, select Alerts under Monitoring, and then select New alert rule.

A: Step 2: Configure action groups for your alerts
Once you have your alerts configured, you can set up an action group, which is a group of actions to use across multiple alerts. The actions can include email notifications, runbooks, webhooks, and much more.

C: Use an Azure Automation runbook to run the powershell scripts.

Note: The Azure Automation Process Automation feature supports several types of runbooks, such as the PowerShell runbook, which is a text runbook based on Windows PowerShell.scripting.

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments