Question 20
During a controlled generative AI workflow test, engineers observe: An appointment scheduling agent submits a reservation, receives no network response and immediately retries with a new reference, leaving the customer with duplicate bookings. What is the appropriate remediation for this scenario?
Explanation
Correct Answer
The main issue is: A failed tool response can hide a successful external action, so a retry without stable idempotency or reconciliation may repeat a business side effect. The appropriate correction is: Use an appropriate stable transaction identifier and query the provider's actual booking state before choosing whether to retry. Verify success by checking: A simulated post-commit timeout ends with exactly one confirmed reservation and a traceable result rather than two independent bookings.
Incorrect Answers
This action addresses multiagent handoff loses responsibility for final validation, whose causal condition is: Delegating tasks among agents can create ownership gaps unless the orchestrator defines output contracts, validation gates and accountable final review. The current scenario instead requires attention to: A failed tool response can hide a successful external action, so a retry without stable idempotency or reconciliation may repeat a business side effect.
This action addresses agent follows forged instruction embedded in retrieved document, whose causal condition is: Retrieved content is lower-trust task evidence and must not become a new privileged instruction merely because the agent can call calendar tools. In this question the necessary remedy is “Use an appropriate stable transaction identifier and query the provider's actual booking state before choosing whether to retry”, which this alternative does not provide.
This action addresses agent forgets completed workflow state after restart, whose causal condition is: An agent needs durable workflow checkpoint state for resumable execution; transient conversational context is not a reliable transaction log. The observed condition is an appointment scheduling agent submits a reservation, receives no network response and immediately retries with a new reference, leaving the customer with duplicate bookings; this mechanism addresses another problem.