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

Exam AWS Certified Solutions Architect - Associate SAA-C03 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Associate SAA-C03 exam

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: B 🗳️

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 month, 4 weeks ago
Selected Answer: B
B because FIFO is made for that specific purpose
upvoted 67 times
...
rein_chau
Highly Voted 2 years, 1 month ago
Selected Answer: B
Should be B because SQS FIFO queue guarantees message order.
upvoted 28 times
...
ondan
Most Recent 1 month, 1 week ago
Standard queues ensure at-least-once message delivery, but due to the highly distributed architecture, more than one copy of a message might be delivered, and messages may occasionally arrive out of order.
upvoted 3 times
...
Abishek016
1 month, 3 weeks ago
AnswerB - SQS FIFO queues ensure that messages are processed in the order they are received, which perfectly matches the requirement of maintaining order.
upvoted 2 times
...
paobalinas
1 month, 3 weeks ago
A lot of answers seem to not match the most voted. i'm confused which to follow.
upvoted 2 times
...
gx2222
2 months ago
Selected Answer: B
Explanation: To ensure that orders are processed in the order that they are received, the best solution is to use an Amazon SQS FIFO (First-In-First-Out) queue. This type of queue maintains the exact order in which messages are sent and received. In this case, the application can send information about new orders to an Amazon API Gateway REST API, which can then use an API Gateway integration to send a message to an Amazon SQS FIFO queue for processing. The queue can then be configured to invoke an AWS Lambda function to perform the necessary processing on each order. This ensures that orders are processed in the exact order in which they are received.
upvoted 5 times
...
PhucVuu
2 months ago
Selected Answer: B
Keywords: - Orders are processed in the order that they are received. A: Incorrect - SNS just for notification like send email, SMS. It don't retain the data in the queue and it's used pub-sub pattern. B: Correct - SQS FIFO will help message process in order. FIFO -> first in first out. C: Incorrect - with this solution we will create blocker app not good app =)) D: Incorrect - SQS standard don't guarantee the order.
upvoted 12 times
...
Guru4Cloud
2 months ago
Selected Answer: B
Explanation: - Amazon API Gateway will be used to receive the orders from the web application. - Instead of directly processing the orders, the API Gateway will integrate with an Amazon SQS FIFO queue. - FIFO (First-In-First-Out) queues in Amazon SQS ensure that messages are processed in the order they are received. - By using a FIFO queue, the order processing is guaranteed to be sequential, ensuring that the first order received is processed before the next one. - An AWS Lambda function can be configured to be triggered by the SQS FIFO queue, processing the orders as they arrive
upvoted 6 times
...
Andreshere
2 months ago
Selected Answer: B
A. This option could be correct if we use SNS FIFO option, but this is not the case stated in the question. Additionally, this task is more efficient done by a queue than a subscription service. So, this option is not correct. B. We use a queue, which is efficient processing messages. Additionally, it preserves the order since it is a FIFO queue. Meanwhile we don’t have any kind of messages throughput limitation, this option is correct. C. This option discards any messages that are still processing, which is not a good solution. D. Same option as B but using a normal queue, which does not preserve the order. Incorrect.
upvoted 6 times
...
PaulGa
2 months 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
2 months 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
...
pranavff_examtopics_1993
2 months, 2 weeks ago
Selected Answer: B
FIFO ensures message order
upvoted 1 times
...
aws_sungazer
3 months, 3 weeks ago
B. SQS FIFO as order of processing should be same as order of receiving
upvoted 1 times
...
parth_g_mehta
4 months, 1 week 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
5 months, 2 weeks ago
Selected Answer: B
B for sure
upvoted 1 times
...
jaradat02
5 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
6 months ago
Selected Answer: B
B seems to be the answer
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 ...