A company is building a serverless application with an Amazon API Gateway REST API and AWS Lambda functions. The company needs a service that sends messages received from the API Gateway to multiple target Lambda functions and supports message filtering so each function receives only the messages it needs, with the LEAST operational overhead. Which solution meets these requirements?
Choose an answer
Tap an option to check your answer.
Correct answer: Send the requests from the API Gateway REST API to Amazon EventBridge. Configure EventBridge to invoke the target Lambda functions..
Why this is the answer
EventBridge is the most suitable solution because it natively supports content-based filtering and direct invocation of multiple AWS Lambda functions, fulfilling the requirement for message filtering and delivery with the least operational overhead. EventBridge acts as a serverless event bus, simplifying event routing. The SNS and SQS option involves more operational overhead due to managing SQS queues and configuring Lambda functions to poll them, even with SNS message filtering. Amazon MSK is a managed Kafka service, but it's generally used for high-throughput streaming data and introduces more complexity and operational overhead than EventBridge for this specific use case. Sending requests directly to multiple SQS queues would require the API Gateway to know about and manage multiple destinations, and it lacks the filtering capabilities of EventBridge.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed