
Answer-first summary for fast verification
Answer: Utilize Amazon SQS Extended Client Library for Java with Amazon S3 for messages exceeding 256 KB.
The correct answer is A. The Amazon SQS Extended Client Library for Java allows you to send payloads larger than 256 KB by storing the message payloads in Amazon S3. This approach meets the requirement with the fewest changes to the existing code, as it seamlessly integrates larger message handling while leveraging existing SQS functionality. The other options either require switching services, altering fundamental limits, or introducing more complex storage solutions that would involve significant code changes.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
A Java application using Amazon SQS for message parsing is limited to 256 KB message size. What is the solution requiring minimal code changes to enable parsing of messages up to 50 MB?
A
Utilize Amazon SQS Extended Client Library for Java with Amazon S3 for messages exceeding 256 KB.
B
Switch to Amazon EventBridge for posting large messages instead of Amazon SQS.
C
Increase Amazon SQS message size limit beyond 256 KB.
D
Leverage Amazon EFS for storing messages over 256 KB, with SQS referencing the EFS location.
No comments yet.