AZ-304 – Question #96


Question #96

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.

You have an Azure Storage v2 account named storage1.
You plan to archive data to storage1.
You need to ensure that the archived data cannot be deleted for five years. The solution must prevent administrators from deleting the data.

Q1. Solution: You create an Azure Blob storage container, and you configure a legal hold access policy.
Does this meet the goal?

A. Yes
B. No

Correct Answer: B
Use an Azure Blob storage container, but use a time-based retention policy instead of a legal hold.
Immutable storage for Azure Blob storage enables users to store business-critical data objects in a WORM (Write Once, Read Many) state. This state makes the data non-erasable and non-modifiable for a user-specified interval. For the duration of the retention interval, blobs can be created and read, but cannot be modified or deleted. Immutable storage is available for general-purpose v2 and Blob storage accounts in all Azure regions.
Note: Set retention policies and legal holds
1. Create a new container or select an existing container to store the blobs that need to be kept in the immutable state. The container must be in a general- purpose v2 or Blob storage account.
2. Select Access policy in the container settings. Then select Add policy under Immutable blob storage.
3. Either
✑ To enable legal holds, select Add Policy. Select Legal hold from the drop-down menu, or
✑ To enable time-based retention, select Time-based retention from the drop-down menu.
4. Enter the retention interval in days (acceptable values are 1 to 146000 days).

Q2. Solution: You create a file share and snapshots.
Does this meet the goal?

A. Yes
B. No

Q3. Solution: You create a file share, and you configure an access policy.
Does this meet the goal?

A. Yes
B. No