An enterprise wants to ensure that all their AWS CloudTrail logs are protected from being tampered with or deleted, even if their administrative accounts are compromised. Which feature provides the strongest protection for log integrity?

Direct Answer (Verified)Reviewed by Sunny (Senior Cloud Engineer)

Correct Answer: CloudTrail Log File Integrity Validation and S3 Object Lock (Compliance Mode)

Log file integrity validation uses SHA-256 for signing, and Object Lock in Compliance Mode prevents even the root user from deleting the logs during the retention period....

📋Part of AWS Certified Solutions Architect – Professional (SAP-C02) · AWS Certification Practice
Real Exam ScenarioAWS IAM

An enterprise wants to ensure that all their AWS CloudTrail logs are protected from being tampered with or deleted, even if their administrative accounts are compromised. Which feature provides the strongest protection for log integrity?

✓ Correct Answer & ExplanationAWS IAM

Correct Answer

CloudTrail Log File Integrity Validation and S3 Object Lock (Compliance Mode)

Why This Answer Is Correct

Log file integrity validation uses SHA-256 for signing, and Object Lock in Compliance Mode prevents even the root user from deleting the logs during the retention period.

📚 What This Question Tests

This question evaluates your knowledge of AWS IAM — a core concept tested in AWS Certified Solutions Architect – Professional (SAP-C02). Understanding AWS IAM is essential for designing scalable, secure, and cost-effective cloud architectures. Mastery of this topic will help you answer scenario-based questions confidently on exam day.