AWS Certified Solutions Architect Associate SAA-C03 Practice Question
A company needs to decouple its microservices to ensure they can scale independently and handle asynchronous processing of requests. The services occasionally trigger intense bursts of data processing. Which service should the company use to manage the communication between these services while adhering to loose coupling principles?
Amazon Simple Queue Service (SQS) is the optimal service for decoupling components of an application. By allowing microservices to communicate asynchronously via messages in a queue, each service can operate independently, scale according to its own demands, and handle bursts of traffic or data processing more effectively. Other services such as Amazon SNS are more suitable for fan-out scenarios where a message needs to be sent to multiple subscribers simultaneously. Amazon Kinesis is tailored for real-time streaming data processing and should be used when the data ingestion rate is continuously high. AWS Step Functions is a workflow service that can coordinate tasks across AWS services but isn't specifically designed for message queuing between microservices, which is the requirement in this scenario.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What are microservices and why should they be decoupled?
Open an interactive chat with Bash
How does Amazon SQS handle message queuing?
Open an interactive chat with Bash
What are the differences between SQS, SNS, Kinesis, and Step Functions?