⚡Flash Sale: 33% off Annual Membership, limited time only!⚡

CompTIA Study Materials
AWS Study Materials
AWS Certified Developer Associate AWS Certified Developer Associate
AWS Certified Developer Associate DVA-C02
AWS Certified Solutions Architect Associate AWS Certified Solutions Architect Associate
AWS Certified Solutions Architect Associate SAA-C03
AWS Cloud Practitioner AWS Cloud Practitioner
AWS Cloud Practitioner CLF-C02
Microsoft Study Materials
Microsoft Azure Fundamentals Microsoft Azure Fundamentals
Microsoft Azure Fundamentals AZ-900

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?

  • 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.

  • 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.

This question's topic:
AWS Certified Developer Associate DVA-C02 / 
Development with AWS Services
Your Score:
Development with AWS Services
Security
Deployment
Troubleshooting and Optimization