Associate Cloud Engineer practice question · Planning and implementing a cloud solution
A team stores log archives in a Cloud Storage bucket. The logs are read often in the first month, rarely after 90 days…
A team stores log archives in a Cloud Storage bucket. The logs are read often in the first month, rarely after 90 days, almost never after a year, and must be removed after three years. The team wants this handled with no manual work. What should they configure on the bucket?
- AObject Lifecycle Management rules that use age conditions with SetStorageClass actions to move objects to colder classes, plus a Delete action at three years
- BAutoclass on the bucket, which moves objects to colder classes as access drops and then deletes them after a configured age
- CA three-year bucket retention policy, which moves objects to colder classes during the period and removes them once it expires
- DObject Versioning with a limit on noncurrent versions, which archives older objects to colder classes and deletes the oldest ones
Show the answer and explanation
Correct answer: A) Object Lifecycle Management rules that use age conditions with SetStorageClass actions to move objects to colder classes, plus a Delete action at three years
Object Lifecycle Management uses age-based SetStorageClass and Delete rules to move aging objects to colder storage classes and then delete them automatically. Autoclass, retention policies and Object Versioning do not delete objects by age.
Why each option is right or wrong
- A) Correct. A lifecycle rule pairs conditions such as age with one action. SetStorageClass rules can move objects to Nearline, Coldline and then Archive as they age, and a Delete rule removes objects once they reach the set age. Cloud Storage then applies these rules automatically.
- B) Incorrect. Autoclass changes storage classes based on each object's access pattern, but it never deletes objects. Deletion still needs a lifecycle Delete rule. Also, SetStorageClass lifecycle actions can't be used on a bucket with Autoclass enabled.
- C) Incorrect. A retention policy stops objects from being deleted or replaced until the retention period ends. It does not change storage classes or delete anything when the period expires; deletion would still need a lifecycle rule.
- D) Incorrect. Object Versioning keeps noncurrent versions when live objects are overwritten or deleted. It does not move objects between storage classes or delete them based on age.
- Exam domain
- Planning and implementing a cloud solution · ~30% of Associate Cloud Engineer
- Question type
- Multiple choice (one answer)
Related Associate Cloud Engineer questions
- A company runs a Cloud SQL for PostgreSQL instance in us-central1. For disaster recovery, the team needs a copy of the…Planning and implementing a cloud solution
- A batch analytics job on Compute Engine needs scratch space with very high IOPS and the lowest possible latency for its…Planning and implementing a cloud solution
- A backend service accepts only HTTPS on port 443. The application exposes a /healthz path that returns HTTP 200 only…Planning and implementing a cloud solution
- A third-party SaaS partner runs its service in its own Google Cloud project and has published it through a service…Planning and implementing a cloud solution
All 60 free Associate Cloud Engineer questions by domain · 15 sample questions on one page
Practise the full Associate Cloud Engineer exam
This question is one of a small free sample from the CertRidge Associate Cloud Engineer bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.
Original question written from the official exam guide. Not affiliated with Google Cloud; never copied from the real exam.