Practice

Question 48

48 of 293

Question 48

Question 48
Scenario: Customer Support Resolution Agent

During testing, you find that when a customer says “I need a refund for my recent purchase,” the agent calls process _refund immediately – but populates the required order_id parameter with a plausible-looking but fabricated value instead of first calling lookup_order to retrieve the actual order ID. The refund call fails because the fabricated ID doesn’t exist. Which change directly addresses the root cause of the agent fabricating the order_id value?