AWS Certified Solutions Architect – Professional (SAP-C02) — Question 411

A company has an application that stores data in a single Amazon S3 bucket. The company must keep all data for 1 year. The company’s security team is concerned that an attacker could gain access to the AWS account through leaked long-term credentials.

Which solution will ensure that existing and future objects in the S3 bucket are protected?

Answer options

Correct answer: A

Explanation

To fully protect data against compromised credentials in the primary account, replicating existing and new objects to a separate, highly restricted AWS account with S3 Object Lock enabled is the most secure method. S3 Object Lock in Compliance mode ensures that objects cannot be deleted or overwritten by any user, including root, for the duration of the retention period. Other options keep the data in the compromised account, where an attacker with administrative privileges could still delete the data or modify retention policies.