AWS Certified Developer – Associate (DVA-C02) — Question 57
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?
Answer options
- A. Amazon S3
- B. AWS CloudTrail
- C. Amazon CloudWatch
- D. Amazon DynamoDB
Correct answer: C
Explanation
The correct answer is Amazon CloudWatch because it is the service used for monitoring and logging Lambda function output and errors. Amazon S3 is used for storage, AWS CloudTrail monitors API calls, and Amazon DynamoDB is a database service, none of which provide logs for Lambda functions.