A data engineer is designing an AWS Step Functions workflow that must process a large collection of files in parallel and apply the same transformation to each file. Which Step Functions state is appropriate for this requirement?
Choose an answer
Tap an option to check your answer.
Correct answer: Map state.
Why this is the answer
The Map state is ideal for processing a collection of items in parallel, applying the same set of steps to each item. It can iterate over an array in its input and execute a sub-workflow for each element, making it perfect for transforming multiple files concurrently. The Parallel state executes multiple branches independently and concurrently, but it doesn't iterate over a collection of items; it's for distinct, parallel tasks. The Choice state adds branching logic to a workflow based on input, not parallel processing. The Wait state pauses the execution for a specified period or until a specific time, which is unrelated to parallel data transformation.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed