S3 Versioning keeps every version of an object, so an overwrite or delete never truly loses data — you can recover any prior version. It’s the foundation for protecting against accidental changes.

What to know

Once enabled, a “delete” just adds a delete marker; the old versions remain and are recoverable. Versioning pairs with lifecycle rules (to expire old versions and control cost) and with MFA Delete (to require MFA before permanent deletion). Accidental-overwrite protection → Versioning.

Test yourself

Practice question

A team keeps accidentally overwriting important files in S3 and wants to be able to recover any previous version. What should they enable?

  1. S3 Transfer Acceleration
  2. S3 Versioning
  3. S3 Intelligent-Tiering
  4. Cross-Region Replication
👉 Click to reveal the answer & explanation

Correct answer: B. Versioning retains every version of an object so prior versions can be restored after an overwrite or delete. Transfer Acceleration (A) speeds uploads; Intelligent-Tiering (C) optimizes cost; replication (D) copies to another Region but isn’t version history within a bucket.

Related topics

Amazon S3 · S3 Object Lock · S3 lifecycle & replication

CloudExamPro Premium

Ready to pass your AWS exam?

Stop guessing whether you’re ready. Our full-length, exam-realistic practice exams put you through the exact question style you’ll face — with a detailed explanation behind every answer, so you learn why, not just what.

  • ✓  6 full-length practice exams
  • ✓  A detailed explanation for every single question
  • ✓  Realistic, scenario-based questions — not memory dumps
  • ✓  Lifetime access, kept current for 2026

See the Practice Exam Packs →

Limited-time offer · ends in --Days:--Hrs:--Min:--Sec
Get Instant Access