1. Home
  2. Computer Science MCQs
  3. Cloud Computing
  4. What is the maximum wait time for a single SQS…

Added 30 Nov -0001

What is the maximum wait time for a single SQS ReceiveMessage call using long polling?

  1. 60 seconds, which reduces empty responses and request charges
  2. 20 seconds, but this applies only to FIFO queues and not standard ones
  3. 20 seconds, which reduces empty responses and request charges Correct answer
  4. 10 seconds, which reduces empty responses and request charges

Correct answer

C. 20 seconds, which reduces empty responses and request charges

20 views

MCQSEXAM

Explanation

Long polling lets ReceiveMessage wait up to 20 seconds for a message to arrive instead of returning immediately, cutting empty responses and request charges. A wait time above 20 seconds is rejected by the service. Setting WaitTimeSeconds as a queue default avoids repeating the setting in every call, and long polling does not affect message ordering or visibility.

Reference

Asked in: NTS, PPSC IT, Campus Interviews

Preparing for an exam?

Doubts & discussion

Not sure why the answer is C? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Cloud Computing MCQs

Practise all Cloud Computing MCQs

Similar MCQs