Which reasoning pattern has the model alternate between a thought, an action such as a tool call, and an observation of the result?
- Exam domain
- Agentic AI17% of the exam
- Difficulty
- Medium
- In this mock
- 9 questions on this domainPractise this domain
Why the exam asks this
Objective in the exam guide: Reasoning patterns such as ReAct, reflection, and planner-executor.
Reasoning patterns shape how agents act.
Why D is the answer
ReAct
ReAct interleaves reasoning and acting: the model writes a thought, takes an action, reads the observation and continues. Reflection reviews and revises output; planner-executor plans first, then runs steps.
Remember: ReAct alternates reasoning and tool actions.
How it works
ReAct, reflection and planner-executor are common agent reasoning patterns.
In detail
- ReAct: thought, action, observation.
- Reflection critiques; planner-executor plans first.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Beam searchWrong
Beam search is a decoding method.
B. Few-shot promptingWrong
Few-shot gives examples, not an action loop.
C. Planner-executor with a fixed planWrongMost tempting
A fixed plan does not observe after each step.
Why it tempts: Planner-executor also plans and acts, but not step-by-step observation.
D. ReActRight
ReAct alternates reasoning and tool actions.
Use case
An illustrative scenario, not a real incident.
Illustrative: the agent thinks "I need the order date", calls the order tool, reads the date and continues.
See it in different ways
flowchart LR S0["Read goal"] --> S1["Plan"] --> S2["Call a tool"] --> S3["Observe result"] --> S4["Decide next step"] --> S5["Answer"]
How to read this chart
- Read it in order: Read goal, then Plan, then Call a tool, then Observe result, then Decide next step, then Answer.
mindmap
root(("Patterns"))
n1["ReAct"]
n2["Thought, action, observation"]
n3["Reflection"]
n4["Critique and revise"]
n5["Planner-executor"]
n6["Plan, then execute steps"]How to read this chart
- The centre is "Patterns".
- "ReAct" covers "Thought, action, observation".
- "Reflection" covers "Critique and revise".
- "Planner-executor" covers "Plan, then execute steps".