Courseiva
mediumMultiple ChoiceObjective-mapped

PMLE Practice Question: A data science team uses a shared Cloud Storage…

A data science team uses a shared Cloud Storage bucket to store training datasets. They notice that some team members accidentally overwrite existing datasets, causing issues with reproducibility. Which approach best prevents accidental overwrites while maintaining collaboration?

⚠ Common exam trap

Candidates often think IAM roles or permissions are the only way to control data integrity, overlooking that object versioning provides a safety net without blocking collaboration.

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 on the bucket and use lifecycle rules to manage versions.

Enabling object versioning on a Cloud Storage bucket preserves all versions of an object, so even if a team member overwrites a dataset, the previous version remains accessible. This maintains collaboration (anyone can upload) while preventing permanent data loss. Lifecycle rules can then be used to manage storage costs by automatically deleting old versions after a specified period.

Answer analysis

Option-by-option breakdown

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

  • Use a single shared service account with strict IAM roles that allow only append operations.

    Why it's wrong here

    Cloud Storage does not support append-only at object level.

  • Require team members to manually rename files before uploading.

    Why it's wrong here

    Manual process is error-prone and not enforced.

  • Set bucket permissions to read-only for all team members except the data owner.

    Why it's wrong here

    This prevents any writes, hindering collaboration.

  • Enable object versioning on the bucket and use lifecycle rules to manage versions.

    Why this is correct

    Versioning allows recovery of previous versions if overwritten.

About these practice questions

One of 990 original PMLE 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 PMLE 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 PMLE exam.