SAA-C03 Exam QuestionsBrowse all questions from this exam

SAA-C03 Exam - Question 739


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?

Show Answer
Correct Answer: B

To meet the requirements of sending messages from an API Gateway REST API to multiple Lambda functions with message filtering and the least operational overhead, Amazon EventBridge is the optimal choice. EventBridge can directly route the messages to the appropriate Lambda functions based on content, attributes, or patterns, reducing complexity and operational overhead. EventBridge provides built-in support for message filtering to ensure that each Lambda function only receives the messages it needs to process. Additionally, EventBridge manages the orchestration and scaling, making it a more seamless and less operationally intensive solution compared to setting up and managing SNS and SQS configurations.

Discussion

16 comments
Sign in to comment
KezukoOption: A
Mar 20, 2024

"message filtering" = SNS

BBR01Option: A
May 1, 2024

The main issue with B is that with Eventbrige, you can only define up to five targets for each rule. https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-targets.html

jaswantn
Feb 11, 2024

option A.. SNS message filtering

BillaRangaOption: B
Feb 16, 2024

to multiple target = SNS, EventBridge. Also, SNS has to use SQS to send filtered content, and Lambda has to poll the SQS to get the message, which is clearly an Overhead. Meanwhile, EventBridge can invoke a Lambda function, which reduces the Operational Overhead.

67a3f49
Feb 20, 2024

There is no SNS in B.

hgknightOption: A
Feb 23, 2024

multiple target, message filtering = SNS

knben
Feb 24, 2024

I'd go with D Multiple targets but target Lambda functions the ability to receive only the messages the functions need, so gateway should send to specific SQS so specific lambda can process that message. With SNS you send to all at once, so lambdas will get the messages they can't process. Correct me if I'm wrong.

sandordini
Apr 26, 2024

B: EventBridge reacts to events, not requests or messages. C: I don't think so, but I don't know MSK well enough. D: You can add a filter so that your function only processes Amazon SQS messages containing certain data parameters. but it will still receive, so I assume it's not what the question asks for. Only A remains... But it still misses steps plus we are looking for the Least ops overhead.. I am confused..

Andy_09
Feb 5, 2024

Option A

seetptOption: A
Mar 8, 2024

A because of SNS

lenotcOption: B
Mar 20, 2024

EventBridge rules can filter messages based on, content, attributes, or patterns

TruthWS
Mar 27, 2024

Option B - Eventbridge allow routing event from source to dest or multi dest you want

AlvinC2024Option: D
Apr 2, 2024

Upload and store content in Amazon S3 in the Region that is closest to the user. Use multiple distributions of Amazon CloudFront. This approach ensures that uploads are quick, taking advantage of the geographical proximity of S3, while still leveraging CloudFront for efficient content delivery outside the local region if necessary. The local nature of the content consumption aligns with storing content in the closest region to the user, addressing the requirement that 90% of the content is consumed within the AWS Region where it is uploaded.

03beafcOption: B
Apr 22, 2024

Eventbridge + lambda is two services, sns + sqs + lambda is 3. Both can filter, but the config involved in eventbridge > lambda is easier

3bdf1cc
Jun 13, 2024

https://aws.amazon.com/blogs/compute/capturing-client-events-using-amazon-api-gateway-and-amazon-eventbridge/

ScheldonOption: A
Jun 26, 2024

AnswerA Hence EventBridge is a solution to handle events and we need to handle messages I believe option A is the best solution here

1166ae3Option: B
Jul 10, 2024

LEAST operational overhead -> B better than A