Question 480
A chatbot passes small JSON cases but returns unfinished objects for long requests. Runtime traces show a max-token stop reason at a low configured output-token limit. Which diagnostic can confirm the mechanism and guide a safe retest?
Explanation
Correct Answer
When the response stops at max_tokens, the immediate failure is output truncation, not necessarily a schema-model bug. Inspect token usage and allowed limits before evaluating a corrected full response.
Incorrect Answers
A length-limited stop can leave required fields missing.
Timeout settings cannot extend the model's configured output token cap.
Auto-completing syntax does not validate business semantics.



AWS Certified Generative AI Developer - Professional AIP-C01 Practice Tests