Find answers, ask questions, and connect with our
community around the world.

Home Forums AWS AWS Certified Solutions Architect Associate Doubt regarding correct answer AWS SAA C03 Reply To: Doubt regarding correct answer AWS SAA C03

  • Nikee-TutorialsDojo

    Administrator
    July 1, 2025 at 8:50 am

    Hello Mukti and Asokawotulo,

    Thank you for your comments! Let’s break down why Object Lock in compliance mode is the correct choice and clarify the role of Object Versioning in this scenario.

    The scenario specifies that the company must meet regulatory compliance by ensuring that the data cannot be deleted or modified for 3 years. Object Versioning alone does not ensure that files remain immutable during that time. While versioning keeps track of previous versions of a file, it does not prevent the file from being deleted or modified.

    Object Versioning allows multiple versions of an object to exist. It ensures the previous versions are available for retrieval, but if someone has the right permissions, they can still delete or overwrite the object (or even delete the version history). This means that versioning alone doesn’t protect against accidental or malicious deletions or modifications.

    In contrast, S3 Object Lock in compliance mode explicitly prevents the deletion or modification of files during the retention period. This ensures that your data cannot be altered in any way for the required 3-year retention period, fulfilling the regulatory compliance requirement.

    You’re correct in that Object Versioning is necessary for preserving previous file states (i.e., when a new version is uploaded, the previous version is still available). However, Object Versioning does not meet the regulatory compliance aspect because it doesn’t prevent accidental or malicious deletion or modification of the files.

    For Object Lock to function, versioning must be enabled, but versioning alone doesn’t provide the full compliance guarantee that the data must remain unaltered and undeleted during the retention period.

    In summary, Object Versioning by itself ensures the previous state of a file is preserved, but it doesn’t lock the data to prevent modifications or deletions. Object Lock in compliance mode addresses the compliance requirement by guaranteeing immutability during the retention period.

    We will update the item accordingly to avoid confusion, and I hope this explanation clears things up! If you have any further questions, feel free to reach out.

    Best regards,
    Nikee @ Tutorials Dojo

Skip to content