AWS CloudTrail
Records actions by users, roles, and AWS services as auditable events.
Official AWS Reference https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-user-guide.html ↗// DECISION LOGIC MATRIX
When to Choose
You need who did what, to which resource, and when, from console, CLI, SDK, or API.
When to Avoid
You need CPU or performance metrics. Use CloudWatch.
// EXAM TRAPS & SIGNAL KEYWORDS
// OFFICIAL AWS REFERENCE
"CloudTrail enables operational and risk auditing, governance, and compliance. Actions taken by a user, role, or AWS service are recorded as events."
- Event history covers the past 90 days of management events per Region, searchable and free.
- Longer retention needs a trail to S3 (one copy of ongoing management events free from CloudTrail) or CloudTrail Lake.
- CloudTrail Lake retains events up to 3,653 days (about 10 years) on the one-year extendable pricing option.
// AWS CLOUDTRAIL TAKEAWAYS
Role: Records actions by users, roles, and AWS services as auditable events.
Choose: You need who did what, to which resource, and when, from console, CLI, SDK, or API.
Avoid: You need CPU or performance metrics. Use CloudWatch.
Trap: Watch for exam signals like CPU metrics, intrusion prevention, configuration state.
Fact: Event history covers the past 90 days of management events per Region, searchable and free.
Fact: Longer retention needs a trail to S3 (one copy of ongoing management events free from CloudTrail) or CloudTrail Lake.
Fact: CloudTrail Lake retains events up to 3,653 days (about 10 years) on the one-year extendable pricing option.
// PRACTICE QUESTIONS
Ready to test your AWS CloudTrail knowledge?
26 practice questions cover AWS CloudTrail.