Topic 1 Question 18
You need to set up a policy so that videos stored in a specific Cloud Storage Regional bucket are moved to Coldline after 90 days, and then deleted after one year from their creation. How should you set up the policy?
Use Cloud Storage Object Lifecycle Management using Age conditions with SetStorageClass and Delete actions. Set the SetStorageClass action to 90 days and the Delete action to 275 days (365 ג€" 90)
Use Cloud Storage Object Lifecycle Management using Age conditions with SetStorageClass and Delete actions. Set the SetStorageClass action to 90 days and the Delete action to 365 days.
Use gsutil rewrite and set the Delete action to 275 days (365-90).
Use gsutil rewrite and set the Delete action to 365 days.
ユーザの投票
コメント(17)
Answer is B. There should be no reason to recalculate the time needed to delete after a year.
👍 50Sammigbo2020/05/31Correct is B. You only re-calculate expiry date when objects are re-written using re-write option to another storage class in which case creation date is rest. But in this case objects is moveed to Coldline class after 90 days and then we want to delete the object after 365 days.
👍 38cloudenthu012020/06/25- 正解だと思う選択肢: B
To set up the policy to move videos stored in a specific Cloud Storage Regional bucket to Coldline after 90 days, and then delete them after one year from their creation, you can use Cloud Storage Object Lifecycle Management.
You can configure the lifecycle rule to move objects to Coldline storage class after 90 days by setting an Age condition of 90 days and a SetStorageClass action to Coldline. Then, you can configure the rule to delete objects after one year (365 days) from their creation by setting an Age condition of 365 days and a Delete action. Therefore, Answer B is the correct answer.
https://cloud.google.com/storage/docs/lifecycle https://cloud.google.com/storage/docs/lifecycle#age https://cloud.google.com/storage/docs/lifecycle#actions
👍 4Buruguduystunstugudunstuy2023/02/18
シャッフルモード