AWS Certified Data Engineer – Associate (DEA-C01) — Question 191
A company is designing a serverless data processing workflow in AWS Step Functions that involves multiple steps. The processing workflow ingests data from an external API, transforms the data by using multiple AWS Lambda functions, and loads the transformed data into Amazon DynamoDB.
The company needs the workflow to perform specific steps based on the content of the incoming data.
Which Step Functions state type should the company use to meet this requirement?
Answer options
- A. Parallel
- B. Choice
- C. Task
- D. Map
Correct answer: B
Explanation
The correct answer is B, Choice, because it allows the workflow to make decisions based on the data content, directing execution to different branches accordingly. Options A (Parallel), C (Task), and D (Map) do not provide the conditional branching capability required to handle varying data inputs.