nerdexam
AmazonAmazon

DVA-C02 · Question #544

DVA-C02 Question #544: Real Exam Question with Answer & Explanation

Sign in or unlock DVA-C02 to reveal the answer and full explanation for question #544. The question stem and answer options stay visible for context.

Submitted by jordan8· Mar 5, 2026Troubleshooting and Optimization

Question

A developer has an application container, an AWS Lambda function, and an Amazon Simple Queue Service (Amazon SQS) queue. The Lambda function uses the SQS queue as an event source. The Lambda function makes a call to a third-party machine learning API when the function is invoked. The response from the third-party API can take up to 60 seconds to return. The Lambda function's timeout value is currently 65 seconds. The developer has noticed that the Lambda function sometimes processes duplicate messages from the SQS queue. What should the developer do to ensure that the Lambda function does not process duplicate messages?

Options

  • AConfigure the Lambda function with a larger amount of memory.
  • BConfigure an increase in the Lambda function's timeout value.
  • CConfigure the SQS queue's delivery delay value to be greater than the maximum time it takes to
  • DConfigure the SQS queue's visibility timeout value to be greater than the maximum time it takes to

Unlock DVA-C02 to see the answer

You've previewed enough free DVA-C02 questions. Unlock DVA-C02 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full DVA-C02 PracticeBrowse All DVA-C02 Questions