nerdexam
CompTIA

CV0-004 · Question #188

A technician is trying to delete six decommissioned VMs. Four VMs were deleted without issue. However, two of the VMs cannot be deleted due to an error. Which of the following would MOST likely…

The correct answer is D. Remove the lock from the two VMs. Cloud platforms such as Azure support resource locks (e.g., 'CanNotDelete' or 'ReadOnly' locks) that prevent accidental deletion or modification of resources. If two VMs have a delete lock applied, any attempt to delete them will fail with an error. Removing the lock first…

Troubleshooting

Question

A technician is trying to delete six decommissioned VMs. Four VMs were deleted without issue. However, two of the VMs cannot be deleted due to an error. Which of the following would MOST likely enable the technician to delete the VMs?

Options

  • ARemove the snapshots
  • BRemove the VMs' IP addresses
  • CRemove the VMs from the resource group
  • DRemove the lock from the two VMs

How the community answered

(36 responses)
  • A
    3% (1)
  • B
    6% (2)
  • C
    11% (4)
  • D
    81% (29)

Explanation

Cloud platforms such as Azure support resource locks (e.g., 'CanNotDelete' or 'ReadOnly' locks) that prevent accidental deletion or modification of resources. If two VMs have a delete lock applied, any attempt to delete them will fail with an error. Removing the lock first allows the deletion to proceed normally. Removing snapshots (A) might be needed if snapshot dependencies block deletion, but a lock is the more direct cause of a deletion error for just some resources. Removing IP addresses (B) or moving from a resource group (C) would not resolve a lock-based deletion error.

Topics

#VM management#Resource locks#Cloud troubleshooting#Deletion errors

Community Discussion

No community discussion yet for this question.

Full CV0-004 Practice