SAA-C03 Question 261
Select 2A company is building a distributed application where multiple components need to communicate with each other. Some components need real-time updates, while others can process updates at their own pace. The company wants to decouple these components and ensure reliable message processing. Which AWS services should the company use to implement this architecture?
- A
Amazon Simple Notification Service (SNS) for real-time updates and Amazon Simple Queue Service (SQS) for decoupled message processing
- B
Amazon Kinesis Data Streams for real-time updates and Amazon SQS for decoupled message processing
- C
Amazon SNS for message storage and Amazon SQS for message delivery
- D
Amazon SQS for real-time updates and Amazon SNS for decoupled message processing
- E
Amazon SNS for real-time updates and Amazon Kinesis Data Streams for decoupled message processing
Show answer and explanation
Correct answers: A, B
Explanation
To build a decoupled architecture with real-time updates, Amazon SNS and Amazon Kinesis Data Streams are suitable for publish/subscribe and streaming use cases. Amazon SQS is ideal for decoupled message processing with reliable delivery. The combination of these services allows components to communicate efficiently while processing messages at their own pace.
- A. Correct.
Correct. Amazon SNS provides a publish/subscribe model for real-time updates, while Amazon SQS allows decoupled message processing with reliable delivery.
- B. Correct.
Correct. Amazon Kinesis Data Streams can handle real-time streaming data, and Amazon SQS can provide decoupled message processing for components that can process messages at their own pace.
- C. Incorrect.
Incorrect. Amazon SNS is not used for message storage; it is designed for real-time publish/subscribe messaging. Amazon SQS should be used for message storage and delivery.
- D. Incorrect.
Incorrect. Amazon SQS is not designed for real-time updates; it is a queue-based service for decoupled processing. Amazon SNS should be used for real-time updates.
- E. Incorrect.
Incorrect. Amazon Kinesis Data Streams is not designed for decoupled message processing; it is used for real-time streaming data. Amazon SQS is better suited for this purpose.