nerdexam
AmazonAmazon

DVA-C02 · Question #237

DVA-C02 Question #237: Real Exam Question with Answer & Explanation

Sign in or unlock DVA-C02 to reveal the answer and full explanation for question #237. The question stem and answer options stay visible for context.

Submitted by rachelw· Mar 5, 2026Development with AWS Services

Question

A developer is designing a serverless application that customers use to select seats for a concert venue. Customers send the ticket requests to an Amazon API Gateway API with an AWS Lambda function that acknowledges the order and generates an order ID. The application includes two additional Lambda functions: one for inventory management and one for payment processing. These two Lambda functions run in parallel and write the order to an Amazon Dynamo DB table. The application must provide seats to customers according to the following requirements. If a seat is accidently sold more than once, the first order that the application received must get the seat. In these cases, the application must process the payment for only the first order. However, if the first order is rejected during payment processing, the second order must get the seat. In these cases, the application must process the payment for the second order. Which solution will meet these requirements?

Options

  • ASend the order ID to an Amazon Simple Notification Service (Amazon SNS) FIFO topic that fans
  • BChange the Lambda function that generates the order ID to initiate the Lambda function for
  • CSend the order ID to an Amazon Simple Notification Service (Amazon SNS) topic. Subscribe the
  • DDeliver the order ID to an Amazon Simple Queue Service (Amazon SQS) queue. Configure the

Unlock DVA-C02 to see the answer

You've previewed enough free DVA-C02 questions. Unlock DVA-C02 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Serverless#Message Ordering#AWS Lambda#Amazon SNS FIFO
Full DVA-C02 PracticeBrowse All DVA-C02 Questions