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

  • AEnable S3 Static Website Hosting and run aws s3 sync hourly
  • BEnable VPC Flow Logs version 5 and run aws ec2 describe-flow-logs in the CLI
  • CEnable CloudTrail Log File Integrity Validation and run aws cloudtrail validate-logsCorrect answer
  • DEnable Route 53 DNSSEC signing and run dig +dnssec against the S3 bucket URL endpoint

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.

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.