GCP Professional Cloud Security Engineer Practice Question

Your security team stores daily customer data dumps in a versioning-enabled Cloud Storage bucket. Compliance requires that live objects be automatically removed 60 days after their creation, and any noncurrent (archived) object versions be erased 7 days after they become noncurrent. You need to configure the bucket's lifecycle policy with the minimum number of rules. Which configuration satisfies both requirements?

  • Rule 1: Delete when Age = 60 and IsLive = true.
    Rule 2: Delete when Age = 7 and IsLive = false.

  • Single rule: Delete when Age = 60 and NumberOfNewerVersions ≥ 1 (covers both live and noncurrent objects).

  • Rule 1: Delete when Age = 60 (no IsLive condition).
    Rule 2: Delete when NumberOfNewerVersions ≥ 1 and Age = 7.

  • Rule 1: SetStorageClass to Nearline when Age = 60.
    Rule 2: Delete when Age = 7 and MatchesStorageClass = Nearline.

GCP Professional Cloud Security Engineer
Ensuring data protection
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot