Step Functions Flashcards

1
Q

Three patterns for integrating Step Functions with an AWS Service

A
  1. Request a Response (Default): Lambda, SNS
  2. Run a Job (Wait for Completion): Asynch: ECS tasks, Glue Jobs, Batch
  3. Callback: Call a Service with a Task Token. When the service is done working, it can return the Token with a “SendTaskSuccess” or “SendTaskFailure” API call.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What happens when a SF State reports an Error?

A
  1. First looks for a “retry”
  2. If none, or retry fails, look to “CATCH” array
    CATCH options include retry, log the error, send to a defined recovery state
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Must every Step Functions State have a “Next” field? Can they have more than one?

A

Yes, at least one. Those States with a “Choice” will have a “Next” option corresponding to each possible choice.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly