AWS Certified Solutions Architect – Associate (SAA-C03) — Question 698

A company is building a new application that uses serverless architecture. The architecture will consist of an Amazon API Gateway REST API and AWS Lambda functions to manage incoming requests.

The company wants to add a service that can send messages received from the API Gateway REST API to multiple target Lambda functions for processing. The service must offer message filtering that gives the target Lambda functions the ability to receive only the messages the functions need.

Which solution will meet these requirements with the LEAST operational overhead?

Answer options

Correct answer: A

Explanation

Using an Amazon SNS topic with subscribed Amazon SQS queues implements a highly scalable fan-out pattern where SNS subscription filter policies ensure each queue receives only its relevant messages. This serverless architecture requires minimal operational overhead compared to managing self-hosted or managed Kafka clusters like Amazon MSK. Directing API Gateway to multiple SQS queues manually or using other custom routing mechanisms introduces unnecessary complexity and higher administrative effort.