AWS SAP-C02 · Question 75 · Domain 4.4: Modernization Requirements
A company is modernizing a monolithic application into microservices. They have chosen Amazon ECS on AWS Fargate. The microservices need to communicate with each other asynchronously. Service A generates events that need to be processed by Service B and Service C. Service B must process every event, but Service C only needs to process events where the 'status' field is 'critical'. Which architecture is MOST decoupled and cost-effective?
Answer options:
Service A sends messages directly to Service B and Service C using HTTP APIs.
Service A sends messages to a single Amazon SQS queue. Both Service B and Service C poll the queue.
Service A publishes to an Amazon SNS topic. Service B and Service C have their own SQS queues subscribed to the topic. Service C's subscription uses a filter policy.
Service A writes events to an Amazon RDS database. Service B and Service C poll the database.
75 questions · hints · full answers · grading