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?
Trap 1: Use a single shared service account with strict IAM roles that…
Cloud Storage does not support append-only at object level.
Trap 2: Require team members to manually rename files before uploading.
Manual process is error-prone and not enforced.
Trap 3: Set bucket permissions to read-only for all team members except the…
This prevents any writes, hindering collaboration.
- A
Use a single shared service account with strict IAM roles that allow only append operations.
Why wrong: Cloud Storage does not support append-only at object level.
- B
Require team members to manually rename files before uploading.
Why wrong: Manual process is error-prone and not enforced.
- C
Set bucket permissions to read-only for all team members except the data owner.
Why wrong: This prevents any writes, hindering collaboration.
- D
Enable object versioning on the bucket and use lifecycle rules to manage versions.
Versioning allows recovery of previous versions if overwritten.