What could cause this situation?

Posted by: Pdfprep Category: DVA-C01 Tags: , ,

A Developer created a Lambda function for a web application backend. When testing the Lambda function from the AWS Lambda console, the Developer can see that the function is being executed, but there is no log data being generated in Amazon CloudWatch Logs, even after several minutes.

What could cause this situation?
A . The Lambda function does not have any explicit log statements for the log data to send it to CloudWatch Logs.
B . The Lambda function is missing CloudWatch Logs as a source trigger to send log data.
C . The execution role for the Lambda function is missing permissions to write log data to the CloudWatch Logs.
D . The Lambda function is missing a target CloudWatch Log group.

Answer: C

Explanation:

Reference: https://docs.aws.amazon.com/lambda/latest/dg/monitoring-functions.html (see note)

Leave a Reply

Your email address will not be published.