An inline agent in a workflow classifies supplier invoices. When it is not confident, a person should help, but most invoices should flow through untouched. What do you configure?
- Exam domain
- Plan and configure agent solutions50–55% of the exam
- Difficulty
- Hard
- In this mock
- 26 questions on this domainPractise this domain
Why the exam asks this
Create and configure workflows
Objective in the exam guide: Create a human-in-the-loop workflow
Too many human gates kill automation, and too few create risk.
Why D is the answer
HITL by judgment: the agent requests assistance
HITL by judgment lets the agent decide when it needs help, so people see only uncertain cases. HITL by design would stop every run at the same point.
Remember: Unpredictable uncertainty calls for HITL by judgment.
How it works
HITL by design places a gate at a point the maker names. HITL by judgment lets an inline agent request assistance when it cannot continue on its own.
Clues in the question
The words that point to the answer, and what each one tells you.
- when it is not confident
- The agent decides, so by judgment.
- most invoices should flow
- No fixed gate on every run.
In detail
- By design: the maker places a gate every run hits.
- By judgment: the agent requests help when unsure. The two can be combined.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. A scheduled weekly review of every invoiceWrong
A weekly review is too late to fix a wrong classification.
B. A human approval gate on every invoice, placed before the agentWrongMost tempting
A gate on every invoice wastes reviewers' time.
Why it tempts: A gate on everything feels safest, but it removes the value of the automation.
C. A lower model temperature and no human involvementWrong
Lower temperature does not remove uncertainty.
D. HITL by judgment: the agent requests assistanceRight
Unpredictable uncertainty calls for HITL by judgment.
Use case
An illustrative scenario, not a real incident.
Illustrative: of 400 invoices a day, the agent asks a clerk about 12 with unclear supplier names. The rest post automatically.
See it in different ways
flowchart TD
Q{"Can you name the control point in advance?"}
Q -->|"Yes"| A0["HITL by design fixed gate"]
Q -->|"No, depends on the case"| A1["HITL by judgment request assistance"]How to read this chart
- At "Can you name the control point in advance?": if "Yes", go to "HITL by design fixed gate"; if "No, depends on the case", go to "HITL by judgment request assistance".
stateDiagram-v2 state "Classify" as s0 state "Post invoice" as s1 state "Request assistance" as s2 [*] --> s0 s0 --> s1: confident s0 --> s2: not confident s2 --> s1: clerk answers s1 --> [*]
How to read this chart
- It starts at "Classify".
- From "Classify", "confident" moves it to "Post invoice".
- From "Classify", "not confident" moves it to "Request assistance".
- From "Request assistance", "clerk answers" moves it to "Post invoice".
- It ends at "Post invoice".