Free AWS Certified Developer Associate DVA-C02 Practice Question

A developer is using an AWS Lambda function to process incoming files and store processed data in a database. The Lambda function is triggered by new objects created in an Amazon S3 bucket. The developer needs to ensure that in case of processing failures, the event messages are captured for analysis and retry. Which AWS service should they configure as the target for failed processing events?

  • Configure an Amazon Simple Notification Service (SNS) topic as a dead-letter queue for the Lambda function.

  • Direct the Lambda function to write all failed event messages to a designated Amazon S3 bucket.

  • Set up Amazon CloudWatch to capture logs for failed Lambda invocations.

  • Configure an Amazon Simple Queue Service (SQS) queue as a dead-letter queue for the Lambda function.

This question's topic:
AWS Certified Developer Associate DVA-C02 / 
Development with AWS Services
Your Score:

Check or uncheck an objective to set which questions you will receive.