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 analytics team stores reporting archives in a Cloud Storage bucket using the Standard storage class. The team identifies that reports are accessed frequently during the first 90 days after creation, but access drops significantly after this period.
To optimize storage costs, the team needs to automatically move reports older than 90 days to the Nearline storage class. Additionally, to avoid Class A transition operation charges outweighing storage savings on small files, only objects larger than 5 MiB (5,242,880 bytes) should be transitioned.
Which Object Lifecycle Management configuration should you implement on the bucket?
Object Lifecycle Management (OLM) in Cloud Storage allows users to define automated rules that manage objects throughout their lifecycle. By using the SetStorageClass action, Cloud Storage automatically transitions matching objects to colder, lower-cost storage tiers (such as Nearline, Coldline, or Archive) without requiring manual scripts or data rewrites.
age condition to 90 ensures that Cloud Storage evaluates the object's creation date and triggers the action once the object reaches 90 days of age.matchesStorageClass to STANDARD ensures the rule only applies to objects currently residing in Standard storage, avoiding unnecessary re-evaluations or redundant operations.SetStorageClass action specifies NEARLINE as the target tier, which matches data accessed less than once a month.sizeAboveBytes to 5242880 (5 MiB) establishes a minimum size filter. Small objects beneath this threshold are excluded, preventing the Class A transition operation fee from exceeding the ongoing storage cost savings.SetStorageClass do not rewrite data, avoiding inter-region replication fees and data retrieval charges during transition.age, matchesStorageClass, sizeAboveBytes, matchesPrefix, and matchesSuffix to target exact object subsets.This configuration directly targets the specific access pattern by shifting data to the appropriate storage class while safeguarding the organization against uneconomical Class A API transition costs on small files.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.