Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Exam AWS Certified Solutions Architect - Associate SAA-C03 topic 1 question 10 discussion

A company is building an ecommerce web application on AWS. The application sends information about new orders to an Amazon API Gateway REST API to process. The company wants to ensure that orders are processed in the order that they are received.
Which solution will meet these requirements?

  • A. Use an API Gateway integration to publish a message to an Amazon Simple Notification Service (Amazon SNS) topic when the application receives an order. Subscribe an AWS Lambda function to the topic to perform processing.
  • B. Use an API Gateway integration to send a message to an Amazon Simple Queue Service (Amazon SQS) FIFO queue when the application receives an order. Configure the SQS FIFO queue to invoke an AWS Lambda function for processing.
  • C. Use an API Gateway authorizer to block any requests while the application processes an order.
  • D. Use an API Gateway integration to send a message to an Amazon Simple Queue Service (Amazon SQS) standard queue when the application receives an order. Configure the SQS standard queue to invoke an AWS Lambda function for processing.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Sinaneos
Highly Voted 1 year, 11 months ago
Selected Answer: B
B because FIFO is made for that specific purpose
upvoted 65 times
...
rein_chau
Highly Voted 1 year, 11 months ago
Selected Answer: B
Should be B because SQS FIFO queue guarantees message order.
upvoted 27 times
...
pranavff_examtopics_1993
Most Recent 1 week, 5 days ago
Selected Answer: B
FIFO ensures message order
upvoted 1 times
...
PaulGa
1 month, 1 week ago
Selected Answer: B
FIFO is crucial to ensuring the solution works. Two answers use SQS and the author has differentiated between these option by specifically stating in option B “FIFO” On the other hand, SNS also has a FIFO option but the author has chosen to not state that in answer A. If the author had said in option A: “…with FIFO” then A could have been a viable answer. Therefore it has to be Ans B (not A as the author recommends).
upvoted 1 times
...
PaulGa
1 month, 1 week ago
FIFO is crucial to ensuring the solution works. Two answers (B & D) use SQS and the author has differentiated between these by specifically stating in answer B “FIFO”. On the other hand (answer A), SNS also has a FIFO option but the author has chosen to not state that in answer A. If the author had been consistent and said in answer A: “…with FIFO” then A could have been a viable answer. Therefore it has to be Ans B (not A as the author recommends).
upvoted 1 times
...
aws_sungazer
1 month, 3 weeks ago
B. SQS FIFO as order of processing should be same as order of receiving
upvoted 1 times
...
parth_g_mehta
2 months ago
Selected Answer: B
Use an Amazon SQS FIFO (First-In-First-Out) Queue to ensure that orders are processed in the exact order they are received. The FIFO queue guarantees message order and exactly-once processing.
upvoted 2 times
...
ChymKuBoy
3 months, 2 weeks ago
Selected Answer: B
B for sure
upvoted 1 times
...
jaradat02
3 months, 2 weeks ago
Selected Answer: B
what's up with all these strange answers!!!! I chose B, SQS FIFO is designed for this exact use case, why does the author claim that A is the correct answer??
upvoted 3 times
...
OBIOHAnze
3 months, 4 weeks ago
Selected Answer: B
B seems to be the answer
upvoted 1 times
...
d675329
4 months ago
Selected Answer: B
I'll go ahead with B. But my grouse with Option B is it says "Configure the SQS FIFO queue". You configure the Lambda, not the SQS queue. The role for Lambda to access SQS is auto-configured by AWS.
upvoted 2 times
...
Rabbit117
5 months, 1 week ago
Selected Answer: B
I think B is the correct answer as SQS FIFO guarantees the order.
upvoted 2 times
...
ManikRoy
5 months, 3 weeks ago
Selected Answer: B
SQS FIFO Queue is for this use case.
upvoted 1 times
...
hro
6 months ago
B SNS - PubSub (think pass along) SQS - Queueing (think batch) Kinesis - Real-time SWF - Queuing but with people
upvoted 3 times
...
JavierEF
6 months, 1 week ago
Selected Answer: B
A is not correct becuase, if we do not specify that is an SNS FIFO, we have no guarantee the messages will be processed in publishing order.
upvoted 1 times
...
Rosy92
6 months, 3 weeks ago
Selected Answer: B
Orders have to be processed in order so SQS FIFO is requested here.
upvoted 1 times
...
ldruizsan
7 months, 1 week ago
Selected Answer: B
Although A is a viable option, the statement says it needs to ensure that messages are processed in the order they are received. That is FIFO by definition.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...