Interview Prep/AWS/Observability, Secrets, KMS and CloudFormation

Implement CloudTrail for tamper-proof audit logs across an organization.

AdvancedScenarioObservability, Secrets, KMS and CloudFormation
Answer

Situation read → Org trail into a locked log archive.

What I'd do →

  1. Create an organization trail with log file validation
  2. Deliver to S3 in the log-archive account with bucket policy and Object Lock
  3. Encrypt with KMS
  4. Send to CloudWatch Logs for alerts
  5. Validate: aws cloudtrail validate-logs --trail-arn ... --start-time ...

Why → Log file validation produces digests that expose tampering.

Interview tip → Add CloudTrail Lake for query.

aws All AWS questions

More on Observability, Secrets, KMS and CloudFormation