An operations team manages a Google Cloud Storage bucket used for storing raw media uploads. To adhere to corporate governance and optimize operational costs, the team must ensure that object access is managed exclusively via Google Cloud IAM without per-object Access Control Lists (ACLs). Furthermore, active objects must automatically transition to Coldline Storage after 30 days of inactivity, and noncurrent object versions must be purged after 90 days. Which TWO actions should the cloud engineer take to fulfill these operational requirements?
- Enable Uniform Bucket-Level Access on the Cloud Storage bucket.Cevap
- Configure Object Lifecycle Management rules on the bucket to set the storage class to Coldline for objects older than 30 days and delete noncurrent versions older than 90 days.Cevap
- CApply fine-grained per-object ACL permissions using `gsutil acl` commands to restrict public object reads across newly created media items.
- DSet the default storage class of the bucket directly to Archive Storage upon creation to lower initial ingestion costs for raw media objects.
Cevap
The cloud engineer should enable Uniform Bucket-Level Access on the Cloud Storage bucket and configure Object Lifecycle Management rules to transition objects to Coldline Storage after 30 days and delete noncurrent versions after 90 days.
Enabling Uniform Bucket-Level Access ensures all permissions are governed strictly through Cloud IAM, disabling individual object ACLs. Defining Object Lifecycle Management rules automatically shifts aging objects to lower-cost Coldline Storage and purges noncurrent versions, meeting both cost and operational compliance requirements.
Adım Adım Çözüm
Anahtar Kavram
Cloud Storage Object Lifecycle Management and Uniform Bucket-Level Access