Microsoft Azure Architect Technologies (2020, legacy) — Question 11
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.
Answer options
- A. an alert action group
- B. an Azure Monitor query
- C. an Azure Automation runbook
- D. a virtual machine that has network access to the 100 virtual machines
- E. an alert rule
Correct answer: A, C, E
Explanation
The correct options are A, C, and E. An alert action group allows you to define actions to take when an alert is triggered, such as running scripts. An Azure Automation runbook automates the execution of PowerShell scripts in response to an alert, and an alert rule monitors the virtual machines for OS updates. Options B and D do not directly facilitate the execution of scripts in response to OS updates, making them incorrect choices.