Question 140
Two independently approved requirements must be fulfilled for the agent release. Requirement A: A loan-precheck flow must return both a decision code and an explanation so the calling topic can branch without inspecting prose. Requirement B: A maintenance assistant must fetch a fault code, check service eligibility, and then log a warranty ticket in a defined order. Which TWO changes address both requirements? (Select two.)
Explanation
Correct Answers
Required for requirement B: Deterministic multi-step actions are appropriate when business sequencing and preconditions matter. Apply Build a sequential agent flow that gates the ticket action on validated eligibility and propagates the result. Verify: The eligible test creates a ticket with matched device ID while an ineligible test produces no ticket.
Required for requirement A: Structured flow outputs are safer for control flow than generated sentences. Apply Expose distinct structured output fields for status and rationale and branch on the status value. Verify: The topic follows the correct branch for approved and declined mock outputs, while showing the proper explanation.
Incorrect Answers
Reliable HTTP actions require throttling-aware retries, idempotency, and verified business completion. The two requirements instead call for these controls: (A) Expose distinct structured output fields for status and rationale and branch on the status value; (B) Build a sequential agent flow that gates the ticket action on validated eligibility and propagates the result.
Destructive operations need enforceable approval gates and documented retention decisions. The two requirements instead call for these controls: (A) Expose distinct structured output fields for status and rationale and branch on the status value; (B) Build a sequential agent flow that gates the ticket action on validated eligibility and propagates the result.
Error handling must account for indeterminate completion and idempotency. The two requirements instead call for these controls: (A) Expose distinct structured output fields for status and rationale and branch on the status value; (B) Build a sequential agent flow that gates the ticket action on validated eligibility and propagates the result.