AZ-104 Practice Question 73: Container Soft Delete Restore
Microsoft Azure Administrator Associate (AZ-104) · Test 8 · question 3 of 10
Container soft delete is enabled on a storage account with a 7-day retention period. Three days ago an engineer deleted a container that held several thousand blobs. The container must now be recovered with its contents.
What should the administrator do?
Show answer and explanation
Answer:
With container soft delete enabled, a deleted container and its blobs are kept for the retention period and can be restored from the portal (show deleted containers, then Undelete), or with PowerShell or the CLI. At three days the container is still inside the 7-day window.
Option A is wrong because blob versioning protects against overwrites and deletes of blobs, not against deletion of the container that holds them.
Option C is wrong because geo-replication copies the deletion to the secondary region, so the container is not there either.
Option D is unnecessary because recovery is self-service while the retention period has not ended.
Reference: Soft delete for containers