Configuring Azure Monitor Autoscale for VMSS1 in Azure DevOps | SEO Best Practices | Exam AZ-400

Configuring Azure Monitor Autoscale for VMSS1

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, configure the autoscale settings.

Does this meet the goal?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B.

B

Instead create an action group.

Note: 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

The provided solution is not sufficient to meet the goal.

The solution suggests configuring the autoscale settings from Azure Monitor, but this alone will not generate an email alert whenever the virtual machine scale set scales in or out.

To generate an email alert, an Azure Monitor alert rule must be configured. The alert rule can be set up to trigger an email whenever a specific event occurs, such as scaling in or out of a virtual machine scale set.

Therefore, to meet the goal, the following steps need to be performed:

  1. Configure the autoscale settings for the virtual machine scale set in Azure Monitor.
  2. Create an Azure Monitor alert rule that is triggered when the virtual machine scale set scales in or out.
  3. Configure the alert rule to send an email notification to the appropriate recipients.

Once the above steps are performed, an email alert will be generated whenever the virtual machine scale set scales in or out.