GCP Professional Data Engineer Practice Question

A retail enterprise dumps 5-GB JSON sales files every day into a gs://sales-raw bucket whose default storage class is Standard. Business analysts query only the most recent 14 days. Auditors may request any file up to seven years old, but the business wants to minimise storage cost after the active window. You must implement Object Lifecycle Management so that each object is rewritten exactly once during its lifetime. Which rule set meets the requirement?

  • Single rule with Age = 14 days that specifies sequential actions: Nearline, then Archive, then Delete.

  • Rule 1: Age = 14 days → SetStorageClass = Nearline
    Rule 2: Age = 90 days → SetStorageClass = Archive
    Rule 3: Age = 2555 days → Delete

  • Rule 1: Age = 14 days → SetStorageClass = Nearline; Rule 2: Age = 2555 days → Delete.

  • Rule 1: Age = 14 days AND MatchesStorageClass = Standard → SetStorageClass = Nearline
    Rule 2: Age = 90 days AND MatchesStorageClass = Nearline → SetStorageClass = Archive
    Rule 3: Age = 2555 days → Delete

GCP Professional Data Engineer
Storing the data
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