Question 371 of 500
Fundamentals of Generative AImediumMultiple ChoiceObjective-mapped

Quick Answer

The correct answer is that the top_p or temperature parameters are set too high, causing excessive randomness. This happens because high temperature (above 1.0) and high top_p (above 0.9) force the model to sample from a wider, more uniform distribution of less probable tokens, making its outputs less deterministic and more varied even for identical prompts. On the Google Cloud Generative AI Leader exam, this concept tests your understanding of how decoding parameters directly control output consistency versus creativity—a common trap is confusing high randomness with model error or data drift. When you encounter inconsistent responses from a Gemini model, always check these two knobs first before troubleshooting other factors. Memory tip: think of temperature as the “creativity dial”—crank it too high, and the model becomes a scatterbrained artist instead of a reliable assistant.

Generative AI Leader Fundamentals of Generative AI Practice Question

This Generative AI Leader practice question tests your understanding of fundamentals of generative ai. Read the scenario carefully and evaluate each option against the stated constraints before committing to an answer. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

A data scientist notices that a Gemini model generates inconsistent responses to similar prompts. What is the likely cause?

Question 1mediummultiple choice
Full question →

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

The top_p or temperature parameters are set too high causing randomness

Option D is correct because high temperature (e.g., >1.0) or high top_p (e.g., >0.9) increases the randomness of token sampling, causing the model to select less probable tokens. This directly leads to inconsistent responses for similar prompts, as the model's output distribution becomes more uniform and less deterministic.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Model is not fine-tuned enough

    Why it's wrong here

    Insufficient fine-tuning typically leads to off-topic responses, not inconsistency.

  • The prompt is too short

    Why it's wrong here

    Short prompts may cause ambiguity but not necessarily inconsistency.

  • The temperature setting is too low

    Why it's wrong here

    Low temperature makes outputs more deterministic, reducing inconsistency.

  • The top_p or temperature parameters are set too high causing randomness

    Why this is correct

    High temperature or top_p increases randomness and variability.

    Related concept

    Read the scenario before looking for a memorised answer.

Common exam traps

Common exam trap: answer the scenario, not the keyword

Google Cloud often tests the misconception that fine-tuning or prompt length is the primary cause of output inconsistency, when in fact the sampling parameters (temperature and top_p) directly control randomness and are the most common culprit.

Trap categories for this question

  • Command / output trap

    Low temperature makes outputs more deterministic, reducing inconsistency.

Detailed technical explanation

How to think about this question

Under the hood, temperature scales the logits before applying softmax: a higher temperature flattens the probability distribution, making low-probability tokens more likely to be chosen. Top_p (nucleus sampling) dynamically selects the smallest set of tokens whose cumulative probability exceeds the threshold p; a high top_p includes more low-probability tokens, further increasing variability. In real-world scenarios, for tasks requiring factual consistency (e.g., customer support), temperature is often set to 0.2–0.5 and top_p to 0.8–0.9 to balance creativity with reliability.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A cloud solutions architect for a retail company is evaluating services for a new workload. The correct answer here reflects best practice for the specific scenario described — not a general cloud recommendation. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Cloud exam questions reward reading the constraint carefully: the same technology can be right or wrong depending on the use case.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related Generative AI Leader practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free Generative AI Leader practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this Generative AI Leader question test?

Fundamentals of Generative AI — This question tests Fundamentals of Generative AI — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: The top_p or temperature parameters are set too high causing randomness — Option D is correct because high temperature (e.g., >1.0) or high top_p (e.g., >0.9) increases the randomness of token sampling, causing the model to select less probable tokens. This directly leads to inconsistent responses for similar prompts, as the model's output distribution becomes more uniform and less deterministic.

What should I do if I get this Generative AI Leader question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 30, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This Generative AI Leader practice question is part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the Generative AI Leader exam.