Skip to main content
CloudCertPrep
AIF-C01Domain 2: Fundamentals of Generative AIGenerative AI ConceptsmediumSingle choice

A content team complains that their generative-AI writing assistant produces nearly identical drafts every run. Which inference parameter should they raise to get more varied, creative output?

A.Max tokens

Max tokens limits output length, not variety.

B.Temperature

Correct. Higher temperature = more random, varied generations.

C.Context window size

Context window limits how much input the model can consider.

D.Top-k vocabulary

Top-k restricts candidate tokens — it's about constraint, not diversity directly.

Why this answer

Temperature controls randomness in token sampling: low values make output deterministic and repetitive; higher values increase diversity and creativity at some cost of coherence.

Correct answer: B · Last reviewed 2026-10-26

Practice this interactively

Answer without seeing the solution first in the Generative AI Concepts practice session.

Practice Generative AI Concepts