Question 661:
Company ABC has an AWS setup and planning to use Amazon SQS for queuing messages. The design is such that two applications will receive the same message in the queue and process it. Once applications would have read the message, it should be deleted. However, when the 2nd application makes the ReceiveMessage API call, the message is not getting returned. Which of the following could be reasons? (Choose 2 options)
Answer options:
A.Application 2 is making a call before Visibility Timeout elapsed which was set by application 1 ReceiveMessage call. B.Amazon SQS deletes the message once it has been responded via the ReceiveMessage call from Application 1. C.Application 1 had deleted the message after it had been processed before Visibility Timeout elapsed. D.Application 2 does not have access to the message it is trying to receive.