
Ultimate access to all questions.
An e-commerce company operates a microservices architecture where orders are received from different partners through unique APIs, each exposed via Amazon API Gateway. These orders are processed by a common AWS Lambda function.
What is the most efficient method for the company to notify each partner about the status of their specific orders, ensuring that the process does not interfere with the orders of other partners? Additionally, the solution should be scalable, allowing new partners to be integrated with minimal modifications to the existing codebase.
A
Set up a separate SNS topic for each partner. Modify the Lambda function to publish messages for each partner to the partner's SNS topic
B
Set up a separate SNS topic for each partner and subscribe each partner to the respective SNS topic. Modify the Lambda function to publish messages with specific attributes to the partner's SNS topic and apply the appropriate filter policy to the topic subscriptions
C
Set up a separate Lambda function for each partner. Set up an SNS topic and subscribe each partner to the SNS topic. Modify each partner's Lambda function to publish messages with specific attributes to the SNS topic and apply the appropriate filter policy to the topic subscriptions
D
Set up an SNS topic and subscribe each partner to the SNS topic. Modify the Lambda function to publish messages with specific attributes to the SNS topic and apply the appropriate filter policy to the topic subscriptions