Courseiva

Google PCA Object versioning Practice Question

A company uses Cloud Storage for backup data. They want to protect against accidental deletion. Which option is best?

⚠ Common exam trap

Google Cloud often tests the distinction between versioning (which allows recovery from accidental deletion) and retention policies (which prevent deletion but do not provide recovery after the fact), leading candidates to confuse compliance protection with accidental deletion protection.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

Enable object versioning.

Object versioning in Cloud Storage preserves every version of an object, including overwrites and deletions. When versioning is enabled, a delete operation creates a delete marker instead of permanently removing the object, allowing easy recovery. This directly protects against accidental deletion by retaining all previous object versions.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✓

    Enable object versioning.

    Why this is correct

    Preserves noncurrent versions for recovery.

  • ✗

    Use a lifecycle policy.

    Why it's wrong here

    Manages deletion, does not protect against it.

  • ✗

    Set a retention policy.

    Why it's wrong here

    Prevents deletion during retention period, but not after.

  • ✗

    Use object holds.

    Why it's wrong here

    Object holds prevent deletion or overwrite of an object for a specified duration, but they do not provide recovery of already deleted objects. They are typically used for compliance or legal holds, not for recovering from accidental deletion.

About these practice questions

One of 807 original PCA practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This PCA practice question is part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the PCA exam.