Exam Professional-Data-Engineer Topic 1 Question 382 Discussion
Actual exam question for Google's Professional-Data-Engineer exam
Question #: 382
Topic #: 1
Question #: 382
Topic #: 1
You have important legal hold documents in a Cloud Storage bucket. You need to ensure that these documents are not deleted or modified. What should you do?
Suggested Answer: A Vote an answer
To ensure that important legal hold documents in a Cloud Storage bucket are not deleted or modified, the most effective method is to set and lock a retention policy. Here's why this is the best choice:
Retention Policy:
A retention policy defines a retention period during which objects in the bucket cannot be deleted or modified. This ensures data immutability.
Once a retention policy is set and locked, it cannot be removed or reduced, providing strong protection against accidental or malicious deletions.
Locking the Retention Policy:
Locking a retention policy ensures that the retention period cannot be changed. This action is permanent and guarantees that the specified retention period will be enforced.
Steps to Implement:
Set the Retention Policy:
Define a retention period for the bucket to ensure that all objects are protected for the required duration.
Lock the Retention Policy:
Lock the retention policy to prevent any modifications, ensuring the immutability of the documents.
Reference:
Cloud Storage Retention Policy Documentation
How to Set a Retention Policy
Retention Policy:
A retention policy defines a retention period during which objects in the bucket cannot be deleted or modified. This ensures data immutability.
Once a retention policy is set and locked, it cannot be removed or reduced, providing strong protection against accidental or malicious deletions.
Locking the Retention Policy:
Locking a retention policy ensures that the retention period cannot be changed. This action is permanent and guarantees that the specified retention period will be enforced.
Steps to Implement:
Set the Retention Policy:
Define a retention period for the bucket to ensure that all objects are protected for the required duration.
Lock the Retention Policy:
Lock the retention policy to prevent any modifications, ensuring the immutability of the documents.
Reference:
Cloud Storage Retention Policy Documentation
How to Set a Retention Policy
by Laura at Aug 09, 2026, 10:00 AM
0
0
0
10
Comments
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Report Comment
Commenting
You can sign-up / login (it's free).