DVA-C02 practice question · Development with AWS Services
A developer wants a Step Functions state machine to run several independent branches of work — like calling three…
A developer wants a Step Functions state machine to run several independent branches of work — like calling three unrelated APIs — at the same time and wait for all of them to finish before continuing. Which state type fits?
- AA Parallel state, with each branch defined as its own independent sequence of states
- BA Map state, which only iterates a single set of steps over items in an array
- CA Choice state
- DA Pass state
Show the answer and explanation
Correct answer: A) A Parallel state, with each branch defined as its own independent sequence of states
Why each option is right or wrong
- A) Correct. A Parallel state runs multiple fixed branches concurrently, and the state machine only proceeds to the next state once all branches complete, which is exactly suited to running several independent operations, like calling three unrelated APIs, at the same time.
- B) Incorrect. A Map state is for applying the same steps repeatedly to items in a collection, not for running several different, independently-defined branches of work side by side — that's what a Parallel state does.
- C) Incorrect. A Choice state routes execution down one of several possible paths based on a condition; it doesn't run multiple branches concurrently at once.
- D) Incorrect. A Pass state simply forwards its input to output, optionally injecting fixed data; it has no concurrent-branching capability.
- Exam domain
- Development with AWS Services · 32% of DVA-C02
- Question type
- Multiple choice (one answer)
Related DVA-C02 questions
- A team needs to apply the same operation (such as copying or tagging) to millions of existing objects already in an S3…Development with AWS Services
- After deploying an update to a static asset in S3, users behind CloudFront continue seeing the old cached version until…Development with AWS Services
- A company wants their API Gateway REST API to be reachable at api.example.com/v1/...Development with AWS Services
- A DynamoDB PutItem call should only succeed if an item with that primary key doesn't already exist (to avoid…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.