Your team stores about 10 GB of audit logs per day in a regional Cloud Storage bucket that currently uses the Standard storage class. Compliance requires that all log files be kept for at least 2 years, but engineers only query logs from the last 30 days during incident investigations. You are asked to reduce storage costs while still meeting retention and operational access requirements, and without changing how engineers access recent logs. Which Cloud Storage lifecycle policy best meets these goals?
Set lifecycle rule to SetStorageClass to Nearline at 30 days and Delete at 365 days.
Set lifecycle rule to move objects to Archive at 365 days and Delete at 730 days.
Add two lifecycle rules: SetStorageClass to Coldline when objects reach 30 days of age, and Delete objects when they are 730 days old.
Keep all objects in Standard class by applying a 2-year retention policy and omit any lifecycle actions.
Keeping the first 30 days of data in the Standard class ensures low-latency access for engineers. Moving objects to the lower-cost Coldline class after they are 30 days old sharply reduces storage charges for the remaining 23 months while still allowing occasional retrievals. Adding a Delete action when objects are 730 days old enforces the required 2-year minimum retention and prevents indefinite storage fees. The other options either retain data in more expensive classes longer than necessary, delete it too early, or fail to move it to the most economical class once routine access has ended.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is Coldline storage in Google Cloud Storage?
Open an interactive chat with Bash
How do lifecycle policies work in Google Cloud Storage?
Open an interactive chat with Bash
What is the difference between Nearline and Coldline storage classes?
Open an interactive chat with Bash
What is the Coldline storage class in Google Cloud Storage?
Open an interactive chat with Bash
What is a lifecycle policy in Cloud Storage?
Open an interactive chat with Bash
Why is the SetStorageClass action important for managing costs?
Open an interactive chat with Bash
GCP Associate Cloud Engineer
Ensuring successful operation of a cloud solution
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99 $11.99
$11.99/mo
Billed monthly, Cancel any time.
$19.99 after promotion ends
3 Month Pass
$44.99 $26.99
$8.99/mo
One time purchase of $26.99, Does not auto-renew.
$44.99 after promotion ends
Save $18!
MOST POPULAR
Annual Pass
$119.99 $71.99
$5.99/mo
One time purchase of $71.99, Does not auto-renew.
$119.99 after promotion ends
Save $48!
BEST DEAL
Lifetime Pass
$189.99 $113.99
One time purchase, Good for life.
Save $76!
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .