AWS Certified Developer Associate DVA-C01 – Question274

A company requires that AWS Lambda functions written by Developers log errors so System Administrators can more effectively troubleshoot issues.
What should the Developers implement to meet this need?

A.
Publish errors to a dedicated Amazon SQS queue.
B. Create an Amazon CloudWatch Events event trigger based on certain Lambda events.
C. Report errors through logging statements in Lambda function code.
D. Set up an Amazon SNS topic that sends logging statements upon failure.

Correct Answer: B