Medium1 markMultiple Choice
Domain 2.3: Decoupling MechanismsResilienceStep FunctionsWorkflow

AWS SAA-C03 · Question 32 · Domain 2.3: Decoupling Mechanisms

A company is building a serverless workflow that involves multiple steps: checking inventory, processing payment, and initiating shipping. If the payment fails, the workflow must automatically execute a rollback step to restore inventory. Which AWS service is BEST suited for orchestrating this complex workflow?

Answer options:

A.

Amazon SQS

B.

AWS Step Functions

C.

Amazon EventBridge

D.

AWS Lambda

How to approach this question

Look for 'workflow', 'multiple steps', and 'rollback'. This describes a state machine, which is AWS Step Functions.

Full Answer

B.AWS Step Functions✓ Correct
AWS Step Functions
AWS Step Functions lets you coordinate multiple AWS services into serverless workflows so you can build and update apps quickly. It natively handles state, branching, and error handling.

Common mistakes

Trying to use SQS or Lambda to manually manage state, which leads to complex, hard-to-maintain code.

Practice the full AWS SAA-C03 Practice Exam 7

65 questions · hints · full answers · grading

More questions from this exam