ExamQuestions.com

Register
Login
AWS Certified Solutions Architect Professional Exam Questions

Amazon

AWS Certified Solutions Architect Professional

302 / 465

Question 302:

A complicated data analysis software in JAVA has used a standard SQS queue to decouple users` requests and the backend processing. The visibility timeout for the queue is set as 60 seconds. In most cases, the process of messages can finish within 1 minute successfully. However, it may take about 100 seconds for the backend to get the job done for certain new requests. These requests are tagged with a specific JSON header by the frontend already. You want to ensure that these new requests are processed properly in the backend. How should you improve the queue configurations in the best way?

Answer options:

A.In the AWS SQS console, simply change the default visibility timeout from 1 minute to 2 minutes.
B.Use AWS SDK to adjust the visibility timeout to 2 minutes for messages that contain the specific JSON header.
C.Change the queue type from standard to FIFO with the default visibility timeout configured as 2 minutes.
D.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.