Skip to content

Question 1 of 65

0% complete

A property-management firm runs a small worker service named report-mailer on Amazon ECS. It reads from an Amazon SQS standard queue named report-requests, which receives about 300 messages a day, almost all during office hours. The worker loop calls ReceiveMessage again the moment each call returns, and the queue and the calls both leave the wait time at its default of zero.

The monthly bill shows several million ReceiveMessage requests, nearly all of them returning no messages, and the worker occasionally gets an empty response even though messages are waiting. Reports must still go out within a few seconds of a request arriving.

Which change reduces the empty responses and request cost with the least effort?
Choose one answer
DVA-C02 Practice Exam · 65 questions