SAP-C02 Question 676
Select 3A company is designing an order processing application that requires high scalability and decoupled communication between its components. The application should handle order creation, payment processing, and shipping notifications efficiently. The solution must ensure that each component can process messages independently without being affected by the performance of other components. Which combination of AWS services should you use to meet these requirements?
- A
Amazon SQS for message queuing between components
- B
Amazon SNS to broadcast shipping notifications to multiple subscribers
- C
Amazon EventBridge to route payment processing events to the appropriate services
- D
AWS Step Functions to manage the workflow between order creation, payment processing, and shipping notifications
- E
Amazon RDS to store all events and manage communication between components
Show answer and explanation
Correct answers: A, B, D
Explanation
To handle a decoupled and scalable order processing application, Amazon SQS provides the necessary message queueing functionality, allowing components to process messages independently. Amazon SNS enables broadcasting notifications, such as shipping updates, to multiple subscribers. AWS Step Functions orchestrates the workflow between components, ensuring tasks like order creation, payment processing, and notifications are executed in sequence. These services work together to meet the requirements of scalability, decoupling, and efficiency for the order processing application.
- A. Correct.
Amazon SQS is suitable for decoupling components and providing a scalable message queuing solution, ensuring each component can process messages independently.
- B. Correct.
Amazon SNS is ideal for broadcasting shipping notifications to multiple subscribers, such as email, SMS, or other services.
- C. Incorrect.
Amazon EventBridge is primarily used for event-driven architectures but is less suitable when decoupling components using message queues. It is not the best fit for this use case.
- D. Correct.
AWS Step Functions is appropriate for managing and orchestrating workflows between different components, ensuring the order creation, payment processing, and shipping notifications are handled in sequence.
- E. Incorrect.
Amazon RDS is a relational database service and is not designed for managing decoupled communication between components. It is not suitable for this scenario.