SAA-C03 · Question #757
SAA-C03 Question #757: Real Exam Question with Answer & Explanation
The correct answer is D: Consume messages by using long polling.. Long polling reduces the number of empty responses returned by Amazon SQS when no messages are available, which lowers API request costs. By waiting for messages to arrive before returning a response, long polling optimizes queue usage and reduces unnecessary
Question
A company has decoupled its application by using an Amazon Simple Queue Service (Amazon SQS) queue. The company has noticed increased costs, even when no orders are being processed. The company wants to reduce costs by optimizing the queue usage and configuration. Which solution meets these requirements?
Options
- AConsume messages by using short polling.
- BProgrammatically decrease the polling interval based on queue depth.
- CIncrease the message visibility timeout on the SQS queue.
- DConsume messages by using long polling.
Explanation
Long polling reduces the number of empty responses returned by Amazon SQS when no messages are available, which lowers API request costs. By waiting for messages to arrive before returning a response, long polling optimizes queue usage and reduces unnecessary
Community Discussion
No community discussion yet for this question.