Detection

A security team needs an audit record identifying the IAM principal that invoked a sensitive AWS Lambda function. Which log source should the team ingest?

Show the answer

Correct answerA. CloudTrail data events

AWhy this is right: Lambda data events capture Invoke API activity and the identity associated with the request.

BWhy not this: Management events cover control-plane operations, not Lambda Invoke data-plane activity.

CWhy not this: Configuration history records resource configuration changes, not individual function invocations.

DWhy not this: Execution logs capture application output and execution details, not a standard audit record of the invoking IAM principal.

CloudTrail data events record Lambda Invoke API activity, including caller identity. Management events record control-plane operations such as changing a function's configuration, rather than invoking it.