Notifications
Clear all
Topic starter
26/06/2022 9:15 am
You have an Azure subscription that contains a resource group named Test RG.
You use TestRG to validate an Azure deployment.
TestRG contains the following resources:
You need to delete TestRG.
What should you do first?
- A . Modify the backup configurations of VM1 and modify the resource lock type of VNET1.
- B . Turn off VM1 and delete all data in Vault1.
- C . Remove the resource lock from VNET1 and delete all data in Vault1.
- D . Turn off VM1 and remove the resource lock from VNET1.
Suggested Answer: C
Explanation:
You can't delete a vault that contains backup data. You must remove the delete locks before trying to delete a resource group.When you delete a resource group, all of its resources are also deleted. Deleting a resource group deletes all of its template deployments and currently stored operations. https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/delete-resource-group?tabs=azure-powershell
Explanation:
You can't delete a vault that contains backup data. You must remove the delete locks before trying to delete a resource group.When you delete a resource group, all of its resources are also deleted. Deleting a resource group deletes all of its template deployments and currently stored operations. https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/delete-resource-group?tabs=azure-powershell