AZ-104 Question 109
Select 2You manage an Azure Storage account that contains critical business documents in Blob Storage. Compliance requirements state that you must maintain an older version of all object changes for at least 30 days, and you need to be able to restore any blobs that are accidentally deleted. Which two features should you enable to meet these requirements with minimal overhead?
- A
Enable soft delete for blobs
- B
Configure a container-level immutable policy
- C
Enable blob versioning
- D
Host the storage account behind a private endpoint
Show answer and explanation
Correct answers: A, C
Explanation
To comply with the requirement of retaining older versions for at least 30 days and restoring accidentally deleted blobs, you need to enable both blob versioning and soft delete. Blob versioning keeps track of every change so you can revert to older versions if needed, while soft delete provides the ability to recover deleted data within a chosen retention period.
- A. Correct.
Enabling soft delete for blobs allows you to recover accidentally deleted objects within a specified retention period.
- B. Incorrect.
A container-level immutable policy locks data for a specified time, but doesn't inherently provide the ability to track every version of the data.
- C. Correct.
Enabling blob versioning automatically maintains prior versions of your blobs, which you can restore if unintended overwrites occur.
- D. Incorrect.
Hosting the storage account behind a private endpoint improves security by limiting public internet access, but it does not address versioning or restore capabilities.