Question 81 of 500
Google Cloud's Generative AI OfferingshardMultiple ChoiceObjective-mapped

Quick Answer

The correct approach is to set max output tokens to a lower value and use more precise prompts. This directly reduces Gemini API token usage cost because in pay-per-token models like Gemini, the number of tokens generated per request is the primary cost driver; capping the output tokens limits the maximum charge per call, while precise prompts eliminate wasteful verbosity, ensuring the model produces only the structured, concise responses needed for compliance checks without sacrificing accuracy. On the Google Cloud Generative AI Leader exam, this question tests your understanding of cost optimization through output control versus model selection or caching—a common trap is assuming you must switch to a smaller model, which could reduce accuracy. Instead, remember that fine-tuned models maintain accuracy even with shorter outputs when prompts are well-crafted. Memory tip: “Tighten the tap, not the tank”—control the output flow, not the model size.

Generative AI Leader Google Cloud's Generative AI Offerings Practice Question

This Generative AI Leader practice question tests your understanding of google cloud's generative ai offerings. 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 financial services firm uses a fine-tuned Gemini model in Vertex AI for regulatory compliance checks. They notice that token usage is high, increasing costs. They want to reduce costs without sacrificing accuracy. Which approach should they take?

Question 1hardmultiple 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

Set max output tokens to a lower value and use more precise prompts

Option C is correct because reducing max output tokens directly lowers the number of tokens generated per request, which is the primary cost driver in pay-per-token models like Gemini. Using more precise prompts further reduces token waste by guiding the model to produce concise, relevant outputs without sacrificing accuracy, as compliance checks often require specific, structured responses rather than verbose explanations.

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.

  • Switch to a smaller base model like PaLM 2 Bison

    Why it's wrong here

    May reduce accuracy for compliance tasks.

  • Enable context caching to reuse previous responses

    Why it's wrong here

    Caching saves on repeated prompts but doesn't reduce per-request token usage.

  • Set max output tokens to a lower value and use more precise prompts

    Why this is correct

    Directly reduces output tokens; precise prompts maintain accuracy.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Reduce temperature to 0.0

    Why it's wrong here

    Affects randomness, not token count.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates often confuse cost-reduction strategies that affect model behavior (like temperature or model size) with those that directly reduce token count, leading them to pick options that change output quality rather than token usage.

Detailed technical explanation

How to think about this question

Under the hood, Vertex AI's Gemini models charge per input and output token, so reducing max output tokens (e.g., from 1024 to 128) directly cuts costs for each API call. More precise prompts leverage techniques like few-shot examples with exact output formats (e.g., JSON schema) to minimize extraneous tokens, while still maintaining high accuracy for structured compliance tasks like flagging regulatory violations. In practice, a financial firm might use a prompt like 'List only the non-compliant clauses in this contract as a JSON array' to achieve both cost savings and accuracy.

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 startup's cloud architect reviews their monthly bill and notices costs are higher than expected for a long-running batch job. Switching from on-demand instances to Reserved Instances — or using Spot/Preemptible VMs — can reduce compute costs by up to 72 %. Questions like this test whether you understand the tradeoffs between commitment, flexibility, and cost across cloud pricing models.

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?

Google Cloud's Generative AI Offerings — This question tests Google Cloud's Generative AI Offerings — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Set max output tokens to a lower value and use more precise prompts — Option C is correct because reducing max output tokens directly lowers the number of tokens generated per request, which is the primary cost driver in pay-per-token models like Gemini. Using more precise prompts further reduces token waste by guiding the model to produce concise, relevant outputs without sacrificing accuracy, as compliance checks often require specific, structured responses rather than verbose explanations.

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 25, 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.