DVA-C02 practice question · Development with AWS Services
A Step Functions workflow needs to run the same processing steps for each item in a dynamically sized array of input…
A Step Functions workflow needs to run the same processing steps for each item in a dynamically sized array of input items. Which state type is designed for this?
- AA Map state
- BA Task state alone, called once
- CA Wait state
- DA Pass state
Show the answer and explanation
Correct answer: A) A Map state
Why each option is right or wrong
- A) Correct. A Map state iterates over an array of input, running the same defined set of steps for each item, optionally in parallel, which is exactly suited to per-item processing of a dynamically sized collection.
- B) Incorrect. A single Task state performs one unit of work once; it doesn't inherently iterate over a variable-length collection the way a Map state does.
- C) Incorrect. A Wait state simply pauses execution for a specified time or until a timestamp; it has no iteration capability.
- D) Incorrect. A Pass state passes its input to its output, optionally injecting fixed data; it doesn't iterate over a collection of items.
- Exam domain
- Development with AWS Services · 32% of DVA-C02
- Question type
- Multiple choice (one answer)
Related DVA-C02 questions
- An on-premises order system runs a self-managed, open source message broker cluster.Development with AWS Services
- A developer wants to reduce the number of separate GetItem calls needed to retrieve 50 specific items with known keys…Development with AWS Services
- A Lambda function needs to publish a custom CloudWatch metric, such as "OrdersProcessed", from within its handler code.Development with AWS Services
- A team wants to add cross-cutting functionality to their Lambda functions — like sending telemetry to a third-party…Development with AWS Services
All 67 free DVA-C02 questions by domain · 15 sample questions on one page
Practise the full DVA-C02 exam
This question is one of a small free sample from the CertRidge DVA-C02 bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.
Original question written from the official exam guide. Not affiliated with AWS; never copied from the real exam.
Worth reading: DVA-C02 cheat sheet, Lambda, DynamoDB, API Gateway, IAM and Cognito, messaging, CI/CD and X-Ray in tables, plus what DVA-C03 changes.