QuestionQ78

VerifiedTroubleshooting and Optimization

A developer is building an application that will process messages from an Amazon Simple Queue Service (Amazon SQS) standard queue. The application needs to process the messages in an Amazon Elastic Container Service (Amazon ECS) task.

Which actions will result in the MOST cost-effective processing of the messages?

Choose two
Explanation

Long polling reduces the number of API calls to SQS by waiting for messages to arrive rather than repeatedly polling empty queues, lowering request costs. Message batching retrieves multiple messages in a single API call, further reducing the total number of requests and associated costs for processing.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!