You need to protect a critical container from accidental overwrites and deletes and be able to quickly recover a blob to a prior state while controlling storage costs. Which three actions or statements are correct?
Choose an answer
Tap an option to check your answer.
Correct answer: Enable blob versioning on the storage account, To restore a previous state, copy the desired previous version over the base blob (for example, via Put Blob From URL or Make Current Version in the portal), Use lifecycle management rules to delete previous versions older than a defined retention window to control costs.
Why this is the answer
Enabling blob versioning on the storage account is the correct way to protect blobs from accidental overwrites and deletions, as it automatically saves previous states of a blob each time it's modified or deleted. To restore a prior state, you copy the desired previous version over the base blob, effectively making an older version the current one. This can be done via methods like Put Blob From URL or the "Make Current Version" option in the Azure portal. While versioning protects data, it also incurs storage costs for each version. Therefore, using lifecycle management rules to automatically delete previous versions older than a specified retention window is crucial for controlling these costs. Previous versions do incur storage costs immediately, not just when read, making that statement incorrect. Versioning only applies to blobs created or modified after it's enabled; it does not retroactively create versions for existing blobs.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed