An application extracts metadata from files uploaded to S3 using Lambda functions and stores the metadata in DynamoDB. The developer wants to view the Lambda function logs to troubleshoot unexpected behavior. Given this configuration, where are the Lambda execution logs stored?
Choose an answer
Tap an option to check your answer.
Correct answer: Amazon CloudWatch.
Why this is the answer
Lambda execution logs are automatically sent to Amazon CloudWatch Logs. CloudWatch provides a centralized service for collecting, monitoring, and analyzing logs from various AWS services, including Lambda. You can view logs, create metrics, and set alarms based on log data within CloudWatch. Amazon S3 is an object storage service and is not used for storing Lambda execution logs. AWS CloudTrail records API calls and related events made in your AWS account, focusing on governance, compliance, and auditing, not application execution logs. Amazon DynamoDB is a NoSQL database service used for storing structured data, not for Lambda function logs.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed