AWS Certified Solutions Architect – Associate (SAA-C02) — Question 173

A company has an application that posts messages to Amazon SQS. Another application polls the queue and processes the messages in an I/O-intensive operation. The company has a service level agreement (SLA) that specifies the maximum amount of time that can elapse between receiving the messages and responding to the users. Due to an increase in the number of messages, the company has difficulty meeting its SLA consistently.
What should a solutions architect do to help improve the application's processing time and ensure it can handle the load at any level?

Answer options

Correct answer: D

Explanation

The correct answer is D because implementing an Auto Scaling group that monitors the age of the oldest message in the SQS queue allows for dynamic scaling based on actual workload demands, ensuring timely processing. Options A and B do not address the scalability issue, and option C, while it suggests scaling, focuses on CPU utilization which may not directly correlate with message processing times.