Exam SAA-C03 All QuestionsBrowse all questions from this 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?

    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
KezukoOption: A

"message filtering" = SNS

BBR01Option: A

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

sandordini

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..

knben

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.

hgknightOption: A

multiple target, message filtering = SNS

BillaRangaOption: B

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

There is no SNS in B.

jaswantn

option A.. SNS message filtering

1166ae3Option: B

LEAST operational overhead -> B better than A

ScheldonOption: A

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

3bdf1cc

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

03beafcOption: B

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

AlvinC2024Option: D

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.

TruthWS

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

lenotcOption: B

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

seetptOption: A

A because of SNS

Andy_09

Option A