Courseiva
Development with AWS ServicesmediumMultiple ChoiceObjective-mapped

DVA-C02 Development with AWS Services Practice Question

A developer is building a system that reads messages from an Amazon SQS queue, processes them, and stores results in an Amazon DynamoDB table. The developer wants to use a managed service to coordinate the processing steps, including error handling and retry logic, without provisioning any servers. Which AWS service should the developer use?

⚠ Common exam trap

Candidates often confuse Amazon MQ (a message broker) with a workflow orchestrator, or mistakenly think SWF is the correct choice because it was historically used for workflow coordination, but Step Functions is the modern, serverless, and fully managed alternative that directly integrates with SQS and DynamoDB.

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 serverless orchestration service that lets you coordinate multiple AWS services into a workflow. It directly supports error handling, retry logic, and conditional branching, making it ideal for managing the processing steps of messages from SQS through to DynamoDB without provisioning any servers.

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 workflow service that enables developers to build resilient, distributed applications using visual state machines. It excels at orchestrating complex, multi-step processes, integrating seamlessly with Amazon SQS to consume messages and coordinate subsequent actions across various AWS services. Step Functions provides built-in state management, error handling, and retry policies, making it ideal for creating reliable, fault-tolerant workflows initiated by SQS messages.

  • Amazon Simple Workflow Service (SWF)

    Why it's wrong here

    Amazon Simple Workflow Service (SWF) is an older, programmatic workflow service designed for coordinating tasks within distributed applications, requiring developers to write 'deciders' and 'activity workers' to manage workflow state and task execution. Unlike modern serverless orchestrators, SWF places a greater operational burden on the user for managing these workers and their underlying infrastructure. While capable of orchestration, it is largely superseded by AWS Step Functions for new development due to its complexity and lack of serverless benefits.

  • AWS Glue

    Why it's wrong here

    AWS Glue is a fully managed extract, transform, and load (ETL) service primarily used for discovering, preparing, and combining data for analytics and machine learning. It excels at batch processing large datasets, performing schema inference, and generating ETL jobs, often integrating with data lakes and data warehouses. However, Glue is not designed for real-time, event-driven message processing orchestration from services like SQS, as its core purpose is data transformation for analytical workloads rather than coordinating application logic flows.

  • Amazon MQ

    Why it's wrong here

    Amazon MQ provides managed message broker services for popular open-source engines like Apache ActiveMQ and RabbitMQ, enabling applications to communicate asynchronously using standard APIs and protocols. Its primary function is to facilitate message queuing and topic-based publishing/subscribing, acting as a central hub for message exchange between decoupled components. However, Amazon MQ itself does not offer workflow orchestration or state management capabilities; it merely transports messages, leaving the coordination of subsequent actions to other services.

Quick reference

Cloud Service Model Comparison

ModelYou ManageProvider ManagesExamples
IaaSOS, runtime, apps, dataHardware, hypervisor, networkingEC2, Azure VMs, GCP Compute Engine
PaaSApps and dataOS, runtime, middleware, hardwareElastic Beanstalk, Azure App Service
SaaSData and settings onlyEverything elseMicrosoft 365, Salesforce, Workday
FaaS / ServerlessFunction code onlyInfra, scaling, runtimeLambda, Azure Functions, Cloud Run
CaaSContainers and appsKubernetes, OS, hardwareEKS, AKS, GKE

About these practice questions

This DVA-C02 question is part of Courseiva's 724-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This DVA-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 DVA-C02 exam.