Question 185 of 1,546
Reliability and Business ContinuityhardMultiple ChoiceObjective-mapped

How to Protect S3 Data from Accidental Deletion and Overwrites with Versioning and MFA Delete

This SOA-C02 practice question tests your understanding of reliability and business continuity. Read the scenario carefully and evaluate each option against the stated constraints before committing to an answer. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

A company uses S3 to store critical data. They need to ensure that data can be recovered in the event of accidental deletion or overwriting by users. Which combination of actions should they take?

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

Enable S3 Versioning and MFA Delete.

Option C is correct because enabling S3 Versioning preserves all versions of an object, allowing recovery from accidental deletion or overwriting. MFA Delete adds an extra layer of protection by requiring multi-factor authentication to permanently delete object versions or suspend versioning, preventing unauthorized or accidental permanent data loss.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Enable S3 Cross-Region Replication and S3 Transfer Acceleration.

    Why it's wrong here

    Replication does not protect against deletion in the source bucket.

  • Enable S3 Versioning and S3 Transfer Acceleration.

    Why it's wrong here

    Transfer Acceleration is irrelevant for data recovery.

  • Enable S3 Versioning and MFA Delete.

    Why this is correct

    Versioning retains previous versions; MFA Delete prevents unauthorized deletions.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Enable S3 Server Access Logging and S3 Object Lock.

    Why it's wrong here

    Logging does not prevent deletion; Object Lock prevents overwrites but not deletion without versioning.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates often think S3 Cross-Region Replication (CRR) or S3 Object Lock alone can prevent accidental deletion, but CRR replicates delete markers and does not protect the source, while Object Lock without Versioning cannot recover overwritten data; the correct combination requires both Versioning and MFA Delete to enable recovery and prevent permanent deletion.

Detailed technical explanation

How to think about this question

S3 Versioning stores every object write as a new version, and when an object is deleted, a delete marker is inserted instead of removing the underlying data; you can permanently delete the delete marker to restore the object. MFA Delete uses a time-based one-time password (TOTP) from a hardware or virtual MFA device, and the request must include the `x-amz-mfa` header with the serial number and code; this protects the `Versioning` and `DeleteObject` API calls for versioned objects, even from root user actions. In a real-world scenario, a user with full S3 permissions could accidentally overwrite a critical file, but with Versioning enabled, the previous version remains accessible, and MFA Delete prevents a malicious actor from permanently purging all versions.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A media company stores terabytes of video archives that are accessed once a year for audit purposes. Moving these objects to a cold storage tier (Azure Archive, S3 Glacier, or Google Nearline) costs a fraction of hot storage. Questions like this test whether you understand storage tiers, access frequency tradeoffs, and retrieval latency requirements.

Quick reference

AWS S3 Storage Class Comparison

Storage ClassMin DurationRetrievalUse Case
S3 StandardNoneImmediateFrequently accessed data
S3 Standard-IA30 daysImmediateInfrequent access, rapid retrieval
S3 One Zone-IA30 daysImmediateNon-critical infrequent data
S3 Intelligent-TieringNoneImmediate–hoursUnknown or changing access patterns
S3 Glacier Instant90 daysMillisecondsArchive with instant retrieval
S3 Glacier Flexible90 daysMinutes–hoursArchive, flexible retrieval
S3 Glacier Deep Archive180 daysHoursLong-term compliance archive

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related SOA-C02 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free SOA-C02 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this SOA-C02 question test?

Reliability and Business Continuity — This question tests Reliability and Business Continuity — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Enable S3 Versioning and MFA Delete. — Option C is correct because enabling S3 Versioning preserves all versions of an object, allowing recovery from accidental deletion or overwriting. MFA Delete adds an extra layer of protection by requiring multi-factor authentication to permanently delete object versions or suspend versioning, preventing unauthorized or accidental permanent data loss.

What should I do if I get this SOA-C02 question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Same concept, more angles

2 more ways this is tested on SOA-C02

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. A company has an S3 bucket that stores critical financial data. The bucket versioning is enabled. A SysOps administrator needs to ensure that data can be recovered after accidental deletion by users. What is the MOST effective way to protect against accidental deletion?

easy
  • A.Configure a lifecycle policy to transition objects to Glacier after 30 days.
  • B.Apply a bucket policy that denies s3:DeleteObject for all users.
  • C.Replicate objects to another S3 bucket in a different AWS Region.
  • D.Enable MFA Delete on the S3 bucket.

Why D: MFA Delete is the most effective protection against accidental deletion because it requires multi-factor authentication (a second factor) to permanently delete objects or suspend versioning. This prevents even authorized users from accidentally deleting objects. Option A is incorrect because lifecycle policies manage storage tiers, not deletion prevention. Option B is too restrictive: denying all s3:DeleteObject would block legitimate deletions and may not be practical. Option C (cross-region replication) provides disaster recovery but does not prevent deletion in the source bucket; replicated objects could also be deleted.

Variation 2. A company has an S3 bucket that stores critical data. The bucket has versioning enabled. A SysOps administrator accidentally deletes a version of an object. What is the quickest way to recover the deleted version?

medium
  • A.Use the S3 bucket's 'Undelete' feature.
  • B.Enable MFA Delete and then restore the object.
  • C.Contact AWS Support to restore the object.
  • D.Copy the deleted version from the bucket's version history.

Why D: Option D is correct because S3 object versioning maintains a version history for each object, including deleted versions. When a version is deleted, it is not permanently removed; instead, a delete marker is created, and the deleted version remains in the version history. The quickest way to recover it is to copy the deleted version ID from the bucket's version history (e.g., using the AWS CLI `aws s3api copy-object` with the `--version-id` parameter) to restore the object without contacting support or enabling additional features.

Keep practising

More SOA-C02 practice questions

Last reviewed: Jul 4, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This SOA-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 SOA-C02 exam.