Ensure Email Alerts for Azure VMSS Scaling | AZ-400 Exam Solution

Generate Email Alerts for Azure VMSS Scaling

Question

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.

After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.

You have an Azure DevOps organization named Contoso and an Azure subscription. The subscription contains an Azure virtual machine scale set named VMSS1 that is configured for autoscaling.

You have a project in Azure DevOps named Project1. Project1 is used to build a web app named App1 and deploy App1 to VMSS1.

You need to ensure that an email alert is generated whenever VMSS1 scales in or out.

Solution: From Azure Monitor, create an action group.

Does this meet the goal?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B.

A

An action group is a collection of notification preferences defined by the owner of an Azure subscription. Azure Monitor, Service Health and Azure Advisor alerts use action groups to notify users that an alert has been triggered.

https://docs.microsoft.com/en-us/azure/azure-monitor/alerts/action-groups

Yes, the provided solution of creating an action group from Azure Monitor meets the goal of generating an email alert whenever the virtual machine scale set scales in or out.

Azure Monitor is a monitoring service in Azure that provides alerts and insights on various resources in Azure. An action group is a collection of notification preferences and/or actions that you define when an alert is triggered. When an alert is triggered, Azure Monitor can use the action group to notify the specified users, groups, or services with a notification of your choice.

To configure email alerts for VMSS1 scaling events, you can follow these high-level steps:

  1. Create an action group in Azure Monitor: This involves providing a name and description for the action group, specifying the email address(es) of the recipient(s), and choosing the notification type (in this case, email).

  2. Create an alert rule for VMSS1 scaling events: This involves defining the conditions that will trigger the alert (such as the VMSS1 instance count decreasing or increasing beyond a certain threshold) and specifying the action group to use when the alert is triggered.

By following the above steps, you can configure Azure Monitor to send email alerts to the specified recipients whenever VMSS1 scales in or out. This will help you keep track of any changes in the VMSS1 instance count and take appropriate action if necessary.