Which AWS service can record and show when an Amazon EC2 instance was terminated?
Choose an answer
Tap an option to check your answer.
Correct answer: AWS CloudTrail.
Why this is the answer
AWS CloudTrail records API calls and related events made in your AWS account, including actions taken by users, roles, or AWS services. Terminating an Amazon EC2 instance is an API action, and CloudTrail logs this event, providing details like who initiated the termination, when it occurred, and from where. This makes it invaluable for security analysis, resource change tracking, and operational troubleshooting. AWS Identity and Access Management (IAM) manages access permissions but doesn't log actions. AWS Compute Optimizer recommends resource optimizations but doesn't track historical events. Amazon EventBridge delivers real-time event streams but isn't primarily a historical logging service for API calls like CloudTrail.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed