Question 83 of 988
CLF-C02 Cloud Technology and Services Practice Question
A company is building a serverless order-processing application. The workflow consists of several steps that must run in a defined order: validate the order, check inventory, process payment, and then update the database. Some steps, such as shipping notification and invoice generation, can run in parallel after payment is confirmed. The company needs a managed service to orchestrate these steps, automatically handle retries if a step fails, and provide a visual representation of the workflow's execution state. Which AWS service should the company use?
⚠ Common exam trap
Candidates often confuse Amazon SWF with Step Functions because both orchestrate workflows, but SWF requires custom deciders and workers for coordination, whereas Step Functions is fully managed and serverless, making it the correct choice for this use case.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
AWS Step Functions
AWS Step Functions is the correct choice because it is a fully managed serverless orchestration service that allows you to define workflows as state machines, specifying sequential steps (validate, check inventory, process payment, update database) and parallel branches (shipping notification, invoice generation). It automatically handles retries on failures with configurable backoff rates and provides a visual execution console to track the state of each workflow instance in real time, meeting all the company's requirements.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
AWS Step Functions
Why this is correct
AWS Step Functions is a serverless orchestration service that allows you to define workflows as state machines. It can coordinate sequential and parallel steps, handle retries and errors, and provides a visual console to track execution. This directly matches the requirement to orchestrate the order-processing steps with defined order and parallel branches.
- ✗
Amazon Simple Workflow Service (SWF)
Why it's wrong here
Amazon SWF is an older service that also helps coordinate work across distributed components. However, it is not serverless in the same way as Step Functions, requires more manual setup (e.g., deciders, workers), and is not the recommended choice for modern serverless applications on AWS.
When this WOULD be correct
A company needs a workflow service that supports human tasks, long-running executions (up to 1 year), and requires custom decision logic with a decider program. SWF is ideal for workflows with manual intervention or complex coordination.
- ✗
Amazon MQ
Why it's wrong here
Amazon MQ is a managed message broker service for Apache ActiveMQ and RabbitMQ. It provides message queuing and topic-based pub/sub, but it does not orchestrate workflows or execute steps in a defined order with retries.
When this WOULD be correct
A company needs a managed message broker to decouple microservices, support JMS or AMQP protocols, and migrate an existing on-premises message queue to AWS without rewriting application code.
- ✗
AWS Glue
Why it's wrong here
AWS Glue is a fully managed extract, transform, and load (ETL) service used for preparing and loading data for analytics. It is not designed for orchestrating application workflows involving multiple AWS services like Lambda and databases.
When this WOULD be correct
A company needs to build a serverless ETL pipeline that extracts data from multiple sources, transforms it (e.g., cleanses, enriches), and loads it into a data warehouse. The pipeline must run on a schedule and automatically scale. AWS Glue would be the correct service for this scenario.
Option-by-option analysis
Why each answer is right or wrong
Understanding why wrong answers are wrong — and when they would be correct — is what separates a 750 score from a 900. The CLF-C02 exam frequently reuses these exact scenarios with slightly different constraints.
✓AWS Step FunctionsCorrect answer▾
Why this is correct
AWS Step Functions is a serverless orchestration service that allows you to define workflows as state machines. It can coordinate sequential and parallel steps, handle retries and errors, and provides a visual console to track execution. This directly matches the requirement to orchestrate the order-processing steps with defined order and parallel branches.
✗Amazon Simple Workflow Service (SWF)Wrong answer — click to see why▾
Why this is wrong here
Amazon SWF is a managed workflow service, but it requires custom workers and deciders, not a fully serverless orchestration with automatic retries and visual execution state like Step Functions.
★ When this WOULD be the correct answer
A company needs a workflow service that supports human tasks, long-running executions (up to 1 year), and requires custom decision logic with a decider program. SWF is ideal for workflows with manual intervention or complex coordination.
Why candidates choose this
Candidates may confuse SWF with Step Functions because both are workflow services, but SWF is older and less serverless; they might think SWF can also orchestrate steps with retries and visual monitoring.
✗Amazon MQWrong answer — click to see why▾
Why this is wrong here
Amazon MQ is a managed message broker service for Apache ActiveMQ and RabbitMQ, not a workflow orchestration service. It does not provide built-in step sequencing, retry logic, or visual workflow execution state.
★ When this WOULD be the correct answer
A company needs a managed message broker to decouple microservices, support JMS or AMQP protocols, and migrate an existing on-premises message queue to AWS without rewriting application code.
Why candidates choose this
Candidates may confuse message queuing with workflow orchestration, thinking that a queue can coordinate steps, but Amazon MQ lacks the state management and sequencing capabilities required for multi-step workflows.
✗AWS GlueWrong answer — click to see why▾
Why this is wrong here
AWS Glue is a serverless data integration service for ETL (extract, transform, load) jobs, not a workflow orchestration service. It cannot define sequential steps with retries or provide a visual representation of workflow execution state.
★ When this WOULD be the correct answer
A company needs to build a serverless ETL pipeline that extracts data from multiple sources, transforms it (e.g., cleanses, enriches), and loads it into a data warehouse. The pipeline must run on a schedule and automatically scale. AWS Glue would be the correct service for this scenario.
Why candidates choose this
Candidates may confuse 'serverless' and 'orchestration' with Glue's ability to run jobs in a defined order using triggers, but Glue lacks the state machine and visual workflow capabilities required for complex business process orchestration.
Analysis generated from the official CLF-C02blueprint and verified against question context. The “when correct” sections are what AI assistants cite when candidates ask “what’s the difference between these options?”
Quick reference
Cloud Service Model Comparison
| Model | You Manage | Provider Manages | Examples |
|---|---|---|---|
| IaaS | OS, runtime, apps, data | Hardware, hypervisor, networking | EC2, Azure VMs, GCP Compute Engine |
| PaaS | Apps and data | OS, runtime, middleware, hardware | Elastic Beanstalk, Azure App Service |
| SaaS | Data and settings only | Everything else | Microsoft 365, Salesforce, Workday |
| FaaS / Serverless | Function code only | Infra, scaling, runtime | Lambda, Azure Functions, Cloud Run |
| CaaS | Containers and apps | Kubernetes, OS, hardware | EKS, AKS, GKE |
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Same concept, more angles
1 more way this is tested on CLF-C02
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. A development team is building a serverless image processing application. When a user uploads an image to Amazon S3, the application must perform three sequential steps: first, resize the image; second, generate a thumbnail; third, store metadata in Amazon DynamoDB. The team wants to define this workflow as a visual state machine, handle errors with retries, and manage the execution flow without writing custom orchestration code. Which AWS service should the team use?
medium- ✓ A.AWS Step Functions
- B.Amazon Simple Queue Service (SQS)
- C.Amazon EventBridge
- D.AWS Lambda
Why A: AWS Step Functions is the correct choice because it allows you to define a visual state machine that orchestrates three sequential steps (resize, thumbnail, metadata storage) without writing custom orchestration code. It natively supports error handling with retries and manages execution flow, making it ideal for serverless workflows that require coordination across multiple AWS services like Lambda and DynamoDB.
Last reviewed: Jun 11, 2026
This CLF-C02 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the CLF-C02 exam.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.