Question 250
The Claude application case reports: A downstream integration trusts a model-provided ISO date that fails validation. Which TWO options form a suitable correction and a separate proof of effectiveness? (Select TWO.)
Explanation
Correct Answers
This corrective action targets A downstream integration trusts a model-provided ISO date that fails validation by applying: Use supported structured output controls and validate responses against the application's schema with explicit error paths. It addresses: Assuming arbitrary model prose is always machine-readable can corrupt downstream records or bypass validation.
This evidence independently verifies the intervention for A downstream integration trusts a model-provided ISO date that fails validation: A fixture validates required fields and types while rejecting malformed or unexpected values before database writes.
Incorrect Answers
User-facing latency streaming and fallbacks: A fast model alone does not guarantee a responsive application when tool calls or retrieval silently block progress. That mechanism alone cannot establish Structured output and schema contracts for this question.
Retrieval-grounded response design: Ungrounded retrieval or missing access filters lets stale or confidential source text contaminate answers. That may be useful independently, but the missing requirement here is Structured output and schema contracts.
Session management and server-side conversation state: An application that shares thread state or loses prior user decisions can disclose private data or repeat an action. The observed issue still requires Structured output and schema contracts; the proposed alternative tests another control.