GCP Associate Cloud Engineer Practice Question

Your team stores transactional CSV files in a Cloud Storage bucket using the Standard storage class. You must reduce costs by (1) transitioning each object to Nearline 7 days after it is created and (2) permanently deleting the file 30 days after creation, but only if the object is still in the Standard storage class. Which lifecycle configuration meets the requirements?

  • Create two rules:

    • Rule 1: action SetStorageClass, storageClass: NEARLINE, condition age: 7
    • Rule 2: action Delete, condition age: 30, matchesStorageClass: ["STANDARD"]
  • Create one rule with action SetStorageClass, condition age: 30, and storageClass: NEARLINE.

  • Create one rule with action Delete and condition age: 30 (no matchesStorageClass filter).

  • Create two rules:

    • Rule 1: action SetStorageClass, storageClass: NEARLINE, condition age: 30
    • Rule 2: action Delete, condition age: 365
GCP Associate Cloud Engineer
Ensuring successful operation of a cloud solution
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