Medium1 markMultiple Choice
Subtask 5.3: Manage implementation and optimize costsStorageCloud StorageCost OptimizationLifecycle Policies

GCP PCA · Question 49 · Manage implementation and optimize costs

Your company generates 1 TB of log data daily. The data must be immediately accessible for analysis for the first 30 days. From day 31 to 365, it is rarely accessed but must be kept for compliance. After 1 year, it must be kept indefinitely for legal reasons but will almost never be read. Which TWO actions should you take to optimize Cloud Storage costs? (Select TWO)

Answer options:

A.

Store the initial data in the Standard storage class.

B.

Store the initial data in the Archive storage class.

C.

Create a Lifecycle Rule to transition objects to Nearline after 30 days, and to Archive after 365 days.

D.

Write a Cloud Function triggered by a Cloud Scheduler cron job to manually move files between buckets.

E.

Enable Object Versioning to compress older logs automatically.

How to approach this question

Match the access patterns (frequent, infrequent, rare) to the appropriate storage classes and automate the transition.

Full Answer

To optimize storage costs, align the storage class with the access pattern. Standard is for hot data (0-30 days). Nearline is for data accessed less than once a month (31-365 days). Archive is for data accessed less than once a year. Object Lifecycle Management automates the transition between these classes based on object age.

Common mistakes

Attempting to write custom scripts (D) instead of using native lifecycle policies.

Practice the full GCP Professional Cloud Architect Practice Exam 6

50 questions · hints · full answers · grading

More questions from this exam