Prepare and test your skills
Prepare and test your skills
Free sample question, answered and explained below. The Generative AI Leader practice bank has 2,191 more like it. Try 10 free: instant score, no account.
An enterprise development team is deploying generative AI models on Google Cloud for two distinct internal use cases:
Which combination of sampling parameter adjustments should the team apply to achieve the required behavior for both applications?
This option incorrectly assumes that top-p completely overrides temperature and that the same configuration should be applied indiscriminately across distinct task types.
In standard inference pipelines, developers adjust temperature and top-p in tandem to achieve the target balance between coherence and creativity.
Max output tokens sets an upper boundary on the response length generated by the model; it does not govern probability distribution, token diversity, or randomness.
To alter creativity and randomness, developers must modify sampling parameters such as temperature, top-p, or top-k, rather than adjusting length constraints like max_output_tokens.
This configuration inverts the proper sampling settings by assigning high randomness parameters to the factual extraction pipeline and deterministic, constrained settings to the creative ideation assistant.
When configuring generative models, higher parameter values always promote randomness and diversity, whereas lower values promote consistency and predictability.
Temperature and top-p (nucleus sampling) are key generation parameters used to regulate the probability distribution and candidate selection when a large language model generates tokens:
Aligning lower sampling values with factual tasks and higher values with creative tasks is the foundational standard for probabilistic control across generative AI workloads.
Answer them yourself and get your score the moment you finish. No account needed.
Full access includes
Keep the momentum going with these hand-picked practice scenarios
Last updated