SAA-C03 Question 117
Single answerA company is designing an event-driven architecture for processing orders placed on their e-commerce platform. When an order is placed, the system generates an order event that triggers multiple downstream services such as payment processing, inventory management, and email notifications. The company wants to ensure that all downstream services can process the events independently and at their own pace. Which AWS service is the most suitable for implementing this architecture?
- A
Amazon Simple Queue Service (SQS)
- B
Amazon Simple Notification Service (SNS)
- C
Amazon EventBridge
- D
AWS Step Functions
Show answer and explanation
Correct answer: C
Explanation
Amazon EventBridge is optimized for event-driven architectures. It enables event producers to send events to an event bus, which can then route those events to multiple targets like AWS services or custom applications. This ensures that downstream services can consume and process events independently and at their own pace, aligning perfectly with the company's requirements.
- A. Incorrect.
Amazon Simple Queue Service (SQS) is a message queue service that enables decoupling of components, but it is not a suitable choice for event-driven architectures involving multiple downstream services consuming the same event. SQS is better suited for point-to-point messaging.
- B. Incorrect.
Amazon Simple Notification Service (SNS) is a pub/sub messaging service that can fan out messages to multiple subscribers, but it lacks the advanced event-routing features required for more complex event-driven architectures.
- C. Correct.
Amazon EventBridge is a serverless event bus that allows applications to communicate using events. It supports advanced event routing, filtering, and integration with multiple AWS services, making it the most suitable choice for this event-driven architecture.
- D. Incorrect.
AWS Step Functions is a serverless orchestration service used for building workflows. While it can coordinate services, it is not designed for event-driven architectures where services operate independently.