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

1 hour, 26 minutes remaining!

GCP Associate Cloud Engineer Practice Question

You are writing a lifecycle rule for a Cloud Storage bucket that holds objects in Standard, Nearline, and Coldline storage classes. Any object that is still in the Standard storage class and is at least 90 days old must be moved to Coldline, while Nearline or Coldline objects should remain untouched. The draft rule below is moving Nearline objects as well:

{
  "action": {"type": "SetStorageClass", "storageClass": "COLDLINE"},
  "condition": {"age": 90}
}

Which additional condition will ensure that only Standard-class objects are retiered?

  • Add "matchesStorageClass": ["NEARLINE", "STANDARD"] to the condition block.

  • No change is needed; instead, set a second rule that deletes Coldline objects after 365 days.

  • Add "matchesStorageClass": ["STANDARD"] to the condition block.

  • Add "isLive": true to the condition block.

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