🔀 AWS Step Functions
📅 Apr 15, 2026
|
AWS — WORKFLOW ORCHESTRATION 🔀 AWS Step Functions धेरै AWS services लाई step-by-step sequence मा coordinate गरेर run गराउने Workflow Manager |
|
🔤 STEP 1 — Step Functions भनेको के हो? Foundation देखि
|
|
🇳🇵 STEP 2 — Nepal Real Example — Esewa Payment Flow (Mind मा SET गर्नुस्!) Esewa बाट Daraz मा order गर्दा background मा के-के steps हुन्छ — Step Functions ले यसै manage गर्छ:
👉 यी सबै steps Step Functions ले manage गर्छ — automatically retry, error handle, visual tracking! |
|
🗂 STEP 3 — State Types — यो 100% Exam मा आउँछ! Step Functions मा 8 वटा State Types छन् — हरेकको काम फरक छ।
|
|
⚡ STEP 4 — Standard vs Express Workflows — 100% EXAM MA AAUXA! दुईटा execution mode छन् — कुन कहिले use गर्ने थाहा हुनुपर्छ। 🇳🇵 Nepal Analogy: Standard = Nepal Rastra Bank को official process (slow, complete record) | Express = eSewa instant transfer (fast, high volume)
|
|
⚠️ STEP 5 — Common Exam Traps — यी गल्ती नगर्नुस्!
|
|
❓ MCQ Practice — Exam Style |
|
| Question | Answer |
|---|---|
| Q1. कुन service ले workflow orchestration provide गर्छ? A) Lambda B) SQS C) Step Functions D) EventBridge |
C ✔ Step Functions |
| Q2. Company needs to process 100 items in an array, same task each. Which state? A) Parallel B) Map C) Choice D) Task |
B ✔ Map state |
| Q3. Complete execution history provide गर्ने execution mode? A) Express B) Standard C) Both D) Neither |
B ✔ Standard |
| Q4. ⭐ 100,000 IoT sensor tasks per second, short duration. Which mode? A) Standard B) Express C) Lambda D) Batch |
B ✔ Express (100k/sec!) |
| Q5. ⭐ Workflow मा human approval step चाहियो। कुन service? A) Lambda B) SQS C) Step Functions callback D) EventBridge |
C ✔ Step Functions callback |
| Q6. Step Functions मा retry logic कसरी add गर्ने? A) Lambda भित्र code B) State definition मा Retry block C) SQS use D) Manual |
B ✔ Built-in Retry block |
|
⚡ FINAL EXAM CHEATSHEET — Keyword देख्यौ = 5 second मा Answer! |
||
| Keyword देख्यौ | Answer | किन? |
|---|---|---|
| Workflow / Coordinate services / Multi-step process | 🔀 Step Functions | Step-by-step coordination service |
| Visual workflow / State machine / Retry logic / Error handling | 🔀 Step Functions | Built-in features of Step Functions |
| Human approval / Callback / Wait for human | 🔀 Step Functions (Standard) | Callback pattern support गर्छ |
| ⭐ High-throughput / IoT / Streaming / 100k per second | ⚡ Step Functions EXPRESS | Express = Fast + High volume |
| ⭐ Array items process / Iterate over list | 🔄 Map State (Parallel होइन!) | यो Trap हो — Parallel vs Map confuse नगर्नुस्! |
| Single function / Short event / <15 min / Serverless | ⚡ Lambda (Step Functions होइन!) | 1 step = Lambda, Multi-step = Step Functions |