Answered step by step
Verified Expert Solution
Question
1 Approved Answer
A company has built a serverless application for its ecommerce website. The application includes a REST API in Amazon API Gateway that invokes an AWS
A company has built a serverless application for its ecommerce website. The application includes a REST API in Amazon API Gateway that invokes an AWS Lambda function. The Lambda function processes data and stores the data in a Amazon DynamoDB table. The Lambda function calls a thirdparty stock application API to process the order. After the ordered is processed, the Lambda function returns an HTTP status code with no body to the client. During peak usage when the API calls exceeds a certain threshold, the thirdparty stock application sometimes fails to process the data and responds with error messages. The company needs a solution that will not overwhelm the thirdparty stock application. Which solution will meet these requirements? A Configure the REST API in API Gateway to write the requests directly into DynamoDB. Configure a DynamoDB intrinsic function to perform the transformation. Set up a DynamoDB stream to call the thirdparty stock application API with each new row. Delete the Lambda function. B Configure the RESTAPI in API Gateway to write the requests directly into an Amazon Simple Queue Service Amazon SQS queue. Configure the Lambda function with a reserved concurrency equal to the thirdparty stock application's threshold. Set Lambda function to process the messages from the SQS queue. C Configure the REST API in API Gateway to write the requests directly into an Amazon Simple Notification Service Amazon SNS topic. Configure the Lambda function with a provisioned concurrency equal to the thirdparty stock application's threshold. Set the Lambda function to process the messages from the SNS topic. D Configure the REST API in API Gateway to write the requests directly into Amazon Athena. Configure the transformation of the data by using SQL with multiple query result locations set up to point to the DynamoDB table and the thirdparty stock fulfilment application API. Delete the Lambda function.
A company has built a serverless application for its ecommerce website. The application includes a REST API in Amazon API Gateway that invokes an AWS Lambda function. The
Lambda function processes data and stores the data in a Amazon DynamoDB table. The Lambda function calls a thirdparty stock application API to process the order. After the ordered
is processed, the Lambda function returns an HTTP status code with no body to the client.
During peak usage when the API calls exceeds a certain threshold, the thirdparty stock application sometimes fails to process the data and responds with error messages. The
company needs a solution that will not overwhelm the thirdparty stock application.
Which solution will meet these requirements?
A Configure the REST API in API Gateway to write the requests directly into DynamoDB. Configure a DynamoDB intrinsic function to perform the transformation. Set up a
DynamoDB stream to call the thirdparty stock application API with each new row. Delete the Lambda function.
B Configure the RESTAPI in API Gateway to write the requests directly into an Amazon Simple Queue Service Amazon SQS queue. Configure the Lambda function with a
reserved concurrency equal to the thirdparty stock application's threshold. Set Lambda function to process the messages from the SQS queue.
C Configure the REST API in API Gateway to write the requests directly into an Amazon Simple Notification Service Amazon SNS topic. Configure the Lambda function with
a provisioned concurrency equal to the thirdparty stock application's threshold. Set the Lambda function to process the messages from the SNS topic.
D Configure the REST API in API Gateway to write the requests directly into Amazon Athena. Configure the transformation of the data by using SQL with multiple query result
locations set up to point to the DynamoDB table and the thirdparty stock fulfilment application API. Delete the Lambda function.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started