Prev Question
Next Question

You need to process long-running jobs once and only once. How might you do this?

A.
Use an SNS queue and set the visibility timeout to long enough for jobs to process.

B.
Use an SQS queue and set the reprocessing timeout to long enough for jobs to process.

C.
Use an SQS queue and set the visibility timeout to long enough for jobs to process.

D.
Use an SNS queue and set the reprocessing timeout to long enough for jobs to process.

Explanation:
The message timeout defines how long after a successful receive request SQS waits before allowing jobs to be seen by
other components, and proper configuration prevents duplicate processing.
http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/MessageLifecycle.html

Prev Question
Next Question

Leave a Reply

Your email address will not be published. Required fields are marked *