Question 340
A deployment team experiences throughput bottlenecks during busy hours. A release check shows that the team cannot distinguish first-token delay from long completion generation. Which approach addresses that specific constraint?
Explanation
Correct Answer
Measure time-to-first-token separately from end-to-end completion duration. A slow first token points to queuing or initial processing, while a long generation after the first token points to output length or token throughput; one aggregate latency value hides that difference.
Incorrect Answers
Measure tool-call spans and set connector timeouts mitigates the response stalls on a slow downstream data source rather than the model. Upstream model changes will not fix a backend delay.
Replace trivial numeric checks with deterministic application code helps when a high-cost model is used for trivial validation that can be calculated exactly. Avoiding FM calls removes an unnecessary inference stage.
Although it may be useful to limit aggregate concurrent input/output token demand by model quota, that would address the condition that in-flight requests exceed model token quotas even though API calls per second are modest. Token quotas can bind before request-rate quotas.