Topic 1 Question 248
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?
Create an object lifecycle on the storage bucket to change the storage class to Archive Storage for objects with an age over 30 days.
Create a cron job in Cloud Scheduler to call a Cloud Functions instance every day to delete files older than 30 days.
Create a retention policy on the storage bucket of 30 days, and lock the bucket by using a retention policy lock.
Enable object versioning on the storage bucket and add lifecycle rules to expire non-current versions after 30 days.
ユーザの投票
コメント(3)
A. Create an object lifecycle on the storage bucket to change the storage class to Archive Storage for objects with an age over 30 days.
👍 1shiowbah2023/12/29- 正解だと思う選択肢: A
ChatGPT says option A. creating an object lifecycle policy to transition objects older than 30 days to the Archive Storage class is the recommended solution for automatically managing costs and storage of files in Cloud Storage.
👍 1KelvinToo2023/12/31 A thaan da correct
👍 1Gocool282024/01/05
シャッフルモード