Question 200
A logistics firm uses multiple foundation models behind an API gateway. An acceptance test fails because a timeout handler retries a request after the model already completed a billable inference. Which improvement targets the root cause?
Explanation
Correct Answer
The decisive gap is that a timeout handler retries a request after the model already completed a billable inference. The team should use retry-safe request tracking and bounded attempts with cost awareness.
Incorrect Answers
Route by tested capability and language constraints addresses a request for Arabic translation is routed to a model without validated Arabic support. Selection must reflect actual task support.
The proposed step to normalize response structures and check fallback compatibility addresses situations where a backup inference route returns a different response schema during throttling. Failover must preserve the application contract.
The suggested action to record redacted request IDs usage and error categories instead of raw content focuses on the situation in which the gateway logs sensitive prompts in plaintext for troubleshooting. Observability must not create a privacy breach.