Introduction to AWS CloudTrail
Event types, event history, trails and organisation trails, log file protection and validation, CloudTrail Insights and analysing events with Athena and CloudWatch.
- 3 lessons
- Module quiz
When something changes unexpectedly, the first question is who changed it and when. AWS CloudTrail records API activity in AWS accounts: the identity, the action, the time, the source IP address and the result. By default, the event history shows 90 days of management events in each Region.
Longer retention, data events such as S3 object access, and coverage of all accounts require a trail that delivers events to Amazon S3 and optionally to CloudWatch Logs. CloudTrail also feeds security monitoring and is the first place to look when troubleshooting access problems.
What the exam expects
Questions test the difference between event history and trails, organisation trails, data events, which are opt-in and charged, log protection, and delivery problems caused by bucket or key policies. CloudTrail Lake stopped accepting new customers in May 2026, so new designs query trail logs with Athena.
How this module is organised
Answering Who Changed What with CloudTrail Events explains what CloudTrail records. Configuring Trails and Protecting CloudTrail Logs explains log delivery and protection, and Analysing CloudTrail Events with Insights, Athena and EventBridge explains how unusual activity is detected and events are analysed.