-
> Your company has an Azure Subscription that contains a resource group named TD-Cebu.
> TD-Cebu contains the following resources:
> (VNet, VM, Storage Account, Recovery Services Vault)> What should you do first to delete the TD-Cebu resource group?
The question does not state if the resources in the group are to be deleted or retained.
If the resources are to be retained, this is an acceptable answer:
> Stop TD-VM and delete the resource lock of TD-VNET.
If the resources are to be deleted, this is an acceptable answer:
> Delete all the resource lock and backup data in TD-RSV.
-
Hello samabc,
Thank you for your feedback. You are correct that the first step depends on whether the resources in TD-Cebu are being retained or deleted. In the context of this question, the goal is to delete the entire resource group and all resources inside it, and that’s why Option 3 – “Delete all the resource lock and backup data in TD-RSV” is the correct answer.
The key blocker here is the Recovery Services Vault (TD-RSV). Azure does not allow a Recovery Services Vault deletion if it contains backup items. Since TD-RSV holds daily backups of TD-VM, you must first stop the backup, delete the backup data, and then delete the vault itself. Only after the vault is empty can you remove the resource locks from TD-VNET and TD-SA and delete the resource group.
We appreciate you pointing out the ambiguity in the question. We will update it to state that the intention is to delete the resource group and all resources, so the reasoning behind Option 3 is clear from the start.
Best regards,
Nikee @ Tutorials Dojo
Log in to reply.