Microsoft Azure Fundamentals — Question 355
You have an Azure Storage account named storage1.
You need to ensure that containers can be created in, but not deleted from, storage1.
What should you do?
Answer options
- A. Create a ReadOnly lock for storage1.
- B. Create a delete lock for storage1.
- C. Enable container soft delete.
- D. Enable blob soft delete.
Correct answer: B
Explanation
The correct answer is B because a delete lock prevents any deletion of the resources, including containers, while still allowing their creation. Option A would restrict all actions, including creation. Options C and D relate to recovery methods and do not prevent deletion outright.