
Ultimate access to all questions.
A company's serverless ecommerce application uses Amazon API Gateway for a REST API, which triggers an AWS Lambda function. This function processes orders and stores them in Amazon DynamoDB, then communicates with a third-party stock application API. During peak times, the third-party API sometimes fails due to high request volumes. The company seeks a solution to prevent overwhelming this third-party service.
A
Utilize API Gateway to input requests directly into DynamoDB, employ a DynamoDB stream for invoking the third-party API, and eliminate the Lambda function.
B
Direct API Gateway requests to an Amazon SQS queue, set Lambda's reserved concurrency to the third-party API's threshold, and have Lambda process messages from the SQS queue.
C
Send API Gateway requests to an Amazon SNS topic, set Lambda's provisioned concurrency to match the third-party API's threshold, and process messages from the SNS topic.
D
Input API Gateway requests directly into Amazon Athena, use SQL for data transformation with query results directed to both DynamoDB and the third-party API, and remove the Lambda function.