CLF-C02 Cloud Technology and Services Practice Question
Which Amazon S3 feature protects against accidental deletion by maintaining multiple versions of every object in a bucket?
⚠ Common exam trap
Many candidates confuse S3 Object Lock with versioning because both involve protection, but Object Lock prevents overwrites and deletions via legal holds or retention periods, not by maintaining a version history for recovery from accidental deletion.
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
✓
S3 Versioning
S3 Versioning is the correct answer because it is the specific S3 feature designed to protect against accidental deletion by preserving multiple versions of every object in a bucket. When versioning is enabled, deleting an object does not permanently remove it; instead, S3 inserts a delete marker, and the previous versions remain recoverable. This directly addresses the scenario of preventing permanent data loss from accidental deletions.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
S3 Replication
Why it's wrong here
S3 Replication asynchronously copies objects to a destination bucket, either in the same region (SRR) or a different region (CRR). Its purpose is to create independent copies for redundancy, latency reduction, or compliance, but it does not maintain version history within a single source bucket. Even when combined with versioning, replication only mirrors whatever versions exist at the source; it cannot itself generate or preserve previous states of an object in the original bucket.
- ✓
S3 Versioning
Why this is correct
S3 Versioning is the definitive feature for retaining every version of an object within the same bucket. When you upload a new version, the previous one is kept; when you delete an object, S3 inserts a delete marker instead of permanently removing the data, so any prior version can be restored at any time. This gives you a built-in mechanism to recover from accidental overwrites, malicious actions, or application errors, making it the correct answer for maintaining version history.
- ✗
S3 Object Lock
Why it's wrong here
S3 Object Lock enforces a write-once-read-many (WORM) model using retention periods or legal holds, which prevent object deletion or modification for a specified duration or indefinitely. It is designed for regulatory and compliance requirements, such as SEC Rule 17a-4, not for maintaining a general-purpose version history. Although Object Lock relies on S3 Versioning being enabled, the lock itself merely freezes the current state; it provides no mechanism to revert to older versions or manage a timeline of changes.
- ✗
S3 Lifecycle policies
Why it's wrong here
S3 Lifecycle policies automate the management of objects as they age, using rules that transition them to lower-cost storage classes (e.g., S3 Standard-IA, Glacier) or schedule their permanent deletion. These policies are based on object age and storage type, not on version control. While they can be configured to expire noncurrent versions when versioning is enabled, they do not create or preserve versions; they only remove or relocate existing objects, so they are irrelevant to maintaining version history.
Quick reference
AWS S3 Storage Class Comparison
| Storage Class | Min Duration | Retrieval | Use Case |
|---|---|---|---|
| S3 Standard | None | Immediate | Frequently accessed data |
| S3 Standard-IA | 30 days | Immediate | Infrequent access, rapid retrieval |
| S3 One Zone-IA | 30 days | Immediate | Non-critical infrequent data |
| S3 Intelligent-Tiering | None | Immediate–hours | Unknown or changing access patterns |
| S3 Glacier Instant | 90 days | Milliseconds | Archive with instant retrieval |
| S3 Glacier Flexible | 90 days | Minutes–hours | Archive, flexible retrieval |
| S3 Glacier Deep Archive | 180 days | Hours | Long-term compliance archive |
Go deeper
Related to this question
About these practice questions
This CLF-C02 question is part of Courseiva's 988-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This CLF-C02 practice question is part of Courseiva's free Amazon Web Services 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 CLF-C02 exam.