Medium1 markMultiple Choice
Domain 2.3: Decoupling MechanismsDomain 2Step FunctionsDecoupling

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

An e-commerce application has a complex order fulfillment process involving payment processing, inventory updates, and shipping notifications. If any step fails, the system must execute compensating transactions to rollback previous steps. Which service is BEST suited to orchestrate this workflow?

Answer options:

A.

Amazon SQS

B.

AWS Step Functions

C.

Amazon EventBridge

D.

AWS Lambda

How to approach this question

Look for 'complex workflow', 'orchestrate', and 'compensating transactions'. This is the primary use case for Step Functions.

Full Answer

B.AWS Step Functions✓ Correct
AWS Step Functions
AWS Step Functions lets you coordinate multiple AWS services into serverless workflows. It maintains application state, tracking exactly which step your workflow is in, and handles errors with built-in retry and fallback mechanisms (compensating transactions).

Common mistakes

Choosing SQS, which only queues messages and cannot manage workflow state.

Practice the full AWS SAA-C03 Practice Exam 3

65 questions · hints · full answers · grading

More questions from this exam