Step Functions Flashcards
1
Q
What are Step Functions?
What are its 6 features?
A
- Serverless workflows (Flow chart) business rules
- Graphical console
- Types (Standard, Express for streaming data)
- JSON format
- States (Pass, Task, Choice, Wait, Succeed, Fail…)
- Task State (Unit of work)
- Task Activities
- Parallel States
2
Q
In Step Functions, Which format does the Amazon States Language use?
A
JSON
3
Q
In Step Functions, What are the 2 types of state machines?
A
- Standard (1 Year, general purpose, log workloads)
- Express (5 minutes,streaming data, short workloads)
4
Q
This AWS service lets you coordinate multiple AWS services into a serverless workflow using State Machines
A
Step Functions
5
Q
In Step Functions, What are the 8 state types for a state machine?
A
- Pass
- Task (A Lambda ARN)
- Choice
- Wait
- Succeed
- Fail
- Parallel
- Map
6
Q
How does does a step function task perform work?
A
AWS Lambda
Calling API actions for other services
7
Q
Use case in Step Function
A
- We have a Step Function
- We have a S3 Bucket
- We have A PutItem rule in EventBridge with our Step function as a target and our S3 bucket as a service
- We have a Lambda
- Somebody uploads an image in S3
- We have a Data Event type Trail on CloudTrail listening to the S3 Bucket
- The state machine of that rule is XXX
8
Q
MIn 32:00
A
min 32