Bird
0
0

You set the VisibilityTimeout of an SQS queue to 30 seconds. A message is received and not deleted. What happens after 30 seconds?

medium📝 Debug Q14 of 15
AWS - SNS and SQS
You set the VisibilityTimeout of an SQS queue to 30 seconds. A message is received and not deleted. What happens after 30 seconds?
AThe message is deleted automatically
BThe message becomes visible again and can be received again
CThe message is moved to a dead-letter queue
DThe queue stops delivering messages
Step-by-Step Solution
Solution:
  1. Step 1: Understand VisibilityTimeout effect

    VisibilityTimeout hides a message from other consumers for the set time after being received.
  2. Step 2: What happens if message is not deleted after timeout?

    If not deleted, after 30 seconds the message becomes visible again for processing by others.
  3. Final Answer:

    The message becomes visible again and can be received again -> Option B
  4. Quick Check:

    VisibilityTimeout expiry = message visible again [OK]
Quick Trick: VisibilityTimeout hides message temporarily, then shows it again [OK]
Common Mistakes:
MISTAKES
  • Thinking message deletes automatically after timeout
  • Confusing dead-letter queue behavior
  • Assuming queue stops working

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes