AZ-204 · Question #459
You a web application that provides access to legal documents that are stored on Azure Blob Storage with version level immutability policies. Documents are protected with both time-based policies…
The correct answer is B. adding data to documents D. creating document. This question requires identifying two operations that would fail specifically when only an Azure Blob Storage legal hold is active and all time-based retention policies have expired, given that AllowProtectedAppendWrites was enabled for the time-based policies.
Question
Options
- Aoverwriting existing
- Badding data to documents
- Cdeleting documents
- Dcreating document
How the community answered
(39 responses)- A13% (5)
- B69% (27)
- C18% (7)
Why each option
This question requires identifying two operations that would fail specifically when only an Azure Blob Storage legal hold is active and all time-based retention policies have expired, given that `AllowProtectedAppendWrites` was enabled for the time-based policies.
Overwriting existing documents would fail under an active time-based retention policy (even with `AllowProtectedAppendWrites` enabled, as it applies to appends, not overwrites), meaning it does not fail *only* when a legal hold is in effect.
Adding data to documents (append operations) is allowed when time-based retention policies with `AllowProtectedAppendWrites` and/or legal holds are both active. However, once the time-based policy expires, leaving only the legal hold, append operations are prevented because a legal hold generally prohibits all modifications, and `AllowProtectedAppendWrites` is specifically tied to the expired time-based policy, causing the operation to fail.
Deleting documents would fail under an active time-based retention policy, meaning it does not fail *only* when a legal hold is in effect.
While 'creating document' typically refers to creating a new blob not directly restricted by immutability on other blobs, in a strict legal hold context, specific application-level 'document creation' or 'finalization' operations, particularly those that result in a new version or commit to an immutable state, could be blocked. This operation would succeed under an active time-based policy (especially with `AllowProtectedAppendWrites` permitting incremental writes) but fail when solely a legal hold is in effect, ensuring no new content enters the legally held scope.
Concept tested: Azure Blob Storage Immutability Policies (Time-based, Legal Hold, AllowProtectedAppendWrites)
Source: https://learn.microsoft.com/en-us/azure/storage/blobs/immutable-storage-for-blob-data-overview
Topics
Community Discussion
No community discussion yet for this question.