AWS SysOps Admin SOA-C02 · Monitoring, Logging, and Remediation · medium
A financial services auditor requires proof that AWS CloudTrail log files delivered to a central Amazon S3 audit bucket have not been modified, tampered with, or deleted after CloudTrail delivered them. Which native CloudTrail feature provides cryptographic verification, and which AWS CLI command validates a time range of logs?
Published · Last updated · checked before publication — how we verify questions
Options
Answer: C. Enable CloudTrail Log File Integrity Validation and run aws cloudtrail validate-logs
Enabling CloudTrail Log File Integrity Validation causes CloudTrail to write hourly digest files containing SHA-256 hashes of every delivered log file and sign each digest with a private RSA key. Auditors run aws cloudtrail validate-logs to verify the chain of signed digest files and confirm no log file was altered or deleted.
Why the other options are wrong
- A. Enable S3 Static Website Hosting and run aws s3 sync hourly — Static website hosting exposes the bucket publicly and s3 sync does not validate cryptographic log digests.
- B. Enable VPC Flow Logs version 5 and run aws ec2 describe-flow-logs in the CLI — VPC Flow Logs record network traffic headers, not CloudTrail API log file integrity digests.
- D. Enable Route 53 DNSSEC signing and run dig +dnssec against the S3 bucket URL endpoint — DNSSEC authenticates DNS records, not stored CloudTrail JSON log files.
More Monitoring, Logging, and Remediation questions
- An application cluster frequently experiences brief, harmless 2-minute CPU spikes during scheduled cache warming…
- A legacy application running on EC2 streams plain-text application logs to a CloudWatch Logs log group…
- A SysOps administrator needs to create an Amazon CloudWatch alarm that triggers whenever an Amazon EC2 Linux…
- An Amazon EC2 instance fails its System Status Check (StatusCheckFailed_System = 1) while its Instance Status Check…
- A security auditor suspects that an attacker who briefly compromised an IAM role may have modified or deleted a single…
All Monitoring, Logging, and Remediation questions and the topic overview →
AWS and Amazon Web Services are trademarks of Amazon.com, Inc. PrepIQ Hub is not affiliated with, endorsed by, or sponsored by Amazon Web Services.