All challenges
Multiple ChoiceHard 45s

Visibility timeout too short

A consumer takes 2 minutes to process a message but the SQS visibility timeout is 30 seconds. What is the effect?
Options
  1. 1The message is processed faster because SQS re-sends it as soon as the visibility timeout has expired again over time
  2. 2The message becomes visible again mid-processing and is redelivered to another consumer, causing duplicate work and potential double side-effects
  3. 3SQS rejects the message permanently and returns a hard error to the receiving consumer application every time
  4. 4The queue pauses entirely until the consumer explicitly deletes the in-flight message once again, halting all processing

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle