DVA-C02 · Question #64
A company receives food orders from multiple partners. The company has a microservices application that uses Amazon API Gateway APIs with AWS Lambda integration. Each partner sends orders by calling…
The correct answer is C. Create an Amazon Simple Notification Service (Amazon SNS) topic. Configure the Lambda. https://docs.aws.amazon.com/sns/latest/dg/sns-message-filtering.html
Question
A company receives food orders from multiple partners. The company has a microservices application that uses Amazon API Gateway APIs with AWS Lambda integration. Each partner sends orders by calling a customized API that is exposed through API Gateway. The API call invokes a shared Lambda function to process the orders. Partners need to be notified after the Lambda function processes the orders. Each partner must receive updates for only the partner's own orders. The company wants to add new partners in the future with the fewest code changes possible. Which solution will meet these requirements in the MOST scalable way?
Options
- ACreate a different Amazon Simple Notification Service (Amazon SNS) topic for each partner.
- BCreate a different Lambda function for each partner. Configure the Lambda function to notify each
- CCreate an Amazon Simple Notification Service (Amazon SNS) topic. Configure the Lambda
- DCreate one Amazon Simple Notification Service (Amazon SNS) topic. Subscribe all partners to
How the community answered
(23 responses)- A13% (3)
- B9% (2)
- C48% (11)
- D30% (7)
Explanation
https://docs.aws.amazon.com/sns/latest/dg/sns-message-filtering.html
Community Discussion
No community discussion yet for this question.