Amazon

SAA-C03 practice question 10

AWS Certified Solutions Architect - Associate (SAA-C03) · free question 10 of 20

Question

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

Explanation

Option B is correct because it uses an Amazon SQS FIFO queue, which ensures that messages are processed in the exact order they were sent. This meets the requirement of processing orders in the order received.

Need the theory? Learn it free in the SAA-C03 course on Godlike Academy

Practice the whole free set

Answer all 20 free SAA-C03 questions with instant feedback, or unlock all 1018 questions with Learn and Exam modes.