hardMultiple Choice
CV0-004 Practice Question: A company uses a cloud storage service with…
A company uses a cloud storage service with versioning enabled. An employee accidentally deleted a critical file. The administrator attempts to restore the file from the version history, but the file does not appear in the list of versions. What is the most likely reason?
⚠ Common exam trap
Many candidates assume versioning retroactively protects all objects in the bucket, but in reality, versioning only applies to objects created or modified after it is enabled, and objects with a null version ID are not recoverable through version history.
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
✓
The file was created before versioning was enabled.
When versioning is enabled on a cloud storage service (such as Amazon S3), only objects created or modified after the versioning feature is turned on are assigned a version ID. Any objects that existed before versioning was enabled are not tracked in the version history. Therefore, if the file was created prior to enabling versioning, it will not appear in the list of versions, and the administrator cannot restore it via version history.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
The file was created before versioning was enabled.
Why this is correct
Files created before versioning was enabled have no prior versions recorded, so they never appear in the version history list. Microsoft Entra ID is unrelated here; the constraint is that versioning only captures objects written after it was switched on, leaving pre-existing files unrestorable via version history.
- ✗
Versioning was suspended after the file was created.
Why it's wrong here
Suspending versioning stops new versions being created, but existing versions remain listed and restorable, so the file would still appear. Suspension is the right control when you want to freeze version creation while retaining history, not to explain missing versions.
- ✗
The file was overwritten, not deleted.
Why it's wrong here
Overwriting a file creates a new version rather than removing all versions, so the prior version would still appear in version history. Overwrite is tempting because it changes object content, but versioning retains each overwrite as a recoverable version, unlike a delete marker.
- ✗
The file was deleted using a lifecycle policy.
Why it's wrong here
Lifecycle policies permanently expire objects and their versions, so no version remains to restore. Lifecycle rules are tempting because they automate deletion, but they suit cost-driven retention cleanup; a standard delete with versioning enabled leaves a delete marker and recoverable prior versions.
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
Courseiva writes every CV0-004 question from scratch — 834 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or 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 CV0-004 practice question is part of Courseiva's free CompTIA 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 CV0-004 exam.