AWS Certified Cloud Practitioner — Question 934

A user needs to determine whether an Amazon EC2 instance's security groups were modified in the last month.
How can the user see if a change was made?

Answer options

Correct answer: C

Explanation

AWS CloudTrail records and monitors API activity across an AWS account, making it the ideal service to track historical modifications to Amazon EC2 security groups. Amazon EC2 only shows the current configuration state rather than a historical audit log, while IAM is used for access management rather than resource auditing. Amazon CloudWatch is designed for performance metrics and application logs, not for tracking API-driven infrastructure changes.