Study. uk . com
  1. Home
  2. All questions
  3. Question 176

AWS Certified Solutions Architect study material · question 176 of 500

An SQS consumer receives a message and takes longer than expected to process it. What happens when the visibility timeout expires before the message is deleted?

  1. The message becomes visible again and another consumer may collect it
  2. The message is moved to the dead-letter queue immediately
  3. The message is deleted automatically
  4. The queue stops delivering messages until the consumer finishes
Show the answer

Answer: A. The message becomes visible again and another consumer may collect it

The timeout only hides the message. If it is not deleted in time the message reappears, which is why long tasks extend the timeout.

Source: Amazon SQS visibility timeout (Amazon Web Services) — Setting and adjusting the visibility timeout

Challenge yourself on this topic → Study as cards