A company’s Java application consumes messages from Amazon SQS but cannot parse messages larger than 256 KB. The company wants the application to handle messages up to 50 MB with the FEWEST code changes. Which solution meets this requirement?
Choose an answer
Tap an option to check your answer.
Correct answer: Use the Amazon SQS Extended Client Library for Java to host messages that are larger than 256 KB in Amazon S3..
Why this is the answer
The Amazon SQS Extended Client Library for Java is specifically designed to handle large SQS messages by offloading their content to Amazon S3. This allows applications to send and receive messages up to 2 GB, far exceeding the 256 KB SQS limit, with minimal code changes as the library manages the S3 interaction transparently. Using Amazon EventBridge is incorrect because it's an event bus service, not a direct replacement for SQS message queuing, and it also has message size limits (256 KB for the detail field). Changing the limit in Amazon SQS is not possible; 256 KB is a hard limit for standard and FIFO queues. Storing messages in Amazon EFS and referencing them in SQS would require significant application code changes to manage EFS file operations and SQS message content, which violates the "FEWEST code changes" requirement.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed