SOA-C02 Exam QuestionsBrowse all questions from this exam

SOA-C02 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?

Show Answer
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

4 comments
Sign in to comment
tgvOption: B
Apr 16, 2024

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.

mestuleOption: B
Apr 25, 2024

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

rcasagrandeOption: B
Jun 6, 2024

Sure is B.

f162943
Jul 9, 2024

Answer is B