Google Professional Cloud Developer Question 85
Select 3Google Cloud PlatformYou are developing a cloud-based application that processes sensitive customer data. The data must be stored in a specific geographical region to comply with data residency regulations. Additionally, the data should be automatically deleted after 7 years to meet regulatory lifecycle requirements. Which actions should you take to ensure compliance?
- A
Use Google Cloud Storage with a bucket location set to the required geographical region.
- B
Configure a lifecycle management policy on the Google Cloud Storage bucket to delete objects older than 7 years.
- C
Enable Cloud Storage Object Versioning to retain data indefinitely.
- D
Use BigQuery with a dataset location set to the required geographical region.
- E
Set up a Dataflow job to regularly delete data older than 7 years.
Show answer and explanation
Correct answers: A, B, D
Explanation
To meet regulatory requirements for data residency and lifecycle management, you must ensure the data is stored in the required geographical region and is automatically deleted after 7 years. Google Cloud Storage and BigQuery allow you to specify data locations for residency compliance. Lifecycle management policies in Cloud Storage simplify the automation of data deletion, while Object Versioning and manual Dataflow jobs are not suitable for these requirements.
- A. Correct.
Correct: Setting the bucket location ensures compliance with data residency requirements by storing data in the required geographical region.
- B. Correct.
Correct: Configuring a lifecycle management policy ensures that data is deleted automatically after 7 years, meeting regulatory lifecycle requirements.
- C. Incorrect.
Incorrect: Enabling Object Versioning retains all versions of an object indefinitely, which violates the requirement to delete data after 7 years.
- D. Correct.
Correct: Setting the dataset location in BigQuery ensures that data is stored in the required geographical region, fulfilling data residency requirements.
- E. Incorrect.
Incorrect: While Dataflow can delete data programmatically, it is not the most efficient or recommended method for managing data lifecycle policies in Google Cloud.