Question 310
A chat agent's tool request returns a service error, but the developer wants a friendlier experience and replaces it with "Done!". What response design is correct?
Explanation
Correct Answer
Preserve failed or uncertain status, communicate the limitation clearly and offer bounded retry, reconciliation or support handoff. Only a confirmed service result should be labeled complete.
Incorrect Answers
A retry may fail again or create a duplicate action. A client cannot claim completion until the source service confirms success or reconciles an uncertain prior attempt.
Formatting can improve user experience, but a generated reference is not issued by the external service. Hiding the failed action misleads the caller about persisted state.
A valid tool-call payload proves only that an action was requested. Completion requires the actual service response, authorization result and durable transaction record where applicable.



Microsoft Azure AI Fundamentals (AI-901) Practice Tests