AZ-104 Question 110
Single answerYou are an Azure Administrator for a company that stores critical financial reports in an Azure Storage account. These reports are updated frequently, and the finance team requires the ability to recover previous iterations of the files in case of any accidental modification. Which configuration should you implement in this storage account to meet the requirement?
- A
Turn on an immutable storage policy for the container
- B
Enable blob versioning in the storage account
- C
Enable static website hosting for the container
- D
Configure soft delete for containers
Show answer and explanation
Correct answer: B
Explanation
Enabling blob versioning in the storage account ensures that any time a blob is updated or overwritten, the previous version is retained. This allows you to revert or recover older versions of a file if it was accidentally modified.
- A. Incorrect.
Immutable storage retains data in a write-once, read-many policy for compliance but does not automatically maintain multiple versions of updated files.
- B. Correct.
Blob versioning is specifically designed to retain previous versions of blobs, allowing recovery of older file versions when needed.
- C. Incorrect.
Static website hosting only serves content from the storage account but does not offer version retention of blobs.
- D. Incorrect.
Soft delete for containers helps recover a deleted container but does not maintain multiple versions of the files themselves.