Google Cloud Professional Data Engineer — Question 180
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?
Answer options
- A. Set a retention policy. Lock the retention policy.
- B. Set a retention policy. Set the default storage class to Archive for long-term digital preservation.
- C. Enable the Object Versioning feature. Add a lifecycle rule.
- D. Enable the Object Versioning feature. Create a copy in a bucket in a different region.
Correct answer: A
Explanation
The correct answer is A because setting and locking a retention policy prevents any modifications or deletions to the documents for the specified duration, ensuring compliance with legal hold requirements. Options B, C, and D do not provide the same level of protection against deletion or modification as a locked retention policy does.