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 (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Sinaneos
Highly Voted 11 months ago
Selected Answer: B
B because FIFO is made for that specific purpose
upvoted 68 times
...
rein_chau
Highly Voted 2 years, 10 months ago
Selected Answer: B
Should be B because SQS FIFO queue guarantees message order.
upvoted 28 times
...
Ricky3443
Most Recent 2 days, 3 hours ago
Selected Answer: B
The requirement is to process orders in the order they are received. SNS (A): no ordering guarantees. SQS Standard (D): scalable but does not preserve order. API Gateway Authorizer (C): handles auth, not ordering. SQS FIFO (B): guarantees strict ordering and exactly-once processing. ✅ Correct Answer: B. API Gateway → SQS FIFO Queue → Lambda check reason why the answer B is Correct >>>https://shorturl.at/b5khA
upvoted 1 times
...
Clouddon
1 month, 2 weeks ago
Selected Answer: B
Use Amazon API Gateway → SQS FIFO Queue → Lambda to ensure ordered, reliable processing of incoming orders — meeting the ecommerce application's needs.
upvoted 2 times
...
K_SAA
3 months, 1 week ago
Selected Answer: B
keywords: orders should be process in the order when it receives B is correct answer, use API gateway intergation with FIFO SQS invoke lambda function for processing order A; SNS + lambda: SNS does not grant order messages to subscribers C: is not the correct one since we wanted to process the message in order so we do not have to block D: using standard queue does not grant the order of messages being sent
upvoted 1 times
...
sdjfidhbgidfbivgv
4 months, 1 week ago
Selected Answer: B
B SQS FIFO is made for that
upvoted 1 times
...
offek
5 months, 3 weeks ago
Selected Answer: B
FIFO make sure to send the data exactly in the same order
upvoted 1 times
...
ak240519
6 months, 1 week ago
Selected Answer: B
B is the only solution that guarantees message order.
upvoted 1 times
...
adamatic
6 months, 2 weeks ago
Selected Answer: B
Has to be FIFO queue for this requirement
upvoted 1 times
...
Mrigraj12
6 months, 4 weeks ago
Selected Answer: B
SQS FIFO as if want to maintain order of messages recieved to order of messages sent. It is like QUEUE data structutre in DSA
upvoted 1 times
...
surez
7 months ago
Selected Answer: B
SQS FIFO gurantees message order.
upvoted 1 times
...
MGKYAING
7 months, 4 weeks ago
Selected Answer: B
Explanation: FIFO Queues: Amazon SQS FIFO queues are specifically designed to maintain the order of messages. This ensures that messages are processed in the exact sequence they were sent, which is crucial for order processing in an e-commerce application. Why other options are less suitable: A. Amazon SNS: SNS is a publish-subscribe service. It doesn't guarantee message order. C. API Gateway Authorizer: Authorizers are used for authentication and authorization, not for managing message order. D. Amazon SQS Standard Queue: Standard SQS queues do not guarantee message order.
upvoted 3 times
...
ondan
10 months, 2 weeks 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
10 months, 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
10 months, 4 weeks ago
A lot of answers seem to not match the most voted. i'm confused which to follow.
upvoted 2 times
...
gx2222
11 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
11 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
...
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 ...