
Answer-first summary for fast verification
Answer: Create a delete lock for storage1.
To ensure that containers can be created but not deleted in an Azure Storage account, you need to create a delete lock on storage1. Option B, 'Create a delete lock for storage1,' is the correct approach because a delete lock prevents users from deleting the resource, while still allowing other operations like creation.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
In an Azure Storage account named storage1, you require the ability to create containers but need to prevent their deletion. Which action should you take to achieve this?
A
Create a ReadOnly lock for storage1.
B
Create a delete lock for storage1.
C
Enable container soft delete.
D
Enable blob soft delete.
No comments yet.