Exam SOA-C02 All QuestionsBrowse all questions from this exam
Question 443

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?

    Correct Answer: B

    The most likely cause for the absence of log messages in Amazon CloudWatch Logs is that the Lambda function's role does not include permissions to create CloudWatch Logs items. Without the appropriate permissions, the Lambda function cannot generate or store logs in CloudWatch. This is a common issue when setting up new Lambda functions and their respective IAM roles.

Discussion
tgvOption: B

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.

f162943

Answer is B

rcasagrandeOption: B

Sure is B.

mestuleOption: B

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