Google Cloud Professional Cloud Security Engineer — Question 275
You work for an organization in a regulated industry that has strict data protection requirements. The organization backs up their data in the cloud. To comply with data privacy regulations, this data can only be stored for a specific length of time and must be deleted after this specific period.
You want to automate the compliance with this regulation while minimizing storage costs. What should you do?
Answer options
- A. Store the data in a persistent disk, and delete the disk at expiration time.
- B. Store the data in a Cloud Bigtable table, and set an expiration time on the column families.
- C. Store the data in a BigQuery table, and set the table's expiration time.
- D. Store the data in a Cloud Storage bucket, and configure the bucket's Object Lifecycle Management feature.
Correct answer: D
Explanation
The correct answer is D, as Cloud Storage's Object Lifecycle Management allows for automated deletion of objects after a specified time, ensuring compliance with data retention regulations. Options A and B do not provide the necessary automation for compliance, and while C is a valid option, it is not as cost-effective as using Cloud Storage for this purpose.