Medium1 markMultiple Choice
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?
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
Q01A company has multiple AWS accounts in an AWS Organizations organization. The security team needs...MediumQ02An application runs on Amazon EC2 instances and needs to access an Amazon S3 bucket. What is the ...EasyQ03A company wants to implement federated access to the AWS Management Console for its employees usi...MediumQ04A company is building a mobile application that requires users to sign in using their social medi...EasyQ05A security team wants to enforce MFA for all IAM users before they can terminate EC2 instances. H...Medium
Expert