Google Cloud Certified - Associate Cloud Engineer Associate-Cloud-Engineer Question # 23 Topic 3 Discussion

Google Cloud Certified - Associate Cloud Engineer Associate-Cloud-Engineer Question # 23 Topic 3 Discussion

Associate-Cloud-Engineer Exam Topic 3 Question 23 Discussion:
Question #: 23
Topic #: 3

Your application stores files on Cloud Storage by using the Standard Storage class. The application only requires access to files created in the last 30 days. You want to automatically save costs on files that are no longer accessed by the application. What should you do?


A.

Create a retention policy on the storage bucket of 30 days, and lock the bucket by using a retention policy lock.


B.

Enable object versioning on the storage bucket and add lifecycle rules to expire non-current versions after 30 days


C.

Create an object lifecycle on the storage bucket to change the storage class to Archive Storage for objects with an age over 30 days.


D.

Create a cron job in Cloud Scheduler to call a Cloud Functions instance every day to delete files older than 30 days.


Get Premium Associate-Cloud-Engineer Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.