A complex data analysis software in JAVA

A complex data analysis software in JAVA uses a standard SQS queue to decouple user requests from backend processing. The queue visibility timeout is set to 60 seconds. While most messages are processed within 1 minute, some new requests, identified by a specific JSON header, take about 100 seconds to complete. You need to ensure these new requests are processed correctly by the backend. How should you optimize the queue configurations to achieve this?
A) Create a new SQS queue as the dead letter queue. Route these specific requests to the dead letter queue so that the normal backend process is not influenced
B) In the AWS SQS console, simply change the default visibility timeout from 1 minute to 2 minutes
C) Use AWS SDK to adjust the visibility timeout to 2 minutes for messages that contain the specific JSON header
D) Change the queue type from standard to FIFO with the default visibility timeout configured as 2 minutes

Read more here: Source link