# AWS Step Functions

Cloud service · AWS. Updated 2026-11-12. Page: https://blowstack.com/tools/cloud-services-hub/aws-step-functions

> AWS Step Functions is a cloud service from Amazon Web Services that enables developers to coordinate multiple AWS services into serverless workflows, allowing the creation and execution of complex business processes and applications through visual workflows.

Practice exams covering AWS Step Functions: [ANS-C01 AWS Certified Advanced Networking - Specialty](https://blowstack.com/practice-exams/aws-certified-advanced-networking-specialty), [AIB-C01 AWS Certified AI Business Strategist](https://blowstack.com/practice-exams/aws-certified-ai-business-strategist), [AIF-C01 AWS Certified AI Practitioner](https://blowstack.com/practice-exams/aws-certified-ai-practitioner), [SOA-C03 AWS Certified CloudOps Engineer - Associate](https://blowstack.com/practice-exams/aws-certified-cloudops-engineer-associate), [DEA-C01 AWS Certified Data Engineer - Associate](https://blowstack.com/practice-exams/aws-certified-data-engineer-associate), [DVA-C02 AWS Certified Developer - Associate](https://blowstack.com/practice-exams/aws-certified-developer-associate), [DOP-C02 AWS Certified DevOps Engineer - Professional](https://blowstack.com/practice-exams/aws-certified-devops-engineer-professional), [AIP-C01 AWS Certified Generative AI Developer - Professional](https://blowstack.com/practice-exams/aws-certified-generative-ai-developer-professional), [MLA-C02 AWS Certified Machine Learning Engineer - Associate](https://blowstack.com/practice-exams/aws-certified-machine-learning-engineer-associate), [SCS-C03 AWS Certified Security - Specialty](https://blowstack.com/practice-exams/aws-certified-security-specialty), [SAA-C03 AWS Certified Solutions Architect - Associate](https://blowstack.com/practice-exams/aws-certified-solutions-architect-associate), [SAP-C03 AWS Certified Solutions Architect - Professional](https://blowstack.com/practice-exams/aws-certified-solutions-architect-professional).

## 12 key features of AWS Step Functions

AWS Step Functions is a cloud service that coordinates multiple AWS services into serverless workflows, allowing for the visual orchestration of complex, multi-step applications through a graphical interface and providing state management, error handling, and parallel execution capabilities.

1. **Visual Workflows**: AWS Step Functions provides a visual workflow editor that allows you to design and visualize your application's components as a series of steps. This makes it easier to understand, create, and modify complex processes.
2. **Serverless Orchestration**: Enables you to orchestrate microservices, serverless applications, and workflows without worrying about the infrastructure. Step Functions automatically triggers and scales your functions or services in response to events or step completions.
3. **Built-in Error Handling**: Offers several options for handling errors, including retries, catching errors, and implementing fallback paths. This ensures your workflows are robust and can handle unexpected failures gracefully.
4. **Integration with AWS Services**: Provides seamless integration with various AWS services such as Lambda, Amazon SNS, Amazon SQS, and Amazon DynamoDB, allowing you to build complex workflows that interact with these services without writing additional code.
5. **Synchronous and Asynchronous Execution**: Supports both synchronous and asynchronous execution of workflows. You can wait for a workflow to complete and get an immediate response, or you can check the execution status at a later time, providing flexibility in how you handle workflow execution.
6. **State Management**: Automatically tracks the state of each step in your workflow, allowing you to pause, resume, and retry steps as needed. This state management capability ensures the integrity and reliability of your application's processes.
7. **High Availability and Scalability**: Built on AWSâs highly available and scalable infrastructure, Step Functions automatically scales to meet the demands of your application, ensuring that your workflows can handle high volumes of transactions without manual intervention.
8. **Cost-effective**: Standard Workflows are charged for state transitions rather than idle time; Express Workflows are charged for workflow requests and execution duration.
9. **Activity Workers**: Workflow tasks can be performed by activity workers that run outside Step Functions.
10. **AWS SDK and Optimized Integrations**: AWS SDK integrations call AWS service APIs directly from a state machine, while optimized integrations streamline calls and data exchange for selected services, such as automatically converting a Lambda Invoke response's Payload from an escaped JSON string into a JSON object.
11. **Workflow Redrive**: The Step Functions API supports redriving workflows.
12. **Distributed Map**: A Distributed Map Run supports up to 10,000 parallel child executions, a hard quota.

## Where AWS Step Functions is used

AWS Step Functions orchestrates complex, multi-step workflows and applications, including data processing, web application back-ends, and serverless microservice orchestration.

1. **Orchestration of Microservices**: AWS Step Functions can be used to orchestrate microservices for complex applications. By defining workflows that coordinate the execution of different microservices, developers can ensure that services are invoked in the correct order, manage error handling, and maintain transaction integrity across distributed systems.
2. **Data Processing Pipelines**: Leverage AWS Step Functions to create robust, scalable data processing pipelines. Users can design workflows to automate the movement and transformation of data between various AWS services, such as Amazon S3, Amazon DynamoDB, and AWS Lambda, facilitating batch processing, stream processing, and ETL tasks.
3. **Serverless Application Workflows**: AWS Step Functions is ideal for orchestrating serverless application workflows. By managing the execution order and state of serverless functions (like those deployed on AWS Lambda), developers can build complex applications without worrying about the underlying infrastructure, improving scalability and reducing costs.
4. **Automated IT and DevOps Tasks**: Automate IT and DevOps tasks using AWS Step Functions. This includes tasks such as infrastructure provisioning with AWS CloudFormation, code deployments using AWS CodeDeploy, and automated testing. This automation ensures consistent, repeatable processes that can help reduce human error and save time.
5. **Machine Learning Workflows**: Organize and manage machine learning workflows with AWS Step Functions. This involves automating the various stages in a machine learning pipeline, including data preparation, model training, evaluation, and deployment. By coordinating these tasks, users can more efficiently manage model updates and deployments, while keeping track of the versioning and execution status of different components.

## How AWS Step Functions is priced

AWS Step Functions pricing is primarily based on the number of state transitions executed, with different rates for standard and express workflows, and optional additional charges for integrations and other features.

- **Standard Workflows**: Standard workflows are priced based on the number of state transitions. A state transition is counted each time a step executes, including retries. Pricing varies by region.
- **Express Workflows**: Express Workflows are designed for high-volume, event-driven workloads and are priced based on the number of requests and the duration of the workflow execution. Duration runs from the start of execution until it completes or otherwise terminates, rounded up to the nearest 100ms. Duration charges also account for memory used, billed in 64-MB chunks. Pricing varies by region.
- **Free Tier**: The Step Functions Free Tier includes 4,000 state transitions per month and is available indefinitely to both new and existing AWS customers.
- **Data Transfer**: Workflow data transfers may incur additional charges. Invoking private endpoints through AWS PrivateLink and Amazon VPC Lattice incurs their standard data-transfer charges.

## Services AWS Step Functions works with

- **[AWS Lambda](https://blowstack.com/tools/cloud-services-hub/aws-lambda)**: Allows you to execute Lambda functions as part of a workflow.
- **[Amazon API Gateway](https://blowstack.com/tools/cloud-services-hub/amazon-api-gateway)**: Step Functions can invoke API Gateway endpoints from workflow tasks, including passing a task token for callback-based processing. API Gateway can also expose an endpoint that starts a state machine execution.
- **[Amazon AppFlow](https://blowstack.com/tools/cloud-services-hub/amazon-appflow)**: Step Functions can start AppFlow flows through its AWS SDK integration and check flow execution records before continuing with downstream processing.
- **[Amazon Athena](https://blowstack.com/tools/cloud-services-hub/amazon-athena)**: Step Functions can start Athena queries, wait for query completion, and retrieve results through its optimized integration.
- **[Amazon Augmented AI (Amazon A2I)](https://blowstack.com/tools/cloud-services-hub/amazon-augmented-ai-(amazon-a2i))**: Step Functions can start human review loops through the Augmented AI runtime API and check their status, coordinating manual review with automated processing.
- **[Amazon Aurora](https://blowstack.com/tools/cloud-services-hub/amazon-aurora)**: Step Functions can execute SQL against supported Aurora clusters through the RDS Data API. Workflows can also use RDS API operations to manage clusters and snapshots.
- **[Amazon Aurora Serverless](https://blowstack.com/tools/cloud-services-hub/amazon-aurora-serverless)**: Step Functions can use the RDS Data API to execute SQL statements and manage transactions on Aurora Serverless configurations that support the Data API.
- **[Amazon Bedrock](https://blowstack.com/tools/cloud-services-hub/amazon-bedrock)**: Step Functions provides optimized integrations for invoking Bedrock models and creating model customization jobs. Workflows can coordinate inference with validation, retries, and downstream processing.
- **[Amazon Bedrock AgentCore](https://blowstack.com/tools/cloud-services-hub/amazon-bedrock-agentcore)**: Step Functions provides an optimized integration for invoking agents hosted in Bedrock AgentCore Runtime, allowing agent responses to become inputs to subsequent workflow steps.
- **[Amazon Braket](https://blowstack.com/tools/cloud-services-hub/amazon-braket)**: Step Functions can create Braket quantum tasks or hybrid jobs through AWS SDK integrations and poll their status before processing results.
- **[Amazon CloudFront](https://blowstack.com/tools/cloud-services-hub/amazon-cloudfront)**: Step Functions can create CloudFront invalidations through its AWS SDK integration, for example after publishing updated website assets.
- **[Amazon CloudSearch](https://blowstack.com/tools/cloud-services-hub/amazon-cloudsearch)**: Step Functions can call CloudSearch management APIs to configure search domains, update index settings, and initiate indexing as steps in a workflow.
- **[Amazon CloudWatch](https://blowstack.com/tools/cloud-services-hub/amazon-cloudwatch)**: Step Functions publishes execution metrics to CloudWatch and can send execution logs to CloudWatch Logs. Workflows can also call CloudWatch APIs to publish custom metrics or manage alarms.
- **[Amazon CodeGuru](https://blowstack.com/tools/cloud-services-hub/amazon-codeguru)**: Step Functions can start CodeGuru Reviewer code reviews and retrieve their status and recommendations through AWS SDK integrations.
- **[Amazon Cognito](https://blowstack.com/tools/cloud-services-hub/amazon-cognito)**: Step Functions can call Cognito APIs to create users, update attributes, and manage group membership as part of account-provisioning workflows.
- **[Amazon Comprehend](https://blowstack.com/tools/cloud-services-hub/amazon-comprehend)**: Step Functions can invoke Comprehend text-analysis APIs or start asynchronous analysis jobs and poll their status.
- **[Amazon Connect](https://blowstack.com/tools/cloud-services-hub/amazon-connect)**: Step Functions can call Amazon Connect APIs to start outbound contacts, update contact attributes, or retrieve contact information as part of a larger workflow.
- **[Amazon Data Firehose](https://blowstack.com/tools/cloud-services-hub/amazon-kinesis-data-firehose)**: Step Functions can send records to Firehose delivery streams through AWS SDK integration tasks, forwarding workflow results to configured delivery destinations.
- **[Amazon DataZone](https://blowstack.com/tools/cloud-services-hub/amazon-datazone)**: Step Functions can call DataZone APIs to start data-source runs and manage catalog assets, coordinating data preparation with catalog publication.
- **[Amazon Detective](https://blowstack.com/tools/cloud-services-hub/amazon-detective)**: Step Functions can start Detective investigations and retrieve investigation results through AWS SDK integrations to coordinate security-response workflows.
- **[Amazon DevOps Guru](https://blowstack.com/tools/cloud-services-hub/amazon-devops-guru)**: Step Functions can retrieve DevOps Guru insights, anomalies, and recommendations through AWS SDK integrations and route the results into remediation workflows.
- **[Amazon DocumentDB (with MongoDB compatibility)](https://blowstack.com/tools/cloud-services-hub/amazon-documentdb-(with-mongodb-compatibility))**: Step Functions can use DocumentDB management APIs to create snapshots, restore clusters, and check resource status during maintenance or recovery workflows.
- **[Amazon DynamoDB](https://blowstack.com/tools/cloud-services-hub/amazon-dynamodb)**: Step Functions provides optimized integrations to get, put, update, and delete DynamoDB items. Its AWS SDK integrations expose additional DynamoDB operations for more extensive data and table management.
- **[Amazon EC2](https://blowstack.com/tools/cloud-services-hub/amazon-ec2)**: Step Functions can launch, start, stop, and terminate EC2 instances through AWS SDK integrations, checking instance status between provisioning or maintenance steps.
- **[Amazon EC2 Auto Scaling](https://blowstack.com/tools/cloud-services-hub/amazon-ec2-auto-scaling)**: Step Functions can update Auto Scaling group capacity, start instance refreshes, and inspect their progress through AWS SDK integrations.
- **[Amazon ECS Anywhere](https://blowstack.com/tools/cloud-services-hub/amazon-ecs-anywhere)**: Step Functions can use ECS API integrations to start and manage tasks on ECS Anywhere external instances, coordinating on-premises container work with other workflow steps.
- **[Amazon Elastic Block Store (Amazon EBS)](https://blowstack.com/tools/cloud-services-hub/amazon-elastic-block-store-(amazon-ebs))**: Step Functions can call EC2 APIs to create EBS volumes and snapshots, attach volumes, and monitor snapshot completion during storage-management workflows.
- **[Amazon Elastic Container Registry (Amazon ECR)](https://blowstack.com/tools/cloud-services-hub/amazon-elastic-container-registry-(amazon-ecr))**: Step Functions can use ECR APIs to create repositories, inspect container images, and manage image lifecycle policies as part of container-release workflows.
- **[Amazon Elastic Container Service (Amazon ECS)](https://blowstack.com/tools/cloud-services-hub/amazon-elastic-container-service-(amazon-ecs))**: Step Functions can run ECS tasks through its optimized integration and wait for task completion. Callback-based tasks can also return a task token to resume a waiting workflow.
- **[Amazon Elastic File System (Amazon EFS)](https://blowstack.com/tools/cloud-services-hub/amazon-elastic-file-system-(amazon-efs))**: Step Functions can create EFS file systems, mount targets, and access points through AWS SDK integrations, coordinating shared-storage provisioning.
- **[Amazon Elastic Kubernetes Service (Amazon EKS)](https://blowstack.com/tools/cloud-services-hub/amazon-elastic-kubernetes-service-(amazon-eks))**: Step Functions provides optimized integrations to run Kubernetes jobs on EKS and wait for completion, and to call supported Kubernetes API endpoints.
- **[Amazon ElastiCache](https://blowstack.com/tools/cloud-services-hub/amazon-elasticache)**: Step Functions can call ElastiCache management APIs to create snapshots, manage replication groups, and check resource status during maintenance workflows.
- **[Amazon EMR](https://blowstack.com/tools/cloud-services-hub/amazon-emr)**: Step Functions can create EMR clusters, add processing steps, wait for completion, and terminate clusters through optimized integrations. AWS SDK integrations also expose EMR Serverless and EMR on EKS operations.
- **[Amazon EventBridge](https://blowstack.com/tools/cloud-services-hub/amazon-eventbridge)**: EventBridge rules, schedules, and pipes can start Step Functions executions. Step Functions can publish events to EventBridge, and Standard Workflows emit execution-status events that rules can route to other targets.
- **[Amazon Forecast](https://blowstack.com/tools/cloud-services-hub/amazon-forecast)**: Step Functions can call Forecast APIs to import datasets, train predictors, and create forecasts, checking asynchronous operation status between steps.
- **[Amazon Fraud Detector](https://blowstack.com/tools/cloud-services-hub/amazon-fraud-detector)**: Step Functions can request fraud predictions through the Fraud Detector API and branch a workflow according to the returned outcomes.
- **[Amazon FSx](https://blowstack.com/tools/cloud-services-hub/amazon-fsx-(for-all-types))**: Step Functions can use FSx APIs to create file systems and backups, restore resources, and monitor provisioning status.
- **[Amazon GameLift](https://blowstack.com/tools/cloud-services-hub/amazon-gamelift)**: Step Functions can call GameLift APIs to manage fleets and game-session placement, checking placement status before continuing a provisioning workflow.
- **[Amazon GuardDuty](https://blowstack.com/tools/cloud-services-hub/amazon-guardduty)**: Step Functions can retrieve GuardDuty findings and manage findings through AWS SDK integrations, supporting automated investigation and response.
- **[Amazon HealthLake](https://blowstack.com/tools/cloud-services-hub/amazon-healthlake)**: Step Functions can start HealthLake FHIR import and export jobs and check their status, coordinating healthcare-data processing workflows.
- **[Amazon Inspector](https://blowstack.com/tools/cloud-services-hub/amazon-inspector)**: Step Functions can retrieve Inspector findings and initiate findings-report exports through AWS SDK integrations for vulnerability-management workflows.
- **[Amazon Kendra](https://blowstack.com/tools/cloud-services-hub/amazon-kendra)**: Step Functions can start Kendra data-source synchronization jobs and check their execution history before proceeding with search-related processing.
- **[Amazon Keyspaces (for Apache Cassandra)](https://blowstack.com/tools/cloud-services-hub/amazon-keyspaces-(for-apache-cassandra))**: Step Functions can call the Keyspaces management API to create keyspaces and tables and inspect their status during database-provisioning workflows.
- **[Amazon Kinesis Data Streams](https://blowstack.com/tools/cloud-services-hub/amazon-kinesis-data-streams)**: Step Functions can put records into Kinesis data streams through AWS SDK integrations, publishing workflow outputs for streaming consumers.
- **[Amazon Kinesis Video Streams](https://blowstack.com/tools/cloud-services-hub/amazon-kinesis-video-streams)**: Step Functions can call Kinesis Video Streams management APIs to create streams, retrieve stream details, and configure retention.
- **[Amazon Lex](https://blowstack.com/tools/cloud-services-hub/amazon-lex)**: Step Functions can call Lex runtime APIs to submit text to a bot and use the returned interpretation or session state in subsequent workflow decisions.
- **[Amazon Lightsail](https://blowstack.com/tools/cloud-services-hub/amazon-lightsail)**: Step Functions can create and manage Lightsail instances, snapshots, and other resources through AWS SDK integrations.
- **[Amazon Location Service](https://blowstack.com/tools/cloud-services-hub/amazon-location-service)**: Step Functions can call Location Service APIs for geocoding, route calculation, or device-position processing and use the results in workflow decisions.
- **[Amazon Macie](https://blowstack.com/tools/cloud-services-hub/amazon-macie)**: Step Functions can create Macie classification jobs and retrieve findings through AWS SDK integrations to coordinate sensitive-data discovery and remediation.
- **[Amazon Managed Blockchain](https://blowstack.com/tools/cloud-services-hub/amazon-managed-blockchain)**: Step Functions can use Managed Blockchain management APIs to create or inspect network members and nodes as part of blockchain-resource provisioning.
- **[Amazon Managed Grafana](https://blowstack.com/tools/cloud-services-hub/amazon-managed-grafana)**: Step Functions can create Managed Grafana workspaces and manage workspace permissions through AWS SDK integrations.
- **[Amazon Managed Service for Apache Flink](https://blowstack.com/tools/cloud-services-hub/amazon-managed-service-for-apache-flink)**: Step Functions can start and stop Flink applications, create application snapshots, and inspect application status through AWS SDK integrations.
- **[Amazon Managed Service for Prometheus](https://blowstack.com/tools/cloud-services-hub/amazon-managed-service-for-prometheus)**: Step Functions can create Prometheus workspaces and manage rule groups or Alertmanager definitions through the service's management API.
- **[Amazon Managed Streaming for Apache Kafka](https://blowstack.com/tools/cloud-services-hub/amazon-managed-streaming-for-apache-kafka)**: Step Functions can call Amazon MSK APIs to create clusters, update configurations, and check operation status during streaming-platform provisioning.
- **[Amazon Managed Workflows for Apache Airflow (Amazon MWAA)](https://blowstack.com/tools/cloud-services-hub/amazon-managed-workflows-for-apache-airflow-(amazon-mwaa))**: Step Functions can manage MWAA environments through AWS SDK integrations. Airflow's Amazon provider also supplies operators and sensors to start Step Functions executions and wait for their completion.
- **[Amazon MemoryDB for Redis](https://blowstack.com/tools/cloud-services-hub/amazon-memorydb-for-redis)**: Step Functions can create MemoryDB snapshots, manage clusters, and inspect resource status through AWS SDK integrations.
- **[Amazon MQ](https://blowstack.com/tools/cloud-services-hub/amazon-mq)**: Step Functions can create, update, and reboot Amazon MQ brokers through AWS SDK integration tasks, coordinating broker maintenance with other operations.
- **[Amazon Neptune](https://blowstack.com/tools/cloud-services-hub/amazon-neptune)**: Step Functions can use Neptune management APIs to create cluster snapshots, restore clusters, and monitor database-resource status.
- **[Amazon OpenSearch Service](https://blowstack.com/tools/cloud-services-hub/amazon-opensearch-service)**: Step Functions can call OpenSearch Service management APIs to create domains, update configurations, and inspect configuration-change progress.
- **[Amazon Personalize](https://blowstack.com/tools/cloud-services-hub/amazon-personalize)**: Step Functions can orchestrate Personalize dataset imports, solution-version creation, and batch inference jobs through AWS SDK integrations.
- **[Amazon Polly](https://blowstack.com/tools/cloud-services-hub/amazon-polly)**: Step Functions can start Polly speech-synthesis tasks and check their status, coordinating generated audio with subsequent processing.
- **[Amazon Q Business](https://blowstack.com/tools/cloud-services-hub/amazon-q-business)**: Step Functions can call Q Business APIs to start data-source synchronization jobs and inspect synchronization history as part of content-ingestion workflows.
- **[Amazon QuickSight](https://blowstack.com/tools/cloud-services-hub/amazon-quicksight)**: Step Functions can start QuickSight dataset ingestions and check their status, refreshing dashboards after upstream data processing completes.
- **[Amazon RDS](https://blowstack.com/tools/cloud-services-hub/amazon-rds)**: Step Functions can call RDS APIs to create snapshots, restore databases, and start or stop supported database instances, checking status between workflow steps.
- **[Amazon RDS Proxy](https://blowstack.com/tools/cloud-services-hub/amazon-rds-proxy)**: Step Functions can use RDS API operations to create and configure database proxies, register targets, and inspect target health.
- **[Amazon Redshift](https://blowstack.com/tools/cloud-services-hub/amazon-redshift)**: Step Functions can execute SQL through the Redshift Data API and poll statement status before retrieving results or starting downstream tasks.
- **[Amazon Rekognition](https://blowstack.com/tools/cloud-services-hub/amazon-rekognition)**: Step Functions can call Rekognition image-analysis APIs and start asynchronous video-analysis jobs, coordinating results with later workflow steps.
- **[Amazon Route 53](https://blowstack.com/tools/cloud-services-hub/amazon-route-53)**: Step Functions can update Route 53 DNS records and check change status through AWS SDK integrations, automating DNS changes during deployments.
- **[Amazon S3](https://blowstack.com/tools/cloud-services-hub/amazon-s3)**: Step Functions can call S3 APIs to list and manage objects. Distributed Map can read datasets from S3 and export child-workflow results to S3.
- **[Amazon S3 Glacier](https://blowstack.com/tools/cloud-services-hub/amazon-s3-glacier)**: Step Functions can initiate Glacier vault retrieval jobs and check job status through AWS SDK integrations, coordinating archival-data retrieval.
- **[Amazon SageMaker](https://blowstack.com/tools/cloud-services-hub/amazon-sagemaker)**: Step Functions provides optimized integrations for SageMaker training, processing, transform, and other supported jobs, including waiting for job completion. Workflows can coordinate model preparation, evaluation, and deployment.
- **[Amazon SageMaker Data Wrangler](https://blowstack.com/tools/cloud-services-hub/amazon-sagemaker-data-wrangler)**: Step Functions can launch SageMaker Processing jobs that execute Data Wrangler flows and wait for completion before starting training or other downstream work.
- **[Amazon SageMaker Ground Truth](https://blowstack.com/tools/cloud-services-hub/amazon-sagemaker-ground-truth)**: Step Functions can create Ground Truth labeling jobs through SageMaker API integrations and poll their status before consuming the labeled output.
- **[Amazon Security Lake](https://blowstack.com/tools/cloud-services-hub/amazon-security-lake)**: Step Functions can call Security Lake management APIs to configure data sources, subscribers, and data-lake settings as part of security-platform automation.
- **[Amazon Simple Email Service (Amazon SES)](https://blowstack.com/tools/cloud-services-hub/amazon-simple-email-service-(amazon-ses))**: Step Functions can send email through SES API integrations, delivering workflow completion notices or requests for human review.
- **[Amazon Simple Notification Service (Amazon SNS)](https://blowstack.com/tools/cloud-services-hub/amazon-simple-notification-service-(amazon-sns))**: Step Functions provides an optimized integration for publishing SNS messages. A workflow can include a task token in a notification and wait for a recipient's processing system to return a callback.
- **[Amazon Simple Queue Service (Amazon SQS)](https://blowstack.com/tools/cloud-services-hub/amazon-simple-queue-service-(amazon-sqs))**: Step Functions can send SQS messages through its optimized integration, including task tokens for callback workflows. EventBridge Pipes can also connect an SQS source to a Step Functions target.
- **[Amazon Textract](https://blowstack.com/tools/cloud-services-hub/amazon-textract)**: Step Functions can call Textract document-analysis APIs or start asynchronous jobs and poll for completion before processing extracted text and fields.
- **[Amazon Timestream](https://blowstack.com/tools/cloud-services-hub/amazon-timestream)**: Step Functions can write records to Timestream and execute queries through AWS SDK integrations, incorporating time-series data into workflows.
- **[Amazon Timestream for InfluxDB](https://blowstack.com/tools/cloud-services-hub/amazon-timestream-for-influxdb)**: Step Functions can call Timestream for InfluxDB management APIs to create database instances and check provisioning status.
- **[Amazon Transcribe](https://blowstack.com/tools/cloud-services-hub/amazon-transcribe)**: Step Functions can start Transcribe transcription jobs and check their status before processing the resulting transcripts.
- **[Amazon Translate](https://blowstack.com/tools/cloud-services-hub/amazon-translate)**: Step Functions can translate text through Translate APIs or start batch translation jobs and check their completion status.
- **[Amazon Verified Permissions](https://blowstack.com/tools/cloud-services-hub/amazon-verified-permissions)**: Step Functions can call Verified Permissions authorization APIs and branch workflow execution according to the returned access decision.
- **[Amazon VPC](https://blowstack.com/tools/cloud-services-hub/amazon-vpc)**: Step Functions supports VPC interface endpoints, allowing resources inside a VPC to access supported Step Functions APIs without traversing the public internet.
- **[Amazon WorkSpaces](https://blowstack.com/tools/cloud-services-hub/amazon-workspaces)**: Step Functions can create, start, stop, and rebuild WorkSpaces through AWS SDK integrations, coordinating virtual-desktop provisioning and maintenance.
- **[Amazon WorkSpaces Applications](https://blowstack.com/tools/cloud-services-hub/amazon-appstream-2)**: Step Functions can use the AppStream 2.0 APIs underlying WorkSpaces Applications to manage fleets, stacks, and image builders during application-streaming deployments.
- **[Amazon WorkSpaces Secure Browser](https://blowstack.com/tools/cloud-services-hub/amazon-workspaces-web)**: Step Functions can call WorkSpaces Secure Browser management APIs to create portals and associate browser, network, and user settings.
- **[AWS Amplify](https://blowstack.com/tools/cloud-services-hub/aws-amplify)**: Step Functions can start Amplify build and deployment jobs through AWS SDK integrations and check their status before continuing a release workflow.
- **[AWS App Runner](https://blowstack.com/tools/cloud-services-hub/aws-app-runner)**: Step Functions can create App Runner services, start deployments, and inspect operation status through AWS SDK integrations.
- **[AWS AppConfig](https://blowstack.com/tools/cloud-services-hub/aws-appconfig)**: Step Functions can start AppConfig deployments and monitor their status, coordinating configuration rollouts with validation and other deployment steps.
- **[AWS Application Discovery Service](https://blowstack.com/tools/cloud-services-hub/aws-application-discovery-service)**: Step Functions can start Application Discovery Service export tasks and inspect their status through AWS SDK integrations to automate migration-data preparation.
- **[AWS Application Migration Service](https://blowstack.com/tools/cloud-services-hub/aws-application-migration-service)**: Step Functions can call Application Migration Service APIs to launch test or cutover instances and inspect migration jobs.
- **[AWS AppSync](https://blowstack.com/tools/cloud-services-hub/aws-appsync)**: AppSync HTTP resolvers can invoke Step Functions APIs to start workflows from GraphQL operations. Step Functions can also call AppSync management APIs through AWS SDK integrations.
- **[AWS Artifact](https://blowstack.com/tools/cloud-services-hub/aws-artifact)**: Step Functions can call Artifact report APIs to list reports, retrieve report metadata, and obtain report-download information for compliance workflows.
- **[AWS Audit Manager](https://blowstack.com/tools/cloud-services-hub/aws-audit-manager)**: Step Functions can create Audit Manager assessments and assessment reports through AWS SDK integrations, coordinating compliance evidence and reporting workflows.
- **[AWS Auto Scaling](https://blowstack.com/tools/cloud-services-hub/aws-auto-scaling)**: Step Functions can use AWS Auto Scaling APIs to create, update, and inspect scaling plans as part of resource-provisioning workflows.
- **[AWS Backup](https://blowstack.com/tools/cloud-services-hub/aws-backup)**: Step Functions can start AWS Backup backup and restore jobs through AWS SDK integrations and check job status before proceeding.
- **[AWS Batch](https://blowstack.com/tools/cloud-services-hub/aws-batch)**: Step Functions provides an optimized integration that submits Batch jobs and can wait for them to finish, incorporating containerized batch processing into workflows.
- **[AWS Billing and Cost Management](https://blowstack.com/tools/cloud-services-hub/aws-billing-and-cost-management)**: Step Functions can use Billing and Cost Management Data Exports APIs to create and manage billing-data exports as part of financial-reporting workflows.
- **[AWS Billing Conductor](https://blowstack.com/tools/cloud-services-hub/aws-billing-conductor)**: Step Functions can call Billing Conductor APIs to manage billing groups, pricing plans, and custom line items in billing-administration workflows.
- **[AWS Budgets](https://blowstack.com/tools/cloud-services-hub/aws-budgets)**: Step Functions can create or update budgets and retrieve budget performance through AWS SDK integrations, automating cost-governance tasks.
- **[AWS Certificate Manager (ACM)](https://blowstack.com/tools/cloud-services-hub/aws-certificate-manager-(acm))**: Step Functions can request ACM certificates and inspect validation or issuance status through AWS SDK integrations during infrastructure provisioning.
- **[AWS Clean Rooms](https://blowstack.com/tools/cloud-services-hub/aws-clean-rooms)**: Step Functions can start Clean Rooms protected queries and check their status through AWS SDK integrations, coordinating approved analysis within a collaboration.
- **[AWS Client VPN](https://blowstack.com/tools/cloud-services-hub/aws-client-vpn)**: Step Functions can use EC2 APIs to create Client VPN endpoints, associate target networks, and manage authorization rules during remote-access provisioning.
- **[AWS Cloud Map](https://blowstack.com/tools/cloud-services-hub/aws-cloud-map)**: Step Functions can register and deregister Cloud Map service instances through AWS SDK integrations, updating service discovery during provisioning and teardown.
- **[AWS Cloud9](https://blowstack.com/tools/cloud-services-hub/aws-cloud9)**: Step Functions can call Cloud9 APIs to create development environments, manage environment membership, and delete environments during automated provisioning.
- **[AWS CloudFormation](https://blowstack.com/tools/cloud-services-hub/aws-cloudformation)**: CloudFormation provisions Step Functions state machines and activities as native resource types. Step Functions can also create or update CloudFormation stacks through AWS SDK integrations and check stack status.
- **[AWS CloudHSM](https://blowstack.com/tools/cloud-services-hub/aws-cloudhsm)**: Step Functions can call CloudHSM APIs to create clusters, create backups through supported lifecycle operations, and manage HSM resources during security-infrastructure provisioning.
- **[AWS CloudTrail](https://blowstack.com/tools/cloud-services-hub/aws-cloudtrail)**: CloudTrail records supported Step Functions API activity for auditing, including management events and configurable execution-related data events.
- **[AWS CodeArtifact](https://blowstack.com/tools/cloud-services-hub/aws-codeartifact)**: Step Functions can call CodeArtifact APIs to create repositories, inspect package versions, and copy package versions between repositories during release workflows.
- **[AWS CodeBuild](https://blowstack.com/tools/cloud-services-hub/aws-codebuild)**: Step Functions provides optimized integrations to start CodeBuild builds or batch builds and wait for completion before continuing a workflow.
- **[AWS CodeCommit](https://blowstack.com/tools/cloud-services-hub/aws-codecommit)**: Step Functions can call CodeCommit APIs to inspect commits, retrieve files, and create or merge pull requests as part of repository automation.
- **[AWS CodeConnections](https://blowstack.com/tools/cloud-services-hub/aws-codeconnections)**: Step Functions can call CodeConnections management APIs to inspect connections and manage connection resources used by source-code integrations.
- **[AWS CodeDeploy](https://blowstack.com/tools/cloud-services-hub/aws-codedeploy)**: Step Functions can create CodeDeploy deployments and poll deployment status through AWS SDK integrations to coordinate application releases.
- **[AWS CodePipeline](https://blowstack.com/tools/cloud-services-hub/aws-codepipeline)**: CodePipeline provides a Step Functions invoke action that starts a state machine as a pipeline stage. Step Functions can also start pipeline executions and inspect their status through AWS SDK integrations.
- **[AWS Compute Optimizer](https://blowstack.com/tools/cloud-services-hub/aws-compute-optimizer)**: Step Functions can retrieve Compute Optimizer recommendations or start recommendation exports through AWS SDK integrations for resource-optimization workflows.
- **[AWS Config](https://blowstack.com/tools/cloud-services-hub/aws-config)**: AWS Config can record supported Step Functions resource configurations for change tracking and compliance evaluation. Step Functions can also call Config APIs to retrieve compliance results or start rule evaluations.
- **[AWS Control Tower](https://blowstack.com/tools/cloud-services-hub/aws-control-tower)**: Step Functions can call Control Tower APIs to enable or disable controls and inspect operation status during account-governance workflows.
- **[AWS Cost and Usage Report](https://blowstack.com/tools/cloud-services-hub/aws-cost-and-usage-report)**: Step Functions can create and modify Cost and Usage Report definitions through AWS SDK integrations, automating billing-report configuration.
- **[AWS Cost Explorer](https://blowstack.com/tools/cloud-services-hub/aws-cost-explorer)**: Step Functions can retrieve cost and usage data, forecasts, and other Cost Explorer results through AWS SDK integrations for financial-analysis workflows.
- **[AWS Data Exchange](https://blowstack.com/tools/cloud-services-hub/aws-data-exchange)**: Step Functions can create and start Data Exchange import or export jobs and check their status as part of data-publication workflows.
- **[AWS Data Pipeline](https://blowstack.com/tools/cloud-services-hub/aws-data-pipeline)**: Step Functions can activate Data Pipeline pipelines and inspect pipeline objects through AWS SDK integrations, coordinating existing pipelines with other processing steps.
- **[AWS Database Migration Service (AWS DMS)](https://blowstack.com/tools/cloud-services-hub/aws-database-migration-service-(aws-dms))**: Step Functions can create and start DMS replication tasks and check their status through AWS SDK integrations during database-migration workflows.
- **[AWS DataSync](https://blowstack.com/tools/cloud-services-hub/aws-datasync)**: Step Functions can start DataSync task executions and poll their status, ensuring data transfers finish before downstream processing begins.
- **[AWS Device Farm](https://blowstack.com/tools/cloud-services-hub/aws-device-farm)**: Step Functions can schedule Device Farm test runs and retrieve run results through AWS SDK integrations, incorporating device testing into release workflows.
- **[AWS Direct Connect](https://blowstack.com/tools/cloud-services-hub/aws-direct-connect)**: Step Functions can call Direct Connect APIs to inspect connections and manage virtual interfaces as part of network-provisioning workflows.
- **[AWS Directory Service](https://blowstack.com/tools/cloud-services-hub/aws-directory-service)**: Step Functions can create and manage Directory Service directories and inspect directory status through AWS SDK integrations.
- **[AWS Elastic Beanstalk](https://blowstack.com/tools/cloud-services-hub/aws-elastic-beanstalk)**: Step Functions can create Elastic Beanstalk application versions, update environments, and check deployment health through AWS SDK integrations.
- **[AWS Elastic Disaster Recovery](https://blowstack.com/tools/cloud-services-hub/aws-elastic-disaster-recovery)**: Step Functions can start Elastic Disaster Recovery recovery jobs and inspect their status through AWS SDK integrations to coordinate recovery procedures.
- **[AWS Entity Resolution](https://blowstack.com/tools/cloud-services-hub/aws-entity-resolution)**: Step Functions can start Entity Resolution matching jobs and check job status through AWS SDK integrations, coordinating matching with data preparation and downstream processing.
- **[AWS Fargate](https://blowstack.com/tools/cloud-services-hub/aws-fargate)**: Step Functions can launch ECS tasks with the Fargate launch type and wait for completion through its optimized ECS integration, running containerized workflow steps without managing servers.
- **[AWS Fault Injection Service](https://blowstack.com/tools/cloud-services-hub/aws-fault-injection-simulator-(aws-fis))**: Step Functions can start Fault Injection Service experiments and check experiment status through AWS SDK integrations, coordinating fault injection with validation and recovery.
- **[AWS Firewall Manager](https://blowstack.com/tools/cloud-services-hub/aws-firewall-manager)**: Step Functions can create or update Firewall Manager policies and retrieve compliance results through AWS SDK integrations.
- **[AWS Global Accelerator](https://blowstack.com/tools/cloud-services-hub/aws-global-accelerator)**: Step Functions can create and update Global Accelerator accelerators, listeners, and endpoint groups through AWS SDK integrations during network deployments.
- **[AWS Glue](https://blowstack.com/tools/cloud-services-hub/aws-glue)**: Step Functions provides an optimized integration to start Glue jobs and wait for completion. AWS SDK integrations also let workflows start crawlers and manage Data Catalog resources.
- **[AWS Glue DataBrew](https://blowstack.com/tools/cloud-services-hub/aws-glue-databrew)**: Step Functions provides an optimized integration to start DataBrew jobs and wait for completion, allowing data preparation to finish before downstream analytics or training.
- **[AWS Health Dashboard](https://blowstack.com/tools/cloud-services-hub/aws-health-dashboard)**: Step Functions can retrieve AWS Health events and affected-resource information through the AWS Health API, subject to account eligibility, and use the results in operational workflows.
- **[AWS IAM Identity Center (AWS Single Sign-On)](https://blowstack.com/tools/cloud-services-hub/aws-iam-identity-center-(aws-single-sign-on))**: Step Functions can use IAM Identity Center administration APIs to manage permission sets and account assignments during access-provisioning workflows.
- **[AWS Identity and Access Management (IAM)](https://blowstack.com/tools/cloud-services-hub/aws-identity-and-access-management-(iam))**: Step Functions assumes IAM execution roles to access integrated services, and IAM policies control access to workflows and activities. Workflows can also call IAM APIs to automate supported identity-management operations.
- **[AWS IoT Core](https://blowstack.com/tools/cloud-services-hub/aws-iot-core)**: IoT Core rules can start Step Functions state machines when device messages match a rule. Step Functions can also publish MQTT messages through the IoT data-plane API.
- **[AWS IoT Device Defender](https://blowstack.com/tools/cloud-services-hub/aws-iot-device-defender)**: Step Functions can use IoT APIs to start Device Defender audit tasks, retrieve findings, and manage mitigation actions in device-security workflows.
- **[AWS IoT Device Management](https://blowstack.com/tools/cloud-services-hub/aws-iot-device-management)**: Step Functions can create IoT jobs and inspect job executions through AWS SDK integrations, coordinating device updates and fleet operations.
- **[AWS IoT Greengrass](https://blowstack.com/tools/cloud-services-hub/aws-iot-greengrass)**: Step Functions can create Greengrass deployments and check deployment status through AWS SDK integrations, orchestrating component rollouts to edge devices.
- **[AWS IoT SiteWise](https://blowstack.com/tools/cloud-services-hub/aws-iot-sitewise)**: Step Functions can call SiteWise APIs to manage assets, write asset-property values, and retrieve industrial measurements for processing workflows.
- **[AWS Key Management Service (AWS KMS)](https://blowstack.com/tools/cloud-services-hub/aws-key-management-service-(aws-kms))**: Step Functions supports customer-managed KMS keys for encryption of workflow data at rest. Workflows can also call supported KMS operations through AWS SDK integrations.
- **[AWS Lake Formation](https://blowstack.com/tools/cloud-services-hub/aws-lake-formation)**: Step Functions can grant and revoke Lake Formation permissions and manage registered data-lake resources through AWS SDK integrations.
- **[AWS Launch Wizard](https://blowstack.com/tools/cloud-services-hub/aws-launch-wizard)**: Step Functions can call Launch Wizard APIs to create deployments and inspect deployment status, coordinating guided application deployments with other provisioning tasks.
- **[AWS License Manager](https://blowstack.com/tools/cloud-services-hub/aws-license-manager)**: Step Functions can call License Manager APIs to manage license configurations and inspect license usage during software-governance workflows.
- **[AWS Marketplace](https://blowstack.com/tools/cloud-services-hub/aws-marketplace)**: Step Functions can call Marketplace Catalog APIs to start change sets and check their status, automating supported seller listing and product-management operations.
- **[AWS Migration Hub](https://blowstack.com/tools/cloud-services-hub/aws-migration-hub)**: Step Functions can use Migration Hub APIs to retrieve application migration status and update migration-task progress as part of migration orchestration.
- **[AWS Network Firewall](https://blowstack.com/tools/cloud-services-hub/aws-network-firewall)**: Step Functions can create and update Network Firewall firewalls, rule groups, and firewall policies through AWS SDK integrations.
- **[AWS Organizations](https://blowstack.com/tools/cloud-services-hub/aws-organizations)**: Step Functions can create accounts, move accounts between organizational units, and attach policies through AWS SDK integrations, checking asynchronous account-creation status.
- **[AWS Outposts](https://blowstack.com/tools/cloud-services-hub/aws-outposts)**: Step Functions can call Outposts management APIs to retrieve Outpost inventories, inspect capacity, and manage supported Outpost resources.
- **[AWS Private Certificate Authority](https://blowstack.com/tools/cloud-services-hub/aws-private-certificate-authority)**: Step Functions can request private certificates and retrieve issued certificates through Private CA API integrations, coordinating certificate issuance with deployment.
- **[AWS PrivateLink](https://blowstack.com/tools/cloud-services-hub/aws-privatelink)**: Step Functions supports interface VPC endpoints powered by PrivateLink, providing private access to supported Step Functions APIs, including endpoints for synchronous Express Workflow execution.
- **[AWS Resilience Hub](https://blowstack.com/tools/cloud-services-hub/aws-resilience-hub)**: Resilience Hub supports Step Functions state machines in application resilience assessments. Step Functions can also call Resilience Hub APIs to start assessments and retrieve recommendations.
- **[AWS Resource Access Manager (AWS RAM)](https://blowstack.com/tools/cloud-services-hub/aws-resource-access-manager-(aws-ram))**: Step Functions can create and update RAM resource shares and manage share invitations through AWS SDK integrations.
- **[AWS Resource Groups and Tag Editor](https://blowstack.com/tools/cloud-services-hub/aws-resource-groups-and-tag-editor)**: Step Functions can call Resource Groups and Resource Groups Tagging APIs to organize resources, retrieve resources by tag, and apply tags during provisioning workflows.
- **[AWS Secrets Manager](https://blowstack.com/tools/cloud-services-hub/aws-secrets-manager)**: Step Functions can retrieve or update Secrets Manager secrets through AWS SDK integrations, using secret values as inputs to authorized workflow tasks.
- **[AWS Security Hub](https://blowstack.com/tools/cloud-services-hub/aws-security-hub)**: Step Functions can retrieve, update, and import Security Hub findings through AWS SDK integrations, coordinating security investigation and remediation.
- **[AWS Security Token Service (AWS STS)](https://blowstack.com/tools/cloud-services-hub/aws-security-token-service-(aws-sts))**: Step Functions uses STS to assume execution roles and supported cross-account task roles, obtaining temporary credentials for workflow operations.
- **[AWS Serverless Application Repository](https://blowstack.com/tools/cloud-services-hub/aws-serverless-application-repository)**: Serverless Application Repository can distribute SAM applications containing Step Functions state machines, allowing reusable workflow applications to be deployed through CloudFormation.
- **[AWS Service Catalog](https://blowstack.com/tools/cloud-services-hub/aws-service-catalog)**: Step Functions can provision and update Service Catalog products and check operation records through AWS SDK integrations, coordinating approved infrastructure deployments.
- **[AWS Shield](https://blowstack.com/tools/cloud-services-hub/aws-shield)**: Step Functions can call Shield APIs to manage supported protection settings and retrieve attack information during security-response workflows.
- **[AWS Signer](https://blowstack.com/tools/cloud-services-hub/aws-signer)**: Step Functions can start Signer signing jobs and check job status through AWS SDK integrations, incorporating code signing into release workflows.
- **[AWS Site-to-Site VPN](https://blowstack.com/tools/cloud-services-hub/aws-site-to-site-vpn)**: Step Functions can use EC2 APIs to create VPN connections, manage routes, and inspect VPN tunnel status during network provisioning.
- **[AWS Snow Family](https://blowstack.com/tools/cloud-services-hub/aws-snow-family)**: Step Functions can call Snowball management APIs to create supported Snow Family jobs, inspect job status, and retrieve shipment information.
- **[AWS Storage Gateway](https://blowstack.com/tools/cloud-services-hub/aws-storage-gateway)**: Step Functions can call Storage Gateway APIs to manage gateways and shares, create supported snapshots, and refresh file-share caches.
- **[AWS Support](https://blowstack.com/tools/cloud-services-hub/aws-support)**: Step Functions can call AWS Support APIs to create support cases, add communications, and check case status, subject to the account's support-plan eligibility.
- **[AWS Systems Manager](https://blowstack.com/tools/cloud-services-hub/aws-systems-manager)**: Step Functions can start Systems Manager Automation executions or send Run Command commands through AWS SDK integrations and check their status. Systems Manager Automation also provides an action for starting Step Functions state machines.
- **[AWS Transfer Family](https://blowstack.com/tools/cloud-services-hub/aws-transfer-family)**: Step Functions can call Transfer Family APIs to manage servers and users or start connector file transfers and check transfer results.
- **[AWS Transit Gateway](https://blowstack.com/tools/cloud-services-hub/aws-transit-gateway)**: Step Functions can use EC2 APIs to create Transit Gateways, manage attachments, and update Transit Gateway route tables during network provisioning.
- **[AWS Trusted Advisor](https://blowstack.com/tools/cloud-services-hub/aws-trusted-advisor)**: Step Functions can retrieve Trusted Advisor recommendations through supported API integrations, subject to account eligibility, and route them into optimization or remediation workflows.
- **[AWS User Notifications](https://blowstack.com/tools/cloud-services-hub/aws-user-notifications)**: Step Functions can call User Notifications management APIs to configure notification rules and channel associations as part of operational-notification provisioning.
- **[AWS Verified Access](https://blowstack.com/tools/cloud-services-hub/aws-verified-access)**: Step Functions can use EC2 APIs to create and manage Verified Access instances, groups, endpoints, and policies during secure-access provisioning.
- **[AWS WAF](https://blowstack.com/tools/cloud-services-hub/aws-waf)**: Step Functions can call WAF APIs to update IP sets, manage web ACLs, and retrieve configuration during automated application-security workflows.
- **[AWS Well-Architected Tool](https://blowstack.com/tools/cloud-services-hub/aws-well-architected-tool)**: Step Functions can call Well-Architected Tool APIs to manage workloads, update review answers, and retrieve review results during governance workflows.
- **[AWS X-Ray](https://blowstack.com/tools/cloud-services-hub/aws-x-ray)**: Step Functions supports X-Ray tracing for Standard Workflows, linking workflow execution traces with supported downstream services to help diagnose latency and failures.
- **[EC2 Image Builder](https://blowstack.com/tools/cloud-services-hub/ec2-image-builder)**: Step Functions can start Image Builder pipeline executions and inspect image build status through AWS SDK integrations before distributing or deploying the resulting images.
- **[Elastic Load Balancing (ELB)](https://blowstack.com/tools/cloud-services-hub/elastic-load-balancing-(elb))**: Step Functions can call Elastic Load Balancing APIs to register or deregister targets and inspect target health, coordinating traffic changes during deployments.
- **[Service Quotas](https://blowstack.com/tools/cloud-services-hub/service-quotas)**: Step Functions can call Service Quotas APIs to request quota increases and check request status as explicit steps in resource-provisioning workflows.

## What is AWS Step Functions

AWS Step Functions is a cloud service provided by Amazon Web Services that orchestrates various AWS services, allowing developers to design and execute serverless workflows. This service is particularly essential for automating complex processes that involve multiple AWS services, enabling tasks that can range from simple to highly complex, to be carried out in a seamless, scalable, and reliable manner.

Its capabilities are a boon for developers looking to implement applications that need to handle long-running processes, with tasks that may involve conditional logic, parallel processing, and state management.

At the core of AWS Step Functions is the concept of state machines. A state machine is a model of computation that consists of a set of states, actions, and transitions. States represent the status of the workflow at any point in time, while transitions define the path from one state to another based on the output of actions executed in the current state. This model allows Step Functions to keep track of the execution state of each workflow, pause and resume tasks as needed, and execute steps in a defined order or in parallel, based on the logic defined within the state machine.

A state machine definition has a hard size limit of 1 MB.

One of the key advantages of using AWS Step Functions is its ability to handle error scenarios gracefully. It provides built-in support for retry policies, error handling, and timeout configurations, which are critical for building robust and resilient applications. Moreover, the service integrates seamlessly with various AWS services such as AWS Lambda, Amazon SNS, Amazon SQS, and Amazon DynamoDB, among others, thereby allowing a wide range of tasks to be executed as part of the workflows. These tasks can include running code, sending notifications, writing to databases, and much more, without the need to manage the underlying infrastructure.

Step Functions can invoke endpoints in private networks, including Amazon VPCs, through integrations with AWS PrivateLink and Amazon VPC Lattice.

AWS Step Functions also offers a visual interface where developers can define, visualize, and test their workflows. This interface makes it simpler to understand the flow of operations, identify potential issues, and make necessary adjustments swiftly. The visual aspect, combined with the ability to define workflows as code using JSON, makes Step Functions a versatile tool for both visual thinkers and those who prefer to write code. In addition to providing a powerful orchestration capability, AWS Step Functions also offers detailed logging and monitoring features. It integrates with Amazon CloudWatch to provide real-time monitoring of workflows, including execution history, performance metrics, and operational health. This visibility is crucial for diagnosing issues, optimizing performance, and ensuring that workflows are running as expected.

AWS Step Functions is a managed service, which means AWS handles the scaling, high availability, and maintenance of the underlying infrastructure. This enables developers to focus on building and refining their applications instead of managing servers or clusters. Step Functions offers Standard Workflows, charged by the number of state transitions, and Express Workflows, charged by workflow requests and execution duration.

The default quota for open executions is 1,000,000 per AWS account per Region and can be increased. Exceeding it causes an ExecutionLimitExceeded error; this quota does not apply to Express Workflows.

In summary, AWS Step Functions is a powerful service for building and running serverless workflows on AWS. Its support for complex workflows, integration with other AWS services, visual workflow definition, robust error handling, and detailed monitoring capabilities make it an essential tool for developers looking to automate tasks and orchestrate multi-step processes in the cloud.

## Concepts related to AWS Step Functions

- [Workflow Orchestration](https://blowstack.com/tools/cloud-concepts-hub/workflow-orchestration): Workflow orchestration coordinates tasks, dependencies, decisions, and failure handling so that multiple components execute a complete business process.
- [Idempotency](https://blowstack.com/tools/cloud-concepts-hub/idempotency): Idempotency is the property that repeating an operation with the same intent has the same intended effect as performing it once.
- [Human-in-the-Loop](https://blowstack.com/tools/cloud-concepts-hub/human-in-the-loop): Human-in-the-Loop is an approach that integrates human judgment, review, and feedback into an AI system’s training, operation, or evaluation.
- [Exponential Backoff](https://blowstack.com/tools/cloud-concepts-hub/exponential-backoff): Exponential backoff is a retry strategy that increases the delay between successive attempts, usually by multiplying the previous delay by a fixed factor.
- [ReAct](https://blowstack.com/tools/cloud-concepts-hub/react): ReAct is an agent design pattern that interleaves reasoning, tool actions, and observations so a foundation model can solve problems using external evidence.
- [Multi-Agent Orchestration](https://blowstack.com/tools/cloud-concepts-hub/multi-agent-orchestration): Multi-agent orchestration coordinates multiple AI agents, their tools, shared context, and execution flow to complete a task.
- [Circuit Breaker](https://blowstack.com/tools/cloud-concepts-hub/circuit-breaker): A circuit breaker is a resilience pattern that temporarily blocks calls to a failing dependency and permits controlled probes before restoring normal traffic.
- [Prompt Chaining](https://blowstack.com/tools/cloud-concepts-hub/prompt-chaining): Prompt chaining decomposes a complex task into connected model interactions, passing selected outputs from earlier steps into later prompts.
- [Regression Testing](https://blowstack.com/tools/cloud-concepts-hub/regression-testing): Regression testing checks that changes to a system do not break previously accepted behavior or degrade established quality standards.
- [AI Agents](https://blowstack.com/tools/cloud-concepts-hub/ai-agents): AI agents are software systems that use artificial intelligence to select and carry out actions toward a goal within defined permissions and constraints.
- [Content-Based Routing](https://blowstack.com/tools/cloud-concepts-hub/content-based-routing): Content-based routing directs a request or message to a destination by evaluating its payload, attributes, or derived meaning.
- [Incremental Processing](https://blowstack.com/tools/cloud-concepts-hub/incremental-processing): Incremental processing updates derived data by processing only new or changed inputs and their affected results instead of recomputing the entire dataset.
- [Input Validation](https://blowstack.com/tools/cloud-concepts-hub/input-validation): Input validation checks incoming data against structural, semantic, and safety rules before an application uses it.
- [State Machines](https://blowstack.com/tools/cloud-concepts-hub/state-machines): State machines model a process as defined states and rules that determine how execution moves between them.
- [Chain of Custody](https://blowstack.com/tools/cloud-concepts-hub/chain-of-custody): Chain of custody is the documented history of how evidence is collected, handled, transferred, stored, and accessed so that its identity and integrity can be demonstrated.
- [Ensemble Learning](https://blowstack.com/tools/cloud-concepts-hub/ensemble-learning): Ensemble learning combines predictions or outputs from multiple models to produce a result that can outperform an individual model.
- [Exception Handling](https://blowstack.com/tools/cloud-concepts-hub/exception-handling): Exception handling is the controlled detection and management of runtime failures so a program can recover, release resources, or terminate with useful diagnostic information.
- [Parallel Execution](https://blowstack.com/tools/cloud-concepts-hub/parallel-execution): Parallel execution runs independent tasks at the same time to reduce the elapsed time needed to complete a larger workflow.
- [Quality Gates](https://blowstack.com/tools/cloud-concepts-hub/quality-gates): Quality gates are explicit pass-or-fail checkpoints that use evidence to determine whether a change can advance through a delivery workflow.
- [Query Decomposition](https://blowstack.com/tools/cloud-concepts-hub/query-decomposition): Query decomposition breaks a complex request into focused subqueries whose retrieved evidence is combined to answer the original request.
- [Query Rewriting](https://blowstack.com/tools/cloud-concepts-hub/query-rewriting): Query rewriting transforms a user's request into one or more retrieval queries that better express the intended information need.
- [Runbooks](https://blowstack.com/tools/cloud-concepts-hub/runbooks): Runbooks are documented, repeatable procedures that guide people or automation through operational tasks and recovery actions.
- [Task Planning](https://blowstack.com/tools/cloud-concepts-hub/task-planning): Task planning is the process of turning a goal into actionable steps, selecting suitable tools, and adjusting the steps as new information becomes available.
- [Batch Inference](https://blowstack.com/tools/cloud-concepts-hub/batch-inference): Batch inference uses a trained model to generate predictions for a collected dataset as a job rather than serving individual requests with immediate responses.
- [Champion/Challenger Testing](https://blowstack.com/tools/cloud-concepts-hub/championchallenger-testing): Champion/challenger testing compares a currently accepted model with candidate replacements to determine whether a challenger should become the new production standard.
- [Conditional Branching](https://blowstack.com/tools/cloud-concepts-hub/conditional-branching): Conditional branching selects the next execution path in a workflow by evaluating conditions against input data, intermediate results, or system state.
- [Feedback Loops](https://blowstack.com/tools/cloud-concepts-hub/feedback-loops): Feedback loops are repeatable processes that use observations, user input, and outcomes to evaluate and improve a system’s behavior.
- [Graceful Degradation](https://blowstack.com/tools/cloud-concepts-hub/graceful-degradation): Graceful degradation is the deliberate preservation of essential service when failures or resource constraints require reduced functionality, performance, or output quality.
- [Intent Classification](https://blowstack.com/tools/cloud-concepts-hub/intent-classification): Intent classification identifies the goal expressed in a user's message and maps it to a defined category that guides the application's next action.
- [Model Routing](https://blowstack.com/tools/cloud-concepts-hub/model-routing): Model routing selects the most suitable AI model for each request or task using capability, quality, cost, latency, and operational constraints.
- [Multimodal Fusion](https://blowstack.com/tools/cloud-concepts-hub/multimodal-fusion): Multimodal fusion combines information from different data modalities, such as text, images, audio, and tables, to support a shared prediction, interpretation, or generated response.
- [Output Validation](https://blowstack.com/tools/cloud-concepts-hub/output-validation): Output validation checks generated or returned data against security, structural, and business rules before it is displayed, stored, or used to perform an action.
- [Red Teaming](https://blowstack.com/tools/cloud-concepts-hub/red-teaming): Red teaming is an authorized, adversarial assessment that simulates realistic attacks to uncover weaknesses in a system and its defenses.
- [Agentic AI](https://blowstack.com/tools/cloud-concepts-hub/agentic-ai): Agentic AI is an approach to building AI systems that pursue goals by selecting actions, using tools, and adapting their next steps within defined boundaries.
- [Answer Relevance](https://blowstack.com/tools/cloud-concepts-hub/answer-relevance): Answer relevance measures how directly and appropriately a generated response addresses a user's question, intent, and conversational context.
- [API Versioning](https://blowstack.com/tools/cloud-concepts-hub/api-versioning): API versioning is the practice of identifying and managing distinct API contracts so interfaces can evolve without unexpectedly breaking consumers.
- [Application integration](https://blowstack.com/tools/cloud-concepts-hub/application-integration): Application integration connects independent applications so they can exchange information and coordinate business processes through defined interfaces.
- [Asynchronous Communication](https://blowstack.com/tools/cloud-concepts-hub/asynchronous-communication): Asynchronous communication lets a sender submit work or information without waiting for the receiver to finish processing it.
- [Automation Bias](https://blowstack.com/tools/cloud-concepts-hub/automation-bias): Automation bias is the tendency to trust automated recommendations or outputs too readily, reducing independent judgment and verification.
- [Batch Processing](https://blowstack.com/tools/cloud-concepts-hub/batch-processing): Batch processing collects data into bounded groups and processes each group as a job rather than handling every record immediately as it arrives.
- [Confidence Intervals](https://blowstack.com/tools/cloud-concepts-hub/confidence-intervals): Confidence intervals are statistically constructed ranges that express uncertainty in estimates derived from sampled data.
- [Cross-Validation](https://blowstack.com/tools/cloud-concepts-hub/cross-validation): Cross-validation estimates how well a modeling approach generalizes by repeatedly training and evaluating it on different, appropriately separated portions of a dataset.
- [Decision Rights](https://blowstack.com/tools/cloud-concepts-hub/decision-rights): Decision rights define who has authority to make, approve, challenge, and escalate specific decisions within an organization.
- [Declarative Programming](https://blowstack.com/tools/cloud-concepts-hub/declarative-programming): Declarative programming describes the desired result or structure of a system while delegating the execution steps to a runtime, framework, or provisioning engine.
- [Determinism](https://blowstack.com/tools/cloud-concepts-hub/determinism): Determinism is the property of a computation that produces the same result whenever its inputs, initial state, and execution conditions are the same.
- [Differential Testing](https://blowstack.com/tools/cloud-concepts-hub/differential-testing): Differential testing compares the behavior of multiple implementations, versions, or configurations on the same inputs to identify meaningful discrepancies.
- [Directed Acyclic Graphs](https://blowstack.com/tools/cloud-concepts-hub/directed-acyclic-graphs): Directed acyclic graphs model tasks and their dependencies using one-way connections that never form a cycle.
- [Distributed Training](https://blowstack.com/tools/cloud-concepts-hub/distributed-training): Distributed training coordinates multiple compute devices or machines to train a single machine learning model.
- [End-to-End Testing](https://blowstack.com/tools/cloud-concepts-hub/end-to-end-testing): End-to-end testing validates a complete application journey, from its entry point through integrated components to the final response and observable effects.
- [Extract, Transform, Load](https://blowstack.com/tools/cloud-concepts-hub/extract-transform-load): Extract, Transform, Load is a data integration process that retrieves data from source systems, prepares it for a target use case, and writes it to a destination.
- [Fan-Out](https://blowstack.com/tools/cloud-concepts-hub/fan-out): Fan-out is an architectural pattern in which one event, message, or request initiates processing by multiple downstream recipients or execution branches.
- [Human-Centered Design](https://blowstack.com/tools/cloud-concepts-hub/human-centered-design): Human-Centered Design is an iterative approach to building systems around the needs, capabilities, and circumstances of the people who use them or are affected by them.
- [Human-in-the-Loop Evaluation](https://blowstack.com/tools/cloud-concepts-hub/human-in-the-loop-evaluation): Human-in-the-loop evaluation uses people to assess AI outputs against defined criteria, especially when quality depends on context, judgment, or domain expertise.
- [Imperative Programming](https://blowstack.com/tools/cloud-concepts-hub/imperative-programming): Imperative programming expresses computation as explicit instructions that control execution and change program or system state.
- [Inter-Rater Agreement](https://blowstack.com/tools/cloud-concepts-hub/inter-rater-agreement): Inter-rater agreement measures how consistently different human evaluators assign the same labels, scores, or judgments to the same items.
- [Labor Productivity](https://blowstack.com/tools/cloud-concepts-hub/labor-productivity): Labor productivity is the amount of useful output produced per unit of human labor, commonly measured as quality-adjusted output per labor hour.
- [Loose Coupling](https://blowstack.com/tools/cloud-concepts-hub/loose-coupling): Loose coupling is an architectural principle that minimizes dependencies between components so they can change, scale, and recover with limited impact on one another.
- [Mass Customization](https://blowstack.com/tools/cloud-concepts-hub/mass-customization): Mass customization is the delivery of products or services tailored to individual needs at a scale and cost structure approaching standardized production.
- [Model Cascading](https://blowstack.com/tools/cloud-concepts-hub/model-cascading): Model cascading is a staged inference strategy in which models handle requests sequentially, often using a smaller model first and escalating difficult cases to a more capable model.
- [Model Retraining](https://blowstack.com/tools/cloud-concepts-hub/model-retraining): Model retraining is the process of training a new version of an existing machine learning model using updated or revised data to maintain or improve its performance.
- [Named Entity Recognition](https://blowstack.com/tools/cloud-concepts-hub/named-entity-recognition): Named Entity Recognition identifies spans of text that refer to entities, such as people, organizations, locations, and dates, and assigns them predefined categories.
- [Precomputation](https://blowstack.com/tools/cloud-concepts-hub/precomputation): Precomputation performs predictable work before a request arrives so that results or intermediate artifacts are ready when needed.
- [Query Expansion](https://blowstack.com/tools/cloud-concepts-hub/query-expansion): Query expansion enriches a search request with related terms or alternative formulations to retrieve relevant information that the original wording might miss.
- [Rule-Based AI](https://blowstack.com/tools/cloud-concepts-hub/rule-based-ai): Rule-based AI uses explicitly defined rules and facts to make decisions or draw conclusions rather than learning decision patterns from training data.
- [Rule-Based Systems](https://blowstack.com/tools/cloud-concepts-hub/rule-based-systems): Rule-based systems automate decisions and actions by applying explicitly defined conditions to input data.
- [Shadow Testing](https://blowstack.com/tools/cloud-concepts-hub/shadow-testing): Shadow testing evaluates a candidate system using copies of live production requests while only the established production system returns responses to users.
- [Stage-Gate Process](https://blowstack.com/tools/cloud-concepts-hub/stage-gate-process): A stage-gate process divides an initiative into phases separated by evidence-based decisions to proceed, scale, pause, rework, or terminate.
- [Statelessness](https://blowstack.com/tools/cloud-concepts-hub/statelessness): Statelessness is a design principle in which a processing instance does not depend on locally retained client or workflow state from previous requests.
- [Structured Outputs](https://blowstack.com/tools/cloud-concepts-hub/structured-outputs): Structured outputs constrain a foundation model’s responses to an explicit, machine-readable format or schema so applications can process them reliably.
- [Synchronous Communication](https://blowstack.com/tools/cloud-concepts-hub/synchronous-communication): Synchronous communication is an interaction in which a caller waits for a receiver’s response before proceeding with work that depends on that response.
- [Task Completion Rate](https://blowstack.com/tools/cloud-concepts-hub/task-completion-rate): Task Completion Rate is the percentage of attempted tasks that achieve a predefined successful outcome.
- [Task Decomposition](https://blowstack.com/tools/cloud-concepts-hub/task-decomposition): Task decomposition is the practice of breaking a larger activity into smaller, clearly defined tasks that can be assigned to people, software, or AI systems.
- [Text Normalization](https://blowstack.com/tools/cloud-concepts-hub/text-normalization): Text normalization converts equivalent textual representations into consistent, task-appropriate forms while preserving the meaning needed by downstream systems.
- [Timeouts](https://blowstack.com/tools/cloud-concepts-hub/timeouts): Timeouts are enforced time limits on how long an application waits for an operation before treating it as unsuccessful or taking another action.
- [Tool Calling](https://blowstack.com/tools/cloud-concepts-hub/tool-calling): Tool calling is the mechanism by which an AI model requests that an application execute an external function or operation and return its result.
- [Tool Use](https://blowstack.com/tools/cloud-concepts-hub/tool-use): Tool use enables a foundation-model application to request external functions, APIs, or utilities to retrieve information, perform calculations, or take actions.
- [Trajectory Evaluation](https://blowstack.com/tools/cloud-concepts-hub/trajectory-evaluation): Trajectory evaluation assesses the sequence of observable steps a foundation-model application takes to complete a task, rather than judging only its final answer.

## AWS Step Functions exam questions

Real practice exam questions on AWS Step Functions, with the correct answer and its explanation.

### Question 1 (AIB-C01)

**Question:**

A retailer uses generative AI to draft product descriptions. An independent validation service checks each draft against approved product specifications before publication. Failed drafts are automatically returned to the model for revision. During a pilot, some descriptions repeatedly fail validation, creating long-running revision loops and unpredictable costs. Leadership requires a maximum of three automated revision attempts, followed by a merchandising specialist’s decision if validation still fails. A description that fails validation must never be published automatically. Which workflow design BEST meets these requirements?

**Correct answer:** Use an AWS Step Functions workflow to track revision attempts and branch on validation results. After three unsuccessful revisions, pause for a specialist’s disposition. Publish only a validated description or a specialist-approved replacement, and escalate overdue reviews without publishing.

**Explanation:** Step Functions can maintain attempt counts, evaluate conditions, and wait for a human decision. This design bounds automated revisions, makes human intervention mandatory when the limit is reached, and prevents unresolved descriptions from being published.

### Question 2 (MLA-C02)

**Question:**

A company runs a high-volume ML inference pipeline as an AWS Step Functions Express workflow. The workflow validates records, invokes a model, and routes predictions to downstream systems. Some predictions reach the wrong destination even though the workflow executions succeed. An ML engineer needs to investigate the sequence of states and routing decisions for both successful and failed executions, with diagnostic records retained for 14 days. Company policy prohibits storing workflow input and output payloads in monitoring logs because they contain sensitive customer features.

Which solution meets these requirements with the LEAST operational overhead?

**Correct answer:** Configure workflow logging to Amazon CloudWatch Logs at the ALL level, disable inclusion of execution data, and set the log group's retention period to 14 days.

**Explanation:** ALL-level logging captures events for normal state transitions as well as failures, allowing engineers to investigate workflow paths and correlate events by execution. Disabling inclusion of execution data excludes input and output payloads while retaining execution metadata. CloudWatch Logs provides managed retention, which is particularly useful because Express workflows do not retain execution history in Step Functions.

### Question 3 (SAP-C03)

**Question:**

A company publishes custom operational events to an Amazon EventBridge event bus. Events with a detail-type of Fleet Remediation Requested identify a tag value that selects affected Amazon EC2 instances. Other events on the bus must not initiate remediation. A tested AWS Systems Manager Automation runbook repairs and validates one instance.

Each selected fleet contains between 200 and 2,000 instances, always in multiples of 100. For each incident, the configured concurrency ceiling must automatically equal 5% of the selected fleet, without maintaining fleet-specific settings. Systems Manager must stop dispatching remediation to additional instances after the first failed instance-level execution is reported. Executions already in progress must be allowed to finish, even if additional failures occur. The company does not want to implement a custom dispatch queue.

Which solution meets these requirements?

**Correct answer:** Create an EventBridge rule that matches the required detail-type and starts a Step Functions workflow. Have the workflow call Systems Manager StartAutomationExecution with tag-based Targets, the instance-ID TargetParameterName, MaxConcurrency set to "5%", and MaxErrors set to "0". Allow running executions to finish.

**Explanation:** EventBridge filters the incident events and starts the workflow. The workflow supplies Systems Manager Automation's native fleet-dispatch settings. MaxConcurrency of 5% automatically sets the required ceiling for each selected fleet. MaxErrors of 0 stops further dispatch after the first reported failure, but does not terminate executions already in progress. Those executions can finish and can produce additional failures.

### Question 4 (AIF-C01)

**Question:**

A publisher is building a multi-agent application to prepare articles. A research agent and a fact-checking agent must run in parallel. An editing agent must start only after both agents finish successfully. The application must track each workflow's progress and automatically retry failed agent tasks according to configured rules. The publisher wants to minimize custom orchestration code. Which solution best meets these requirements?

**Correct answer:** Use AWS Step Functions to invoke the first two agents in parallel, configure task retry policies, and invoke the editing agent after both parallel branches succeed.

**Explanation:** Step Functions provides explicit workflow orchestration, including parallel branches, execution state, and configurable retries. A Parallel state completes successfully only after all its branches succeed, allowing the editing task to run afterward.

### Question 5 (SOA-C03)

**Question:**

A company's monitoring application publishes a DiagnosticSessionRequested event to Amazon EventBridge when an existing application server requires troubleshooting. An existing AWS Lambda function enables verbose logging on the server and returns its previous logging configuration. A second Lambda function restores a supplied logging configuration.

A CloudOps engineer must enable verbose logging immediately after receiving the event, keep it enabled for 45 minutes after the first function succeeds, and then restore the previous configuration. The solution must retain execution history and must not keep compute resources running during the waiting period. The engineer wants to avoid custom orchestration code.

Which solution meets these requirements?

**Correct answer:** Configure an EventBridge rule to start an AWS Step Functions Standard workflow. Invoke the first function, retain its returned configuration, enter a Wait state for 2,700 seconds, and then invoke the restoration function with the saved configuration.

**Explanation:** A Standard workflow can preserve execution state across a 45-minute Wait state without keeping compute resources running. It can invoke the functions in sequence, pass the saved configuration to the restoration function, and retain execution history.

### Question 6 (AIP-C01)

**Question:**

A company is adding a custom input-safety classifier to a generative AI application. The classifier exposes asynchronous APIs: Submit starts an assessment and immediately returns a job ID, and GetStatus returns PENDING, ALLOW, or BLOCK. Assessments take 2–20 minutes. The classifier does not support callbacks. Existing AWS Lambda adapters expose both APIs and return after each API call.

The application must invoke its foundation model only after the assessment returns ALLOW. BLOCK, an assessment failure, or exceeding a 25-minute assessment deadline must prevent inference. Transient API errors should receive bounded retries. The company wants managed orchestration without keeping compute running while an assessment is pending.

Which solution BEST meets these requirements?

**Correct answer:** Use a Step Functions Standard Workflow to invoke the Submit adapter and retain its job ID. Alternate a Wait state with calls to the GetStatus adapter. Use Choice states to invoke the model only for ALLOW, reject BLOCK or failed assessments, and continue polling PENDING only before the assessment deadline. Configure bounded retries for transient API errors and route exhausted retries to rejection.

**Explanation:** A Standard Workflow supports the required duration and can persist execution state during Wait states without keeping a Lambda function running. Explicit status branching separates submission success from assessment approval. A deadline checked throughout polling bounds the assessment period, while retries and rejection paths prevent failures from bypassing screening.

### Question 7 (DEA-C01)

**Question:**

A data engineer is implementing an AWS Step Functions workflow that uses JSONPath. Each execution starts with an input object containing batchId and sourceUri. A Task state invokes a validation Lambda function by using the optimized Lambda integration. The function returns only {"isValid": true} or {"isValid": false}, which appears in the integration result under Payload.

The next state must route the batch based on isValid. Subsequent states must also receive the original batchId and sourceUri unchanged. The engineer must meet these requirements through state machine configuration without modifying the Lambda function or using an external data store.

Which configuration should the engineer use for the validation Task and the following Choice state?

**Correct answer:** Set ResultSelector to {"isValid.$":"$.Payload.isValid"}, ResultPath to "$.validation", and OutputPath to "$". Configure the Choice state to evaluate $.validation.isValid.

**Explanation:** ResultSelector extracts the Boolean from the optimized integration response. ResultPath inserts that selected result into a validation field while preserving the original batchId and sourceUri. OutputPath passes the combined object to the Choice state and subsequent states.

### Question 8 (SCS-C03)

**Question:**

A company's automated incident response plan uses an AWS Step Functions workflow to preserve application logs in a security account before rebuilding affected workloads. Each original log object has a protected collection record containing its source, collection time, collector identity, object version, and SHA-256 digest. Original objects cannot be overwritten or deleted during the required retention period.

The workflow also decompresses and redacts copies of the logs, then transfers the resulting files to an investigation account. During an exercise, investigators can verify the original logs but cannot establish which original object produced each redacted file or which automated execution performed the transformation.

The company must make findings based on the redacted files defensible while retaining the existing transformation and transfer process. Which change BEST meets this requirement?

**Correct answer:** Create protected records linking each input object version and digest to its output object version and newly calculated digest. Include the case identifier, transformation tool and version, execution identifier, role identities, UTC timestamps, and destination. Retain correlated transfer and subsequent access audit records.

**Explanation:** This preserves the relationship between originals and derivatives, documents the authorized transformation and transfer, and records subsequent handling. Separate input and output digests allow integrity verification even though redaction legitimately changes the contents.

### Question 9 (DVA-C02)

**Question:**

A developer is modifying a Task state in an AWS Step Functions workflow that processes order events. The state uses JSONPath-based InputPath, Parameters, ResultSelector, ResultPath, and OutputPath fields and invokes a development AWS Lambda function.

Before deploying the workflow change, the developer must test the individual state with a sample event, invoke the actual development function, and inspect intermediate data transformations to identify where an expected field is removed. The test must not create or update a state machine. The developer has the required IAM permissions, including permission to pass a role that can invoke the function.

Which approach meets these requirements?

**Correct answer:** Call the Step Functions TestState API with the Task state definition, sample input, execution role ARN, and inspectionLevel set to DEBUG. Inspect the returned inspectionData and output.

**Explanation:** TestState executes an individual state without creating or updating a state machine and can invoke the actual Lambda resource using the supplied role. DEBUG returns inspection data for intermediate input and output processing stages, allowing the developer to locate where the field is removed.

### Question 10 (DOP-C02)

**Question:**

A company is automating its response to suspected credential compromise. For each incident, two existing AWS Lambda functions must run concurrently: one checks recent API activity, and the other checks the affected identity's permissions. Each function returns an assessment on success or raises an application error if it cannot complete its assessment.

A DevOps engineer must ensure that an application error from either assessment does not interrupt the other assessment. The automation must wait for both assessments to finish, preserve each assessment's result or error details, and then make one decision: start containment only if both assessments succeeded and recommend containment; otherwise, create one analyst-review request. Coordination must use managed workflow states rather than custom coordination code.

Which solution meets these requirements?

**Correct answer:** Create an AWS Step Functions Standard workflow with a Parallel state containing one assessment Task in each branch. Add a Catch handler to each Task that preserves its error details and transitions to a Pass state producing a failed-assessment result. Normalize successful results as well. After both branches complete, use a Choice state to evaluate both results and route to containment or a single analyst-review Task.

**Explanation:** Task-level handlers turn application errors into branch results without failing the Parallel state. The Parallel state waits for both branches and returns their outputs as an array. A downstream Choice state can therefore make one decision using both assessments, including any captured error details.

### Question 11 (SAA-C03)

**Question:**

An engineering company processes customer datasets by running containers on Amazon ECS with AWS Fargate. Each dataset requires two independent analysis tasks that each take approximately 20 minutes. A third container combines their results in approximately 2 minutes and must start only after both analyses succeed. During normal operation, the entire process must finish within 25 minutes. Requests arrive unpredictably, and multiple datasets must be processed concurrently. The company wants managed workflow state tracking and configurable retries without maintaining custom orchestration code or worker hosts.

Which solution best meets these requirements?

**Correct answer:** Create an AWS Step Functions Standard workflow with a Parallel state. In each branch, run an analysis task with the ECS RunTask .sync integration. After the Parallel state succeeds, run the combining task with the same integration. Configure retry policies for transient failures.

**Explanation:** A Standard workflow supports this long-running process. The Parallel state runs the independent analyses concurrently, and the .sync integration waits for each ECS task to finish. The combining task starts only after both branches succeed, giving an expected processing time of approximately 22 minutes. Step Functions manages workflow state and retries without custom orchestration infrastructure.

### Question 12 (ANS-C01)

**Question:**

A company publishes an event when a replacement network inspection path is ready for validation. Before production routes can use the path, automation must run two independent tests: a forward-path connectivity test and a return-path symmetry test. An existing test platform exposes HTTPS APIs to start each test and retrieve its status by job ID. Starting a test returns immediately, but tests can run for 40 minutes. The platform cannot send completion callbacks.

Existing short-running AWS Lambda functions can start tests, retrieve their status, and update production routes. Both tests must run concurrently. Routes must change only after both tests report success. If either test fails or exceeds a 60-minute deadline, the routes must remain unchanged. Operators require a durable record of each execution's progress, and the company wants to minimize custom coordination code.

Which implementation meets these requirements?

**Correct answer:** Start an AWS Step Functions Standard workflow from the event. Use a Parallel state with one branch per test. Each branch starts its test, retains the job ID, and uses Wait, status-check tasks, and Choice states to poll until success or a bounded deadline. Route test failures and deadline expiration to a failure path. Update production routes only after both branches complete successfully.

**Explanation:** A Standard workflow durably maintains execution state throughout long-running tests. Each branch explicitly tracks asynchronous completion rather than treating the start request as completion. Parallel waits for both branches to succeed before proceeding. Explicit failure and deadline paths prevent the route-update task from running when either test does not succeed.

## Practice AWS Step Functions in a full exam

Questions on AWS Step Functions in each practice exam, with every answer option and an explanation for each:

- [AIP-C01](https://blowstack.com/practice-exams/aws-certified-generative-ai-developer-professional): 72 questions
- [MLA-C02](https://blowstack.com/practice-exams/aws-certified-machine-learning-engineer-associate): 24 questions
- [DOP-C02](https://blowstack.com/practice-exams/aws-certified-devops-engineer-professional): 22 questions
- [SAP-C03](https://blowstack.com/practice-exams/aws-certified-solutions-architect-professional): 20 questions
- [DEA-C01](https://blowstack.com/practice-exams/aws-certified-data-engineer-associate): 20 questions
- [SOA-C03](https://blowstack.com/practice-exams/aws-certified-cloudops-engineer-associate): 10 questions
- [SAA-C03](https://blowstack.com/practice-exams/aws-certified-solutions-architect-associate): 10 questions
- [AIB-C01](https://blowstack.com/practice-exams/aws-certified-ai-business-strategist): 8 questions
- [DVA-C02](https://blowstack.com/practice-exams/aws-certified-developer-associate): 8 questions
- [SCS-C03](https://blowstack.com/practice-exams/aws-certified-security-specialty): 4 questions
- [ANS-C01](https://blowstack.com/practice-exams/aws-certified-advanced-networking-specialty): 3 questions
- [AIF-C01](https://blowstack.com/practice-exams/aws-certified-ai-practitioner): 1 question

## Learn AWS Step Functions in lessons

27 short lessons on AWS Step Functions in 10 certification courses.

- AIB-C01: AWS Step Functions and Amazon Bedrock: workflows versus agents (Premium), https://app.blowstack.com/lessons/aws-step-functions-and-amazon-bedrock-workflows-versus-agents-aib-c01
- MLA-C02: Amazon EventBridge and AWS Step Functions: routing versus orchestration (Premium), https://app.blowstack.com/lessons/amazon-eventbridge-and-aws-step-functions-routing-versus-orchestration-mla-c02
- SAP-C03: AWS Step Functions: task integration and completion signals (Premium), https://app.blowstack.com/lessons/aws-step-functions-task-integration-and-completion-signals-sap-c03
- AIF-C01: AWS Step Functions: workflow orchestration with state machines (Premium), https://app.blowstack.com/lessons/aws-step-functions-workflow-orchestration-with-state-machines-aif-c01
- SOA-C03: AWS Step Functions: orchestrating operational workflows (Premium), https://app.blowstack.com/lessons/aws-step-functions-orchestrating-operational-workflows-soa-c03
- AIP-C01: AWS Step Functions: data-driven state transitions (Premium), https://app.blowstack.com/lessons/aws-step-functions-data-driven-state-transitions-aip-c01
