An organization uses an Azure subscription named `Contoso-Dev-Sub` for testing new applications. Inside `Contoso-Dev-Sub`, a resource group named `rg-sandbox-vms` contains several virtual machines.
You want to implement cost controls and governance policies that satisfy the following requirements:
- Automatically deallocate all virtual machines in `rg-sandbox-vms` when the actual monthly consumption reaches of the designated USD budget.
- Prevent administrators and developers from accidentally deleting the `rg-sandbox-vms` resource group or its contents.
- Allow developers to continue starting, stopping, and resizing the virtual machines as needed, provided the budget threshold has not been exceeded.
Which administrative actions should you perform to meet these requirements?
- ACreate a budget at the `Contoso-Dev-Sub` scope with an alert threshold set to of actual cost, link the alert to an Action Group that triggers an Azure Automation runbook to stop the virtual machines, and apply a ReadOnly resource lock to the `rg-sandbox-vms` resource group.
- BApply a ReadOnly resource lock at the `Contoso-Dev-Sub` subscription level, configure a budget alert threshold at at the subscription scope, and configure the alert to send an email notification to the subscription owners.
- Create a budget at the `Contoso-Dev-Sub` scope with an alert threshold set to of actual cost, link the alert to an Action Group that triggers an Azure Automation runbook to stop the virtual machines, and apply a Delete (`CanNotDelete`) resource lock to the `rg-sandbox-vms` resource group.Cevap
- DCreate a budget at the `rg-sandbox-vms` resource group scope with an alert threshold set to , assign a Delete (`CanNotDelete`) resource lock to the resource group, and configure an Azure Policy definition assigned at the subscription scope to deny write actions when the budget is exceeded.