Unlock the power of your data in the cloud! Get hands-on with Google Cloud's core data services like BigQuery and Looker to validate your practical skills in data ingestion, analysis, and management, and earn your Associate Data Practitioner certification!
Prepare and test your skills
Prepare and test your skills
Worked example. The correct answer is already marked and every option is explained below, so there is nothing to select here. To answer questions yourself, start the free trial.
A data engineering team at a retail organization uploads daily transaction log files into a Google Cloud Storage bucket. To minimize storage costs and comply with internal data retention guidelines, the team needs to automatically delete log files once they are 30 days old.
Which method should the team use to configure and manage automated object deletion on the Cloud Storage bucket?
Cloud Storage Object Lifecycle Management allows administrators and data engineers to define automated rules that apply actions to objects stored within a bucket when specified conditions are met. These rules run automatically in the background without requiring custom code or scheduled jobs.
Delete combined with an Age condition of 30 days ensures that all objects reaching 30 days since creation are automatically scheduled for permanent deletion.Age, CreatedBefore, IsLive, MatchesStorageClass, and NumberOfNewerVersions.gcloud storage), or client library APIs by patching the bucket metadata.Native Object Lifecycle Management is the Google Cloud recommended mechanism for managing data retention and automated cleanup on Cloud Storage buckets. It eliminates the operational overhead and failure risks associated with maintaining custom deletion scripts.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.