AZ-801 · Question #25
You have 100 Azure virtual machines that run Windows Server. The virtual machines are onboarded to Microsoft Defender for Cloud. You need to shut down a virtual machine automatically if Microsoft…
The correct answer is A. a logic app. To automatically shut down a virtual machine based on a specific Microsoft Defender for Cloud alert, an Azure Logic App should be used. Logic Apps can be triggered by Defender for Cloud alerts and then execute predefined actions, such as shutting down a virtual machine.
Question
Options
- Aa logic app
- Ba workbook
- Ca security policy
- Dadaptive network hardening
How the community answered
(53 responses)- A72% (38)
- B17% (9)
- C8% (4)
- D4% (2)
Why each option
To automatically shut down a virtual machine based on a specific Microsoft Defender for Cloud alert, an Azure Logic App should be used. Logic Apps can be triggered by Defender for Cloud alerts and then execute predefined actions, such as shutting down a virtual machine.
Azure Logic Apps provide a serverless platform to create automated workflows that can be triggered by specific events, including security alerts from Microsoft Defender for Cloud. By configuring a Logic App to listen for the 'Antimalware disabled in the virtual machine' alert, it can then execute a predefined action, such as invoking an Azure API call to shut down the affected virtual machine, thus automating the remediation process.
Workbooks are used for creating custom interactive reports and dashboards for data visualization and analysis within Microsoft Defender for Cloud, not for automating responses to security alerts.
A security policy in Microsoft Defender for Cloud defines security configuration requirements for resources and assesses compliance, but it does not automatically execute remediation actions like shutting down a VM in response to an alert.
Adaptive network hardening recommends network security group (NSG) rules to restrict network traffic to and from virtual machines, focusing on network-level security, not on automating responses to antimalware alerts.
Concept tested: Logic Apps for Defender for Cloud alert automation
Source: learn.microsoft.com/azure/defender-for-cloud/workflow-automation
Topics
Community Discussion
No community discussion yet for this question.