GCP Professional Cloud Security Engineer Practice Question
Your security team enabled Object Versioning on a Cloud Storage bucket that receives daily exports of production customer data. Compliance rules allow only the current object version to remain accessible; any older, non-current versions must be automatically removed exactly seven days after they stop being live. Which single lifecycle rule configuration meets this requirement while minimizing accidental data loss?
When Object Versioning is enabled, each overwrite creates a new live version and marks the previous one as non-current. To delete only these obsolete versions seven days after they stop being live, the lifecycle rule must:
Target non-current versions (IsLive: false) so that the current data is never touched.
Use the daysSinceNoncurrentTime condition set to 7, which counts the days since the version became non-current (unlike Age, which counts from original creation).
Apply the Delete action to permanently remove the object version once the condition is met.
A rule that sets IsLive: true would delete the current version, Age = 7 would delete too early or late depending on overwrite frequency, and NumberOfNewerVersions alone imposes no time delay. Therefore the correct policy is: Condition → IsLive: false AND daysSinceNoncurrentTime: 7; Action → Delete.
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 does 'Object Versioning' mean in Cloud Storage?
Open an interactive chat with Bash
What is the difference between 'daysSinceNoncurrentTime' and 'Age' in lifecycle rules?
Open an interactive chat with Bash
Why is 'IsLive: false' necessary in the lifecycle rule configuration?
Open an interactive chat with Bash
What is Object Versioning in Cloud Storage?
Open an interactive chat with Bash
How does 'daysSinceNoncurrentTime' differ from 'Age' in lifecycle rules?
Open an interactive chat with Bash
What happens when a lifecycle rule with 'IsLive: false' and 'Action: Delete' is applied?
Open an interactive chat with Bash
GCP Professional Cloud Security Engineer
Ensuring data protection
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
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .