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

A company has a legacy application that processes data in two parts. The second part of the process takes longer than the first, so the company has decided to rewrite the application as two microservices running on Amazon ECS that can scale independently.
How should a solutions architect integrate the microservices?

Answer options

Correct answer: D

Explanation

The correct answer is D because using Amazon SQS allows microservice 1 to send messages to a queue, which microservice 2 can then poll and process independently. This decouples the two microservices, enabling better scalability and reliability. The other options involve mechanisms that are either not suited for independent processing (like S3 event notifications) or do not provide the same level of decoupling and reliability as SQS.