ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 143 - DOP-C01 discussion

Report
Export

You are getting a lot of empty receive requests when using Amazon SQS. This is making a lot of unnecessary network load on your instances. What can you do to reduce this load?

A.
Subscribe your queue to an SNS topic instead.
Answers
A.
Subscribe your queue to an SNS topic instead.
B.
Use as long of a poll as possible, instead of short polls.
Answers
B.
Use as long of a poll as possible, instead of short polls.
C.
Alter your visibility timeout to be shorter.
Answers
C.
Alter your visibility timeout to be shorter.
D.
Use sqsd on your EC2 instances.
Answers
D.
Use sqsd on your EC2 instances.
Suggested answer: B

Explanation:

One benefit of long polling with Amazon SQS is the reduction of the number of empty responses, when there are no messages available to return, in reply to a ReceiveMessage request sent to an Amazon SQS queue. Long polling allows the Amazon SQS service to wait until a message is available in the queue before sending a response.

Reference: http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-longpolling.html

asked 16/09/2024
Mitesh Solanki
47 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first