Exam AZ-400 All QuestionsBrowse all questions from this exam
Question 77

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?

    Correct Answer: B

    To ensure that an email alert is generated whenever the virtual machine scale set (VMSS1) scales in or out, it is necessary to configure an action group in Azure Monitor. An action group is a collection of notification preferences, which might include email alerts, used by Azure Monitor to notify users when an alert has been triggered. Simply configuring the autoscale settings in Azure Monitor is insufficient on its own to achieve this goal; you specifically need to set up an action group to send email notifications.

Discussion
Lucky_meOption: B

Action group is the correct solution

Tyler2023

I think you don't need an action group, you only need to check the box for "Email administrators", "Email co-administrator", or add email on the text field based on this https://www.trendmicro.com/cloudoneconformity/knowledge-base/azure/VirtualMachines/enable-autoscale-notifications.html

catfood

agree. https://learn.microsoft.com/en-us/azure/azure-monitor/autoscale/autoscale-webhook-email?tabs=portal

gaboOption: A

From Autoscale settings, choose option to send email and that requires to setup an action group. So the answer is partially yes and partially no, really confusing.

ay_mOption: A

Intuitively I would say an action group is needed, but apparently you can configure this directly from the autoscale settings https://learn.microsoft.com/en-us/azure/azure-monitor/autoscale/autoscale-webhook-email?tabs=portal

vsvaidOption: A

The email alert can be configured so yes. https://learn.microsoft.com/en-us/azure/azure-monitor/autoscale/autoscale-webhook-email?tabs=portal

PravinDhoteOption: B

ANS B - Action group is needed.

Sam90765Option: A

I think it is Yes; https://www.trendmicro.com/cloudoneconformity/knowledge-base/azure/VirtualMachines/enable-autoscale-notifications.html

Tyler2023

yeah, I also think it is Yes, you need to first configure the auto-scale, I also saw this message on my VMSS resource

kennynelconOption: B

Email alert means you need an action group

AugustineUbaOption: A

Microsoft documentation clearly states "Use autoscale actions to send email and webhook alert notifications in Azure Monitor" form the topic in the below link https://learn.microsoft.com/en-us/azure/azure-monitor/autoscale/autoscale-webhook-email?tabs=portal So correct answer is A

ozbonnyOption: B

A configures the auto scale that is fine but to send alerts you need to configure the action from action groups to send email

vsvaidOption: A

https://learn.microsoft.com/en-us/azure/azure-monitor/autoscale/autoscale-webhook-email?tabs=portal

yana_bOption: B

Use an action group instead

catfoodOption: A

Set up notifications using the Azure portal. Select the Notify tab on the autoscale settings page to configure notifications. Select the check boxes to send an email to the subscription administrator or co-administrators. You can also enter a list of email addresses to send notifications to. https://learn.microsoft.com/en-us/azure/azure-monitor/autoscale/autoscale-webhook-email?tabs=portal

Tyler2023Option: A

My answer is A, you need to first configure the auto-scale before you can setup any notification https://www.trendmicro.com/cloudoneconformity/knowledge-base/azure/VirtualMachines/enable-autoscale-notifications.html

syu31svcOption: B

No for sure Action group is needed