AZ-104 exam dumps

AZ-104 practice question 38 of 289

Microsoft Certified: Azure Administrator Associate. Associate level, Microsoft. Free question with the correct answer and a full explanation.

AZ-104 Question 38

Single answer

You manage an Azure resource group that hosts a critical Storage Account. The business requires that this Storage Account not be accidentally deleted, but administrators should still be able to upload and modify data within it. Which measure should you implement?

  1. A

    Apply a ReadOnly lock at the resource group level containing the Storage Account

  2. B

    Apply a CanNotDelete lock at the resource group level containing the Storage Account

  3. C

    Apply a ReadOnly lock at the Storage Account resource level

  4. D

    Apply a CanNotDelete lock at the Storage Account resource level

Show answer and explanation

Correct answer: D

Explanation

Using a CanNotDelete lock at the resource level is the best approach because it protects the resource from accidental deletion while allowing normal data operations.

  • A. Incorrect.

    ReadOnly lock prevents modifications to the resource, including data changes. This blocks necessary updates.

  • B. Incorrect.

    Applying a CanNotDelete lock at the resource group level also locks all resources in that group from being deleted, which may be acceptable but is broader in scope than required.

  • C. Incorrect.

    ReadOnly lock at the resource level prevents changes to that specific resource's configuration and data, which goes against the business requirement to upload and modify data.

  • D. Correct.

    CanNotDelete lock at the resource level ensures that the resource cannot be deleted while allowing modifications to data.

Timed practice exam

Take a AZ-104 practice test under exam conditions

60 questions in 60 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam