Question 809 of 988
CLF-C02 Cloud Technology and Services Practice Question
A company has a serverless architecture on AWS for its order processing system. The system uses AWS Lambda functions to validate payment, check inventory, update the database, and send email notifications. The company needs a managed service to coordinate these functions into a workflow, implement retry logic in case of failures, and manage the execution of each step sequentially. Which AWS service should the company use?
⚠ Common exam trap
Test-takers frequently confuse Amazon SWF with Step Functions because both are workflow services, but SWF is designed for human-in-the-loop processes and requires custom workers, while Step Functions is serverless-native and directly integrates with Lambda for automated orchestration.
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 a fully managed service designed to coordinate multiple AWS services into a serverless workflow. It allows you to define state machines that execute Lambda functions sequentially, implement built-in retry logic with exponential backoff, and handle error conditions, making it the ideal choice for orchestrating the order processing steps (payment validation, inventory check, database update, and email notification).
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 the correct answer because it is a purpose-built orchestration service that models order processing as a state machine using Amazon States Language. It coordinates Lambda functions and other AWS services across sequential steps, managing retry logic, error handling, and branching automatically. Step Functions also provides execution history and visual monitoring, making it ideal for auditable serverless pipelines without requiring custom code for state management.
- ✗
Amazon Simple Workflow Service (Amazon SWF)
Why it's wrong here
Amazon SWF is designed for human-in-the-loop workflows and long-running processes that require explicit coordination of activities by deciders and workers, not for orchestrating stateless AWS Lambda functions in a sequential pipeline. The scenario demands a managed service that automatically handles retry logic and step sequencing without custom decider logic, which SWF would require you to implement yourself. SWF would be correct if the workflow involved manual tasks, external human approvals, or stateful processes lasting days or weeks.
When this WOULD be correct
If the question described a workflow requiring human intervention, long-running processes (up to 1 year), or custom decision logic that cannot be expressed in a state machine, Amazon SWF would be the correct choice. For example, a manual approval process with human tasks.
- ✗
Amazon Simple Queue Service (Amazon SQS)
Why it's wrong here
Amazon SQS is a message queuing service for decoupling components. It does not provide workflow orchestration, retry logic, or state management across multiple steps. It can be part of a workflow but does not coordinate it.
When this WOULD be correct
A company needs to decouple order processing components so that each step (e.g., payment validation, inventory check) is triggered by messages in a queue, allowing asynchronous processing and buffering during traffic spikes. The question would ask for a service to handle message queuing between microservices.
- ✗
AWS AppSync
Why it's wrong here
AWS AppSync is a managed GraphQL service that enables clients to query and mutate data in real time through subscriptions, caching, and fine-grained authorization. While AppSync resolvers can invoke Lambda functions, it lacks the workflow constructs—states, transitions, retry policies, and compensations—needed to orchestrate a multi-step order processing pipeline. AppSync is designed for API access and data synchronization, not for coordinating the sequence of business logic steps across services.
When this WOULD be correct
A company needs to build a real-time chat application that syncs data across multiple clients and supports offline mutations. AWS AppSync would be the correct choice to provide a managed GraphQL backend with real-time subscriptions and conflict resolution.
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 the correct answer because it is a purpose-built orchestration service that models order processing as a state machine using Amazon States Language. It coordinates Lambda functions and other AWS services across sequential steps, managing retry logic, error handling, and branching automatically. Step Functions also provides execution history and visual monitoring, making it ideal for auditable serverless pipelines without requiring custom code for state management.
✗Amazon Simple Workflow Service (Amazon SWF)Wrong answer — click to see why▾
Why this is wrong here
Amazon SWF is a managed workflow service, but it is not serverless and requires managing workers and domains. The question specifies a serverless architecture with Lambda functions, making Step Functions the better fit for coordinating Lambda-based workflows with built-in retry logic.
★ When this WOULD be the correct answer
If the question described a workflow requiring human intervention, long-running processes (up to 1 year), or custom decision logic that cannot be expressed in a state machine, Amazon SWF would be the correct choice. For example, a manual approval process with human tasks.
Why candidates choose this
Candidates may confuse SWF with Step Functions because both are workflow services, but they overlook that SWF is not serverless and requires more operational overhead, while Step Functions integrates natively with Lambda.
✗Amazon Simple Queue Service (Amazon SQS)Wrong answer — click to see why▾
Why this is wrong here
Amazon SQS is a message queue service for decoupling components, not a workflow orchestrator. It cannot coordinate multiple Lambda functions sequentially, implement retry logic with state management, or define a multi-step workflow as required.
★ When this WOULD be the correct answer
A company needs to decouple order processing components so that each step (e.g., payment validation, inventory check) is triggered by messages in a queue, allowing asynchronous processing and buffering during traffic spikes. The question would ask for a service to handle message queuing between microservices.
Why candidates choose this
Candidates may confuse SQS's ability to trigger Lambda functions with workflow orchestration, or think that chaining multiple SQS queues can achieve sequential execution, overlooking the need for state management and built-in retry logic.
✗AWS AppSyncWrong answer — click to see why▾
Why this is wrong here
AWS AppSync is a managed GraphQL service for real-time data synchronization and offline access, not for orchestrating sequential workflows with retry logic. It does not coordinate Lambda functions into a step-by-step process.
★ When this WOULD be the correct answer
A company needs to build a real-time chat application that syncs data across multiple clients and supports offline mutations. AWS AppSync would be the correct choice to provide a managed GraphQL backend with real-time subscriptions and conflict resolution.
Why candidates choose this
Candidates may confuse AppSync's ability to trigger Lambda functions as a workflow orchestrator, not realizing it lacks native sequencing and retry capabilities for multi-step processes.
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 →
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.