Step Functions Flashcards

1
Q

What is Step Functions?

A

Build serverless visual workflow to orchestrate your Lambda functions

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

How is Step Functions flow represented?

A

as a JSON state machine

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

What features have Step Functions?

A

sequence, parallel, conditions, timeouts, error handling…

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

What can you implement in Step Functions moreover AWS Services?

A

Possibility to implement human approval feature

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

What represent each color in Step Functions?

A
  • Red: Failed
  • Blue: In Progress
  • Green: Success
  • Gray: Cancelled
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What happens in Step Functions when a state reports an error?

A

By default, when a state reports an error, AWS Step Functions causes the execution to fail entirely

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

How can you deal with Step Functions errors?

A
Retrying failures - Retry:
o	IntervalSeconds
o	MaxAttempts
o	BackoffRate
Moving on – Catch
o	ErrorEquals
o	Next
Best practice is to include data in the error messages
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the comparisson between Step Functions Standard and Express Workflows?

A

The express workflows are going to be much cheaper. They’re intended for a large number of workflows with small duration, whereas standard workflows are going to be much longer and with a slower execution rate

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

What is max duration in Step Functions Standard Workflows?

A

1 year

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

What is max duration in Step Functions Express Workflows?

A

5 minutes

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

What is supported execution start rate in Step Functions Standard Workflows?

A

Over 2000 per second

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

What is supported execution start rate in Step Functions Express Workflows?

A

Over 100000 per second

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