QuestionQ18

VerifiedDevelopment with AWS Services

A company has an application that processes audio files for different departments. When audio files are saved to an Amazon S3 bucket, an AWS Lambda function receives an event notification and processes the audio input.

A developer needs to update the solution so that the application can process the audio files for each department independently. The application must publish the audio file location for each department to each department's existing Amazon Simple Queue Service (Amazon SQS) queue.

Which solution will meet these requirements with no changes to the Lambda function code?

Explanation

Using SNS with subscription filter policies enables fan-out routing to multiple SQS queues without modifying the Lambda function. S3 sends notifications to a single SNS topic, and department-specific filter policies automatically route messages to the appropriate queue, maintaining backward compatibility with existing Lambda code.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!