
Answer-first summary for fast verification
Answer: Set a retention policy on the bucket with a period of 7 years., Create an object lifecycle policy on the bucket that moves objects from Standard Storage to Archive Storage after 3 years.
To comply with regulatory requirements and optimize storage costs, two main actions are recommended. First, setting a retention policy on the bucket for 7 years ensures that all data objects are preserved for the required duration, preventing any deletion or modification before this period elapses. This addresses the compliance aspect directly. Second, implementing an object lifecycle policy that transitions objects from Standard Storage to Archive Storage after 3 years optimizes costs by moving infrequently accessed data to a cheaper storage class. This approach leverages Google Cloud's built-in features for cost efficiency without compromising on data availability or compliance. Options B and C do not directly address the cost optimization requirement, and Option E, while feasible, is less efficient than using native lifecycle policies for this purpose.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You are developing an application that stores and accesses sensitive unstructured data in a Cloud Storage bucket. To meet regulatory requirements, all data objects must be retained for at least 7 years after creation. Objects older than 3 years are rarely accessed (less than once per year). You need to configure object storage while optimizing costs. What should you do? (Select two.)
A
Set a retention policy on the bucket with a period of 7 years.
B
Use IAM Conditions to provide access to objects 7 years after the object creation date.
C
Enable Object Versioning to prevent objects from being accidentally deleted for 7 years after object creation.
D
Create an object lifecycle policy on the bucket that moves objects from Standard Storage to Archive Storage after 3 years.
E
Implement a Cloud Function that checks the age of each object in the bucket and moves the objects older than 3 years to a second bucket with the Archive Storage class. Use Cloud Scheduler to trigger the Cloud Function on a daily schedule.
No comments yet.