Bird
0
0

You have an S3 bucket with versioning enabled. You delete an object named 'report.pdf'. What happens to the object?

medium📝 Predict Output Q4 of 15
AWS - S3 Fundamentals
You have an S3 bucket with versioning enabled. You delete an object named 'report.pdf'. What happens to the object?
AThe object is permanently deleted immediately.
BA delete marker is added, hiding the object but previous versions remain.
CThe object is moved to a trash folder automatically.
DThe object is archived and cannot be accessed.
Step-by-Step Solution
Solution:
  1. Step 1: Understand delete behavior with versioning

    Deleting an object adds a delete marker, which hides the current version but keeps all versions intact.
  2. Step 2: Effect on object accessibility

    The object appears deleted but can be restored by removing the delete marker.
  3. Final Answer:

    A delete marker is added, hiding the object but previous versions remain. -> Option B
  4. Quick Check:

    Delete with versioning = delete marker added [OK]
Quick Trick: Delete adds marker, old versions stay [OK]
Common Mistakes:
  • Thinking object is permanently deleted
  • Assuming automatic trash folder
  • Believing object is archived on delete

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes