Azure DevOps VMSS Autoscaling Email Alert | Exam AZ-400 Solution

Azure DevOps VMSS Autoscaling Email Alert

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 DevOps, configure the Notifications settings for Project1.

Does this meet the goal?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B.

B

Notifications help you and your team stay informed about activity that occurs within your projects in Azure DevOps. You can get notified when changes occur to the following items:

-> work items

-> code reviews

-> pull requests

-> source control files

builds

https://docs.microsoft.com/en-us/azure/devops/notifications/about-notifications?view=azure-devops

The given solution to configure Notifications settings for Project1 in Azure DevOps does not meet the goal of generating an email alert whenever the virtual machine scale set (VMSS1) scales in or out.

Notifications settings in Azure DevOps are related to the events occurring in Azure DevOps, such as build completion, code changes, pull requests, etc. However, VMSS1 autoscaling events are not related to Azure DevOps, but instead are managed by Azure.

To achieve the goal, you need to configure autoscaling notifications for VMSS1 in the Azure portal. You can do this by creating an Azure Monitor alert rule, which will trigger an email alert whenever the autoscaling event occurs.

To create an Azure Monitor alert rule for autoscaling events, follow these steps:

  1. In the Azure portal, go to the VMSS1 resource page.
  2. Select the "Alerts" option under the "Monitoring" section.
  3. Click on the "New alert rule" button.
  4. In the "Create alert rule" form, configure the conditions for triggering the alert, such as "Scale In" or "Scale Out" events.
  5. Configure the "Action Group" section to define the notification channels for the alert, such as email or SMS.
  6. Save the alert rule.

With this configuration, whenever VMSS1 scales in or out, the Azure Monitor alert rule will trigger an email notification to the specified email address(es).

Therefore, the correct answer to the question is B. No.