Understand how Azure budget alerts and action groups control VM shutdown and email notifications when budget thresholds are exceeded. Master budget management for the AZ-104 exam.
Table of Contents
Question
You have a pay-as-you-go Azure subscription that contains the virtual machines shown in the following table.
Name | Resource group | Daily cost |
---|---|---|
VM1 | RG1 | 20 euros |
VM2 | RG2 | 30 euros |
You create the budget shown in the following exhibit.
The AG1 action group contains a user named [email protected] only.
Use the drop-down menus to select the answer choice that completes each statement based on the information presented in the graphic.
Hot Area:
When the maximum amount in Budget1 is reached.
- VM1 and VM2 are turned off
- VM1 and VM2 continue to run
- VM1 is turned off, and VM2 continues to run
Based on the current usage costs of the virtual machines.
- no email notifications will be sent each month
- one email notification will be sent each month
- two email notifications will be sent each month
- three email notifications will be sent each month
Answer
When the maximum amount in Budget1 is reached: VM1 and VM2 continue to run
Based on the current usage costs of the virtual machines: one email notification will be sent each month
Explanation
When the maximum amount of 1,000 EUR in Budget1 is reached:
VM1 and VM2 continue to run
The budget alert conditions specify actions only at 50% and 70% of the budget amount. No action is defined for 100% of the budget. Therefore, when the 1,000 EUR budget maximum is reached, both VM1 and VM2 will continue running since no shutdown action is triggered at that threshold.
Based on the current daily usage costs of 20 EUR for VM1 and 30 EUR for VM2 (50 EUR total per day):
three email notifications will be sent each month
At a daily spend of 50 EUR, the monthly spend will be approximately 1500 EUR (assuming 30 days in the month). This will exceed all three budget alert thresholds:
- 500 EUR (50% of budget) – triggers 1 email to Action Group AG1
- 700 EUR (70% of budget) – triggers 1 SMS to Action Group AG2
- 1000 EUR (100% of budget) – triggers 1 Azure app notification to Action Group AG3
Since the AG1 action group only contains one email address ([email protected]), a total of 3 notifications will be sent each month – 1 email, 1 SMS, and 1 app notification, when all the defined budget thresholds are surpassed based on the high daily VM costs compared to the budget limit.
In summary, the VMs will not be automatically shut down when the budget is fully consumed, but multiple notifications will be sent to alert about the budget overages at the specified thresholds. Proper budget sizing and adding shutdown actions would be needed to constrain costs.
Microsoft AZ-104 certification exam practice question and answer (Q&A) dump with detail explanation and reference available free, helpful to pass the Microsoft AZ-104 exam and earn Microsoft AZ-104 certification.