
Answer-first summary for fast verification
Answer: Use the SQS Extended Client
Use the SQS Extended Client - To manage large Amazon Simple Queue Service (Amazon SQS) messages, you can use Amazon Simple Storage Service (Amazon S3) and the Amazon SQS Extended Client Library for Java. This is especially useful for storing and consuming messages up to 2 GB. Unless your application requires repeatedly creating queues and leaving them inactive or storing large amounts of data in your queues, consider using Amazon S3 for storing your data. Incorrect options: Use the MultiPart API - This is an incorrect statement. There is no multi-part API for Amazon Simple Queue Service. Get a service limit increase from AWS - While it is possible to get service limits extended for certain AWS services, AWS already offers Extended Client to deal with queues that have larger messages. Use gzip compression - You can compress the messages before sending them to the queue. The messages also need to be encoded after this to cater to SQS message standards. This adds bulk to the messages and will not be an optimal solution for the current scenario.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
A media company relies on Amazon Simple Queue Service (SQS) to manage its transaction messages. However, due to evolving business requirements, the payload size of the messages is growing, which is causing concern for the Team Lead because SQS has a maximum message size limit of 256 KB.
What strategy can the company employ to enable the SQS queue to handle and accept messages that exceed the 256 KB size limit?
A
Get a service limit increase from AWS
B
Use the MultiPart API
C
Use the SQS Extended Client
D
Use gzip compression
No comments yet.