Home › Forums › AWS › AWS Certified Developer Associate › Issue with SQS practice question
Tagged: SQS
-
Issue with SQS practice question
Carlo-TutorialsDojo updated 2 years, 1 month ago 2 Members · 2 Posts -
The question is:
A Software Engineer is developing an application which will be hosted on an EC2 instance and will read messages from a standard SQS queue. The average time that it takes for the producers to send a new message to the queue is 40 seconds.
Which of the following is the MOST efficient way for the application to query the new messages from the queue?
The correct answer is:
Configure the SQS queue to use Long Polling.
My issue is:
A line within the AWS documentation very specifically states “The maximum long polling wait time is 20 seconds.” which indicates to me long polling isn’t an candidate for the answer of this question, though it is the answer according to this practice test.
I’m obviously misunderstanding something, but I don’t know what that is.
https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-long-polling.html
-
Hello Chaise,
Thanks for letting us know. Yes, the scenario needs some tweaking. I’m the one who updated this question months ago and seem to have forgotten to commit the change. Sorry for the confusion. We’ll have this item fixed ASAP.
Let me know if you have any other concerns.
Regards,
Carlo @ Tutorials Dojo
Log in to reply.