PROFESSIONAL-CLOUD-SECURITY-ENGINEER · Question #270
You are managing data in your organization's Cloud Storage buckets and are required to retain objects. To reduce storage costs, you must automatically downgrade the storage class of objects older…
The correct answer is D. Define a lifecycle policy JSON with an action on SetStorageClass to COLDLINE with an age. Create a lifecycle policy JSON: Specify an action (SetStorageClass) to move objects to COLDLINE storage. Include a condition (age) to apply the policy to objects older than 365 days. Use the matchStorageClass parameter to apply the policy only to objects currently in STANDARD…
Question
Options
- AUse Cloud Asset Inventory to generate a report of the configuration of all storage buckets.
- BSet up a CloudRun Job with Cloud Scheduler to execute a script that searches for and removes
- CEnable the Autoclass feature to manage all aspects of bucket storage classes.
- DDefine a lifecycle policy JSON with an action on SetStorageClass to COLDLINE with an age
How the community answered
(35 responses)- A3% (1)
- B3% (1)
- C11% (4)
- D83% (29)
Explanation
Create a lifecycle policy JSON: Specify an action (SetStorageClass) to move objects to COLDLINE storage. Include a condition (age) to apply the policy to objects older than 365 days. Use the matchStorageClass parameter to apply the policy only to objects currently in STANDARD storage, ensuring that objects already in lower-cost classes (e.g., COLDLINE or ARCHIVE) are not unnecessarily moved.
Topics
Community Discussion
No community discussion yet for this question.