DEA-C01 Question 95
Select 3A retail company wants to build an event-driven architecture to process customer purchase events in real-time. They want to ensure that the system can handle events from multiple event producers, process the events asynchronously, and scale automatically. Which combination of AWS services should the company use to implement this architecture?
- A
Amazon EventBridge to route events from producers to consumers
- B
Amazon SQS to ensure reliable message delivery between producers and consumers
- C
Amazon DynamoDB Streams to process purchase events in real time
- D
AWS Lambda to process events asynchronously and scale automatically
- E
Amazon RDS to store purchase events for long-term analysis
Show answer and explanation
Correct answers: A, B, D
Explanation
To implement an event-driven architecture, the company should use Amazon EventBridge to route events from multiple producers to consumers, Amazon SQS to ensure reliable decoupled communication between components, and AWS Lambda for asynchronous event processing and automatic scaling. This combination of services ensures scalability, reliability, and flexibility in the architecture.
- A. Correct.
Amazon EventBridge is a serverless event bus service that allows event producers to publish events and route them to multiple consumers. It is well-suited for event-driven architectures.
- B. Correct.
Amazon SQS is a message queuing service that ensures reliable message delivery between producers and consumers, making it a key component for decoupling components in an event-driven system.
- C. Incorrect.
Amazon DynamoDB Streams can process database change events, but it is not suitable for routing or managing events from multiple producers in an event-driven architecture.
- D. Correct.
AWS Lambda is ideal for asynchronous event processing and provides automatic scaling, making it a critical component in an event-driven architecture.
- E. Incorrect.
Amazon RDS is used for relational database storage and is not suitable for event routing or processing in an event-driven architecture.