Prompt Engineering Fundamentals
Last reviewed
Correct answer: D. The maximum number of tokens the response is allowed to generate
Explanation
The principle — an answer cut off mid-sentence is usually a budget being hit, not the model losing its way.
Why the key is correct — Google describes the maximum output tokens setting as specifying the maximum number of tokens that can be generated in the response, and gives the rough conversion: a token is about four characters, and 100 tokens is roughly 60 to 80 words. That makes the ceiling easy to sanity-check against the length you actually need.
Why the others are wrong — temperature changes which words are chosen rather than how many are allowed. Prompt length does not shorten the reply one for one. And examples consume prompt space rather than the response allowance.
Remember this — estimate the words you need, convert roughly, and check the ceiling before rewriting the prompt.
Sources — Google's Prompt design strategies.
Sources
“Max output tokens: Specifies the maximum number of tokens that can be generated in the response.”
“A token is approximately four characters. 100 tokens correspond to roughly 60-80 words.”
Practise 10 questions on this topic
Take Prompt Engineering Fundamentals — Timed Test 1 (10 questions) — scored instantly, explanation for every question, no login.