Skip to course content
Free LangGraph course

LangGraph for Agentic Workflows

Module 04 Knowledge Check

5 questions. Pass mark 4 out of 5. Answer every question before checking the answer key below, then retry after reading the feedback.

1. Conditional routing should be driven by…

2. Every conditional branch needs…

3. Retrying a failed node without a limit risks…

4. A transient tool failure and a genuine validation failure should…

5. The clearest sign that routing logic belongs in code rather than a prompt is…

---

Answer Key and Explanations

Check these only after attempting every question.

1. B - Explicit, validated values in state

Routing on unvalidated prose is how workflows take silent wrong turns.

2. B - A defined default or fallback path for unexpected values

Unhandled branch values either crash or fall through silently; both are avoidable by design.

3. B - An infinite loop that burns budget and never terminates

Retries need a cap and an escalation path, not unbounded optimism.

4. B - Take different paths - retry versus escalate or stop

Retrying a genuine rejection wastes time and can repeat a harmful action; escalating a blip is noisy.

5. B - The decision has a correct answer that can be checked

If correctness is checkable, encode it - do not ask a model to re-derive it each run.

Practical Check

Apply this module to your own work: complete the module activity for *Conditional Routing and Error Paths*, then write one sentence naming what your result shows and one naming what it does not.

Strong Answer Pattern

A strong answer names the task, the evidence used, the check performed, and the remaining limitation. It avoids "proved", "guaranteed", or "always" unless the evidence genuinely supports it.