nerdexam
GoogleGoogle

ASSOCIATE-CLOUD-ENGINEER · Question #338

ASSOCIATE-CLOUD-ENGINEER Question #338: Real Exam Question with Answer & Explanation

Sign in or unlock ASSOCIATE-CLOUD-ENGINEER to reveal the answer and full explanation for question #338. The question stem and answer options stay visible for context.

Submitted by neha2k· Mar 30, 2026

Question

The storage costs for your application logs have far exceeded the project budget. The logs are currently being retained indefinitely in the Cloud Storage bucket myapp-gcp-ace-logs. You have been asked to remove logs older than 90 days from your Cloud Storage bucket. You want to optimize ongoing Cloud Storage spend. What should you do?

Options

  • AWrite a script that runs gsutil Is -| ?gs://myapp-gcp-ace-logs/** to find and remove items older
  • BWrite a lifecycle management rule in JSON and push it to the bucket with gsutil lifecycle set
  • CWrite a lifecycle management rule in XML and push it to the bucket with gsutil lifecycle set config-
  • DWrite a script that runs gsutil Is -Ir gs://myapp-gcp-ace-logs/** to find and remove items older than

Unlock ASSOCIATE-CLOUD-ENGINEER to see the answer

You've previewed enough free ASSOCIATE-CLOUD-ENGINEER questions. Unlock ASSOCIATE-CLOUD-ENGINEER for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full ASSOCIATE-CLOUD-ENGINEER PracticeBrowse All ASSOCIATE-CLOUD-ENGINEER Questions