ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 541 - DVA-C01 discussion

Report
Export

A developer has an application container, an AWS Lambda function, and an Amazon Simple Queue Sen/ice (Amazon SOS) queue. The Lambda function uses the SOS 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 SOS queue.

What should the developer do to ensure that the Lambda function does not process duplicate messages?

A.
Configure the Lambda function with a larger amount of memory.
Answers
A.
Configure the Lambda function with a larger amount of memory.
B.
Configure an increase in the Lambda function's timeout value.
Answers
B.
Configure an increase in the Lambda function's timeout value.
C.
Configure the SOS queue's delivery delay value to be greater than the maximum time it takes to call the third-party API.
Answers
C.
Configure the SOS queue's delivery delay value to be greater than the maximum time it takes to call the third-party API.
D.
Configure the SOS queue's visibility timeout value to be greater than the maximum time it takes to call the third-party API.
Answers
D.
Configure the SOS queue's visibility timeout value to be greater than the maximum time it takes to call the third-party API.
Suggested answer: A
asked 16/09/2024
Kingsley Tibs
43 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first