Consider an AWS Step Function with a state that fails and has no retry configured. What is the behavior of the workflow?
Think about what happens if no retry or catch is set for a failing state.
If a state fails and there is no retry or catch configured, the Step Function workflow stops and is marked as failed immediately.
You want to run an AWS Lambda function asynchronously within a Step Function workflow. Which state type should you use?
Consider how to invoke Lambda asynchronously in Step Functions.
Task states can invoke Lambda functions. Setting 'InvocationType' to 'Event' makes the call asynchronous.
You need to pass sensitive information (like passwords) to a Step Function execution but want to avoid exposing it in CloudWatch logs. What is the best practice?
Think about AWS services designed for secrets management and integration with Step Functions.
Using AWS Secrets Manager to store sensitive data and referencing it in Step Functions keeps secrets out of logs and input payloads.
In an AWS Step Function Task state, you set 'HeartbeatSeconds' to 30. What happens if the task does not send a heartbeat within 30 seconds?
HeartbeatSeconds is related to task health checks.
If a task does not send a heartbeat within the specified time, Step Functions considers it failed and stops the execution.
You have a Step Function workflow that processes multiple independent tasks. You want the workflow to continue even if some tasks fail, collecting success and failure results. Which design approach achieves this?
Think about how to isolate failures in parallel branches.
Using Parallel states with Catch blocks on each branch allows the workflow to handle failures locally and continue processing other branches, collecting results.