What is Amazon SQS?
Answer: SQS is a fully managed message queue. Producers send messages, consumers poll and receive them, and the message stays hidden but not deleted until the consumer explicitly deletes it. It decouples components in time and scale — the producer does not wait for the consumer, and a slow consumer does not block production.
Why interviewers ask this: The delete-after-processing model is the important mechanic: receiving a message does not remove it, so a consumer that crashes mid-processing causes the message to reappear after the visibility timeout. That is what makes SQS reliable and why idempotency is required.
