An organization has an Azure subscription named `Sub-App-01` that contains three resource groups: `rg-prod-web`, `rg-prod-db`, and `rg-dev-temp`. You need to configure Azure Cost Management, budgets, and governance to meet the following requirements:
- Monitor spending across the entire subscription with a monthly budget of 10{}000 90\%\\) of the budget, a webhook must trigger an Azure Logic App to delete all virtual machines in `rg-dev-temp`.
- Prevent accidental deletion of any production resources in `rg-prod-web` and `rg-prod-db` by administrators.
- Ensure the Logic App can successfully delete the virtual machines in `rg-dev-temp` when triggered.
Which two actions should you perform? (Select two.)
- AApply a CanNotDelete resource lock directly to the Sub-App-01 subscription.
- Apply a CanNotDelete resource lock separately to the rg-prod-web and rg-prod-db resource groups.Cevap
- Create the monthly budget at the Sub-App-01 subscription scope, configure a threshold alert, and link it to an Action Group configured with a Logic App action.Cevap
- DCreate the monthly budget at the Sub-App-01 subscription scope, and configure a budget alert threshold at that only specifies email recipients under the Alert Recipients settings without linking an Action Group.
Cevap
Apply a CanNotDelete resource lock separately to the rg-prod-web and rg-prod-db resource groups, and create the monthly budget at the Sub-App-01 subscription scope, configure a threshold alert, and link it to an Action Group configured with a Logic App action.
To satisfy the requirements, the monthly budget must be configured at the subscription scope and linked to an Action Group that contains a Logic App action. This allows the budget threshold alert to successfully trigger the Logic App. Additionally, to protect production resources without blocking the deletion of development resources, the CanNotDelete locks must be applied directly to the individual production resource groups rather than the subscription, preventing lock inheritance from affecting the development resource group.
Adım Adım Çözüm
Anahtar Kavram
Azure resource lock inheritance and budget alert Action Group integration.
Tahmini Süre:2m 30s