Ultimate access to all questions.
A solutions architect is designing a solution to process events. The solution must have the ability to scale in and out based on the number of events that the solution receives. If a processing error occurs, the event must move into a separate queue for review. Which solution will meet these requirements?
Explanation:
Option B is the correct answer because it leverages Amazon SQS to handle event queuing and an Amazon EC2 Auto Scaling group to dynamically scale the processing capacity based on the specific SQS queue metric ApproximateAgeOfOldestMessage
. Here’s the detailed breakdown:
Scalability:
ApproximateAgeOfOldestMessage
ensures that the number of instances adjusts according to the workload. This metric gives a reliable indication of backlog in the queue, which directly correlates to the need for more or fewer processing resources.Error Handling:
Decoupling and Reliability:
This approach offers a highly scalable, resilient, and manageable solution for processing events and handling errors effectively, which aligns well with the best practices for building scalable and fault-tolerant applications on AWS.