Courseiva
Secure compute, storage, and databaseshardMultiple ChoiceObjective-mapped

AZ-500 Secure compute, storage, and databases Practice Question

A company stores business records in Azure Blob Storage. Due to a legal investigation, they must prevent any modification or deletion of the blobs for an indefinite period until the legal hold is released. They also need to ensure that even storage account owners cannot alter the data during the hold. Which blob storage feature should they enable?

⚠ Common exam trap

Test-takers frequently confuse time-based retention policies (which have a fixed duration) with legal holds (which are indefinite), or assume that soft delete or versioning can prevent modification or deletion by privileged users, when in fact they only provide recovery options and do not block destructive operations.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Legal hold

Legal hold (option B) is the correct choice because it is designed to protect blobs from any modification or deletion for an indefinite period, even by storage account owners. Unlike time-based retention policies, a legal hold has no expiration and cannot be removed until explicitly cleared by an authorized user, making it ideal for indefinite legal investigations.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Time-based retention policy

    Why it's wrong here

    Time-based retention policy is not suited to this scenario because it defines a finite, fixed retention interval (e.g., 7 years) after which blobs automatically become eligible for deletion or modification unless the policy is extended. Litigation often requires an indefinite hold that lasts for an unknown duration, which a time-based policy cannot guarantee. Additionally, time-based retention relies on clock-based expiration, so once the period lapses, the protection disappears automatically — a critical gap when a legal case is still active.

  • Legal hold

    Why this is correct

    Legal hold is the correct choice because it applies an indefinite, immutable lock on blob storage, preventing any modification or deletion until the hold is explicitly released by an authorized user. This hold is designed for legal and compliance scenarios where records must be preserved for an unknown or open-ended duration, such as active litigation or an ongoing investigation. Unlike time-based retention, legal hold does not expire automatically and continues protecting data until the hold is removed, ensuring that records remain untouched for as long as legally required.

  • Soft delete

    Why it's wrong here

    Soft delete is incorrect here because it does not block deletion or modification at all; it only retains a deleted blob (or version) for a configurable grace period (e.g., 7 or 14 days) so that an administrator can restore it after accidental or malicious deletion. Soft delete is a recovery mechanism, not a prevention mechanism — authorized users can still overwrite or delete blobs, and the data is only recoverable within the specified retention window. It also does not enforce immutability, so a user with write permissions could alter records during the soft-delete period, which would violate the requirement to preserve records in their original state.

  • Blob versioning

    Why it's wrong here

    Blob versioning is not a valid solution for this requirement because it preserves prior versions of a blob when it is modified or deleted, but it does not prevent those operations from occurring. Versioning enables rollback to an earlier version, but it does not enforce immutability — a blob can still be overwritten or deleted, and only the previous versions are retained as separate objects. Furthermore, versioning does not protect against deletion of the entire storage account or container, and versions themselves can be deleted (unless combined with additional controls like legal hold), so it fails to meet the need for a lockdown that prevents any change or removal during litigation.

Quick reference

Azure Blob Storage Tier Comparison

TierStorage CostRetrieval CostLatencyUse Case
HotHighestLowestImmediateActive data, frequent reads
CoolLowerHigherImmediateData accessed < once / month
ColdLower stillHigherImmediateData accessed < once / quarter
ArchiveLowestHighest + rehydration delayHoursLong-term compliance retention

About these practice questions

This AZ-500 question is part of Courseiva's 194-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This AZ-500 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AZ-500 exam.