Google Cloud Associate Data Practitioner — Question 71
You manage a large amount of data in Cloud Storage, including raw data, processed data, and backups. Your organization is subject to strict compliance regulations that mandate data immutability for specific data types. You want to use an efficient process to reduce storage costs while ensuring that your storage strategy meets retention requirements. What should you do?
Answer options
- A. Configure lifecycle management rules to transition objects to appropriate storage classes based on access patterns. Set up Object Versioning for all objects to meet immutability requirements.
- B. Move objects to different storage classes based on their age and access patterns. Use Cloud Key Management Service (Cloud KMS) to encrypt specific objects with customer-managed encryption keys (CMEK) to meet immutability requirements.
- C. Create a Cloud Run function to periodically check object metadata, and move objects to the appropriate storage class based on age and access patterns. Use object holds to enforce immutability for specific objects.
- D. Use object holds to enforce immutability for specific objects, and configure lifecycle management rules to transition objects to appropriate storage classes based on age and access patterns.
Correct answer: D
Explanation
The correct answer, D, effectively combines the use of object holds to enforce immutability with lifecycle management rules to optimize storage costs based on age and access patterns. Option A fails to address immutability effectively without object holds, while option B focuses on encryption rather than lifecycle management for compliance. Option C relies on a Cloud Run function, which is less efficient than direct lifecycle rules and does not incorporate the necessary immutability enforcement.