
Answer-first summary for fast verification
Answer: Utilize Amazon SQS for queuing data between producers and consumers.
The correct answer is A. Amazon Simple Queue Service (Amazon SQS) is ideal for decoupling microservices and handling tasks asynchronously when the order of processing does not matter. It allows data producers to send data to a queue and data consumers to retrieve and process data from the queue. This approach ensures scalability and reliability for inter-service communication in a microservices architecture, making it the best fit for the given scenario.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
A company is transitioning a monolithic, sequentially processing legacy application from Amazon EC2 to a microservices architecture on Amazon ECS. What is the recommended approach for microservices communication?
A
Utilize Amazon SQS for queuing data between producers and consumers.
B
Employ Amazon SNS for notifying data consumers of new data from producers.
C
Leverage AWS Lambda for message passing between data producers and consumers.
D
Use Amazon DynamoDB with Streams to manage data flow between producers and consumers.
No comments yet.