Ends in
00
days
00
hrs
00
mins
00
secs
SHOP NOW

PRE-BLACK FRIDAY SALE - GET 20% OFF ALL REVIEWERS

Find answers, ask questions, and connect with our
community around the world.

Home Forums AWS AWS Certified Developer Associate Issue with SQS practice question

Tagged: 

  • Issue with SQS practice question

  • Chaise Cooper

    Member
    August 24, 2022 at 6:38 am

    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

  • Carlo-TutorialsDojo

    Member
    August 24, 2022 at 11:58 pm

    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

Viewing 1 - 2 of 2 replies

Log in to reply.

Original Post
0 of 0 posts June 2018
Now