AWS Certified Developer Associate DVA-C02 Practice Question

A developer is building an application that uses an AWS Lambda function to process images uploaded to an Amazon S3 bucket. The function is invoked asynchronously. Occasionally, malformed image files cause the function to fail repeatedly. The developer needs a way to automatically isolate these failed events for later analysis without losing the event data. What is the most effective solution?

  • Configure a Lambda destination with a condition of 'On Success' to route failed events.

  • Increase the function's memory and timeout values in the function configuration.

  • Configure a dead-letter queue (DLQ) on the Lambda function to send the failed events to an Amazon SQS queue.

  • Enable active tracing with AWS X-Ray for the Lambda function to capture the exceptions.

AWS Certified Developer Associate DVA-C02
Development with AWS Services
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

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

Bash, the Crucial Exams Chat Bot
AI Bot