exam questions

Exam AWS Certified Developer - Associate DVA-C02 All Questions

View all questions & answers for the AWS Certified Developer - Associate DVA-C02 exam

Exam AWS Certified Developer - Associate DVA-C02 topic 1 question 272 discussion

An Amazon Simple Queue Service (Amazon SQS) queue serves as an event source for an AWS Lambda function. In the SQS queue, each item corresponds to a video file that the Lambda function must convert to a smaller resolution. The Lambda function is timing out on longer video files, but the Lambda function's timeout is already configured to its maximum value.

What should a developer do to avoid the timeouts without additional code changes?

  • A. Increase the memory configuration of the Lambda function.
  • B. Increase the visibility timeout on the SQS queue.
  • C. Increase the instance size of the host that runs the Lambda function.
  • D. Use multi-threading for the conversion.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
CrescentShared
Highly Voted 8 months, 1 week ago
Selected Answer: A
“Without any additional code changes.”
upvoted 9 times
...
65703c1
Most Recent 5 months ago
Selected Answer: A
A is the correct answer.
upvoted 1 times
...
SerialiDr
7 months, 2 weeks ago
Selected Answer: B
B. Increase the visibility timeout on the SQS queue. Increasing the visibility timeout on the SQS queue is the most direct way to ensure that messages corresponding to longer video files are not prematurely made available for processing by another instance of the Lambda function or returned to the queue due to processing timeouts. This approach, however, does not directly address the Lambda function's timeout issue but rather helps manage the reprocessing of message
upvoted 1 times
...
KarBiswa
7 months, 3 weeks ago
Selected Answer: A
changing memory configuration
upvoted 2 times
...
monishvster
8 months ago
Selected Answer: A
Increasing memory will also increase CPU, thereby optimizing performance of Lambda function
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago