A team wants to meet data retention and governance requirements for audit logs. They need immutable records with a defined retention period and the ability to detect changes. What is the best AWS approach?
Answer
Use S3 Object Lock (compliance mode) with a retention period and restrict deletion permissions
Explanation
S3 Object Lock (compliance mode) provides write-once, read-many immutability and helps satisfy governance and audit requirements.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
Which approach is most aligned with AWS least-privilege security for cross-account access to an S3 bucket?
View question →
A company uses an AWS WAF web ACL with managed rules. Which change most improves protection against common OWASP Top 10 threats without reducing legitimate traffic?
View question →
Which statement best describes how AWS Shield provides protection for DDoS events?
View question →
Which AWS service/action best helps you ensure that stored secrets are encrypted and rotated regularly for applications?
View question →
Your application sends logs to CloudWatch Logs but you must prevent unauthorized access to log data and minimize blast radius. What should you do?
View question →
Which design best addresses protecting data in transit for an application behind an Application Load Balancer (ALB)?
View question →