AWS Certified Solutions Architect – Associate (SAA-C03) — Question 336

A company has a Java application that uses Amazon Simple Queue Service (Amazon SQS) to parse messages. The application cannot parse messages that are larger than 256 KB in size. The company wants to implement a solution to give the application the ability to parse messages as large as 50 MB.

Which solution will meet these requirements with the FEWEST changes to the code?

Answer options

Correct answer: A

Explanation

The Amazon SQS Extended Client Library for Java is the standard solution for handling messages larger than the 256 KB SQS limit, as it automatically offloads large payloads to Amazon S3 with minimal code changes. Changing the SQS message size limit directly is impossible because 256 KB is a hard limit. Implementing custom integrations with Amazon EFS or migrating to Amazon EventBridge would require substantial rewriting of the application's message-handling logic.