QuestionQ104

VerifiedTroubleshooting and Optimization

An application uses Lambda functions to extract metadata from files uploaded to an S3 bucket; the metadata is stored in Amazon DynamoDB. The application starts behaving unexpectedly, and the developer wants to examine the logs of the Lambda function code for errors.

Based on this system configuration, where would the developer find the logs?

Explanation

AWS Lambda automatically sends all function execution output and logs to Amazon CloudWatch Logs. CloudWatch is the default destination for Lambda logs and provides centralized logging with search, filtering, and monitoring capabilities. S3 does not auto-capture Lambda logs; CloudTrail tracks API management events, not function execution logs; DynamoDB is not a logging destination.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!