nerdexam
Microsoft

AZ-104 · Question #404

You have an Azure subscription that contains a resource group named TestRG. You use TestRG to validate an Azure deployment. TestRG contains the following resources: You need to delete TestRG. What…

The correct answer is C. Remove the resource lock from VNET1 and delete all data in Vault1. VNET1 as a Lock of type Delete, so therefore we first need to remove the lock to be able to delete this resource (and consequently the entire Resource Group). You can't delete a vault that contains backup data. Once backup data is deleted, it will go into the soft deleted…

Submitted by priya_blr· Mar 4, 2026Manage identities and governance

Question

You have an Azure subscription that contains a resource group named TestRG. You use TestRG to validate an Azure deployment. TestRG contains the following resources: You need to delete TestRG. What should you do first?

Exhibits

AZ-104 question #404 exhibit 1
AZ-104 question #404 exhibit 2

Options

  • AModify the backup configurations of VM1 and modify the resource lock type of VNET1.
  • BTurn off VM1 and delete all data in Vault1.
  • CRemove the resource lock from VNET1 and delete all data in Vault1.
  • DTurn off VM1 and remove the resource lock from VNET1.

How the community answered

(25 responses)
  • A
    4% (1)
  • B
    16% (4)
  • C
    76% (19)
  • D
    4% (1)

Explanation

VNET1 as a Lock of type Delete, so therefore we first need to remove the lock to be able to delete this resource (and consequently the entire Resource Group). You can't delete a vault that contains backup data. Once backup data is deleted, it will go into the soft deleted state. https://docs.microsoft.com/en-us/azure/backup/backup-azure-delete-vault?tabs=portal#before-

Community Discussion

No community discussion yet for this question.

Full AZ-104 Practice