🔥 40% Off Crucial Exams Memberships — Deal ends today!

1 hour, 26 minutes remaining!

GCP Professional Data Engineer Practice Question

Your organization ingests audit logs into the gs://audit-logs bucket. Objects are created in the Standard storage class, are queried frequently for the first month, and must remain undeletable for exactly 7 years (2 555 days) to satisfy compliance. After 30 days they should move to Nearline; after 120 days they should move to Coldline for the remainder of the retention period. Which bucket configuration meets these requirements with the fewest lifecycle rules?

  • Configure a 2 555-day retention policy and a single lifecycle rule that moves objects from Standard to Archive when Age > 30 days; omit any Delete rule because objects will age out automatically.

  • Enable an object hold on each new log file for 2 555 days and create one lifecycle rule that moves objects directly from Standard to Archive storage after 30 days; rely on manual deletion once the hold is cleared.

  • Enable a 2 555-day bucket retention policy and add three lifecycle rules: SetStorageClass to Nearline when Age > 30 days; SetStorageClass to Coldline when Age > 120 days; Delete when Age > 2 555 days.

  • Add lifecycle rules only: SetStorageClass to Nearline at 30 days, SetStorageClass to Coldline at 120 days, Delete at 2 555 days; do not set a retention policy because the Delete rule already defines the window.

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