Intrigued by the art of cloud architecture? Discover how to design, develop, and manage robust, secure, scalable, and dynamic solutions on Google Cloud as you prepare for the Professional Cloud Architect exam!
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 financial services organization stores transaction audit files in a Cloud Storage bucket with Object Versioning enabled. The files are written under the prefix audit-logs/ and follow specific access patterns:
audit-logs/ prefix should be permanently removed 14 days after becoming noncurrent.Which Object Lifecycle Management (OLM) configuration meets these requirements with the least operational overhead?
Cloud Storage Object Lifecycle Management (OLM) allows administrators to define declarative rules consisting of actions (such as SetStorageClass and Delete) coupled with specific conditions (such as Age, MatchesPrefix, IsLive, and DaysSinceNoncurrentTime). Cloud Storage automatically inspects objects within the bucket and executes the configured actions asynchronously without requiring external compute infrastructure.
SetStorageClass with target Nearline at Age: 30 aligns with monthly access patterns.SetStorageClass with target Coldline at Age: 90 matches quarterly access requirements.MatchesPrefix: audit-logs/ condition ensures that only audit log objects are affected by these policies.Delete action with Age: 365 purges live logs after one year.DaysSinceNoncurrentTime: 14 (or IsLive: false with noncurrent age) ensures that superseded or deleted log versions are permanently removed 14 days after becoming noncurrent, preventing unbounded storage accumulation in version-enabled buckets.Native lifecycle policies execute directly within the storage control plane, providing predictable lifecycle transitions and deletions while strictly honoring prefix constraints and version states.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.