GCP PCA · Question 24 · Storage Systems
A media company stores millions of high-resolution images in Cloud Storage. Images are accessed frequently during the first 30 days after publication. After 30 days, they are rarely accessed but must be kept for 5 years for compliance. After 5 years, they should be deleted. How can you automate this process most cost-effectively?
A media company stores millions of high-resolution images in Cloud Storage. Images are accessed frequently during the first 30 days after publication. After 30 days, they are rarely accessed but must be kept for 5 years for compliance. After 5 years, they should be deleted. How can you automate this process most cost-effectively?
Answer options:
Write a Cloud Function triggered by Cloud Scheduler to scan the bucket daily and move or delete files.
Create an Object Lifecycle Management policy to transition objects to Coldline storage after 30 days, and delete them after 1825 days.
Store the images in Nearline storage initially, then manually move them to Archive storage after 5 years.
Use BigQuery to store the images and use partition expiration to delete them after 5 years.
How to approach this question
Full Answer
Common mistakes
Practice the full GCP Professional Cloud Architect Practice Exam 7
50 questions · hints · full answers · grading
Expert