Topic: AWS Certified SysOps Administrator - Associate topic 1 question 444

A development team created and deployed a new AWS Lambda function 15 minutes ago. Although the function was invoked many times, Amazon CloudWatch Logs are not showing any log messages.

What is one cause of this?

A.
The developers did not enable log messages for this Lambda function.
B.
The Lambda function's role does not include permissions to create CloudWatch Logs items.
C.
The Lambda function raises an exception before the first log statement has been reached.
D.
The Lambda functions creates local log files that have to be shipped to CloudWatch Logs first before becoming visible.

Re: AWS Certified SysOps Administrator - Associate topic 1 question 444

Likely the Lambda function's role does not include permissions to create CloudWatch Logs items.

Re: AWS Certified SysOps Administrator - Associate topic 1 question 444

When the Lambda function's execution role doesn't have the necessary permissions to create log streams or log groups in CloudWatch Logs, the logs won't be generated or stored.