A company needs to identify who accessed an AWS service and what action was performed for a given time period.
Which AWS service should the company use to meet this requirement?
Amazon CloudWatch
AWS CloudTrail
AWS Security Hub
Amazon Inspector
Explanations:
Amazon CloudWatch monitors metrics, logs, and events for resources but does not track specific user actions.
AWS CloudTrail provides detailed logs of who accessed an AWS service and what actions were performed.
AWS Security Hub aggregates security findings but does not provide detailed user activity logs.
Amazon Inspector assesses vulnerabilities in resources but does not track user actions or access logs.