Decoupling Microservices with Asynchronous Communication on AWS
A company is designing a new microservices architecture on AWS. They need to ensure that services can communicate asynchronously without direct coupling. Which AWS service should they use to decouple the services?
Quick Answer
Amazon SQS is the correct choice because it provides a fully managed message queue that enables asynchronous communication between microservices, allowing them to send, store, and receive messages without direct coupling. By decoupling the producer from the consumer, SQS ensures that services can operate independently, even if one is temporarily unavailable, which is the core principle of building resilient, loosely coupled architectures on AWS. On the SAP-C02 exam, this question tests your understanding of how to select the right decoupling pattern for microservices—SQS for pull-based, asynchronous messaging versus Amazon SNS for push-based fan-out or Kinesis for real-time streaming. A common trap is choosing SNS because it also decouples, but SNS requires subscribers to be active and does not buffer messages; SQS queues hold messages until consumed, making it the true decoupling service for asynchronous workloads. Memory tip: think “SQS = Queue, SNS = Notification”—if the consumer needs to poll at its own pace, always pick the Queue.
⚠ Common exam trap
A common mix-up: candidates confuse Amazon SNS (pub/sub) with Amazon SQS (queue), but SNS pushes messages to subscribers and does not provide a buffer for asynchronous decoupling, whereas SQS allows services to pull messages at their own pace, which is the key requirement for decoupling.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Amazon SQS
Amazon SQS is the correct choice because it provides a fully managed message queue that enables asynchronous communication between microservices, allowing them to send, store, and receive messages without direct coupling. Services can poll or receive messages from the queue at their own pace, ensuring that the producer and consumer are decoupled and can operate independently, even if one is temporarily unavailable.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
AWS Step Functions
Why it's wrong here
Step Functions is a serverless orchestration service.
- ✗
Amazon SNS
Why it's wrong here
SNS is a pub/sub messaging service, not a queue.
- ✓
Amazon SQS
Why this is correct
SQS provides a message queue for asynchronous decoupling.
- ✗
Amazon Kinesis
Why it's wrong here
Kinesis is for real-time streaming data ingestion.
Go deeper
Related to this question
About these practice questions
This SAP-C02 question is part of Courseiva's 1,660-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
Same concept, more angles
2 more ways this is tested on SAP-C02
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. A company is designing a new microservices architecture on AWS. They need to ensure that services can communicate asynchronously without tight coupling. Which AWS service should they use to decouple the services while providing durable message storage?
medium- A.Amazon SNS
- B.Amazon EventBridge
- C.Amazon Kinesis Data Streams
- ✓ D.Amazon SQS
Why D: Amazon SQS (Simple Queue Service) is the correct choice because it provides a fully managed message queue that enables asynchronous communication between microservices, decoupling them so that producers and consumers operate independently. SQS offers durable message storage by persisting messages across multiple Availability Zones, ensuring messages are not lost even if a consumer fails. This aligns with the requirement for loose coupling and reliable message delivery.
Variation 2. A company is designing a new microservices architecture on AWS. They need to ensure that services can communicate asynchronously without tight coupling. Which AWS service should they use for message brokering?
medium- ✓ A.Amazon Simple Queue Service (SQS)
- B.Amazon Simple Notification Service (SNS)
- C.Amazon Kinesis Data Streams
- D.AWS Step Functions
Why A: Option A (Amazon SQS) is correct because SQS provides a fully managed message queuing service for asynchronous communication between microservices, enabling decoupling. Option B (Amazon SNS) is a pub/sub notification service, not a queue. Option C (Amazon Kinesis Data Streams) is for real-time streaming data. Option D (AWS Step Functions) is for workflow orchestration.
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This SAP-C02 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the SAP-C02 exam.