A developer is creating a serverless ecommerce application that is based on AWS Lambda. An asynchronous workflow manages the checkout process and must orchestrate different Lambda functions. The workflow runs one function for each item in the shopping cart. The developer is using AWS Step Functions to orchestrate the process. The checkout process is running the Lambda functions serially, and the developer needs to improve the performance of the process. What should the developer do to meet these requirements?
A) Use a Choice state to identify the size of the cart and invoke a specific Lambda function with the entire cart content.
B) Use a Retry field for a second run to process all the items that failed.
C) Use a Parallel state to iterate over all the items in parallel.
D) Use a Map state to iterate over all the items in the cart.
Correct Answer:
Verified
Q419: A developer is building an application integrating
Q420: Q421: A company is using an AWS Lambda Q422: A developer is writing a new AWS Q423: A developer is building a new application Q425: A developer wants to secure sensitive configuration Q426: A company is adding stored value (or Q427: A company processes incoming documents from an Q428: A developer has built an application using Q429: A company has an Amazon S3 bucket
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents