Exam4Training

How should you set up the policy?

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?
A . 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 C 90)
B . 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.
C . Use gsutil rewrite and set the Delete action to 275 days (365-90).
D . Use gsutil rewrite and set the Delete action to 365 days.

Answer: A

Explanation:

https://cloud.google.com/storage/docs/lifecycle#setstorageclass-cost

# The object’s time spent set at the original storage class counts towards any minimum storage duration that applies for the new storage class.

Exit mobile version