🔥 3-day streak
Microsoft Azure AI Apps and Agents Developer Associate35 / 146
Question 35 of 146
You are building a semiautonomous Azure AI Foundry agent for an e-commerce operations team. The agent uses a custom function tool named submit_refund that calls an internal payments API to issue customer refunds. During load testing you notice that transient network timeouts occasionally cause the agent's runtime to retry the tool call, resulting in some customers being refunded twice. You must prevent duplicate refunds without disabling automatic retries. What is the most effective approach?
Reviewed for accuracy · Report an issueNext question