After containing a compromised Lambda function, you must find out whether its execution role was used to call other AWS services. Which AWS service gives you a chronological view of every API call made by that role?
A. AWS X-Ray to trace function invocations
B. Amazon CloudWatch Logs from the Lambda function
C. AWS CloudTrail logs filtered by the execution role's ARN
D. AWS Config to review resource configurations accessed by the role
AWS CloudTrail records all API calls made by IAM roles, and you can filter the logs by the role ARN to build a timeline of activity.