Question 251 of 500
Fundamentals of Generative AIhardMultiple SelectObjective-mapped

Quick Answer

The answer is caching key-value caches from previous decoding steps to avoid redundant computation, along with speculative decoding and model quantization, as these three techniques directly address latency reduction for generative AI deployment on Vertex AI. Caching key-value caches eliminates the need to recompute attention matrices for previously generated tokens, which is the primary bottleneck in autoregressive generation. Speculative decoding further cuts latency by using a lightweight draft model to propose multiple tokens in parallel, which the larger model then verifies in a single forward pass, drastically reducing sequential steps. On the Google Cloud Generative AI Leader exam, this question tests your understanding of production optimization trade-offs—specifically, how to balance output quality with strict latency requirements. A common trap is confusing caching with simple prompt caching, which only reduces input processing time, not the decoding loop itself. Remember the mnemonic “Cache, Draft, Quantize” to recall the three pillars of low-latency inference on Vertex AI.

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.

Which THREE of the following are key considerations when deploying a generative AI model in a production environment with strict latency requirements? (Choose three.)

Question 1hardmulti select
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

Implement speculative decoding to generate candidate tokens with a smaller draft model and verify with the large model.

Option B is correct because speculative decoding uses a smaller, faster draft model to generate candidate tokens, which are then verified by the large model in parallel. This reduces the number of sequential autoregressive steps, significantly lowering latency while maintaining output quality.

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.

  • Deploy the largest model variant available to ensure highest quality.

    Why it's wrong here

    Larger models are slower and thus violate latency requirements.

  • Implement speculative decoding to generate candidate tokens with a smaller draft model and verify with the large model.

    Why this is correct

    Speculative decoding significantly reduces time per token.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Use model quantization (e.g., int8) to reduce precision and speed up matrix multiplications.

    Why this is correct

    Quantization trade-offs accuracy for speed, suitable for latency-critical apps.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Cache the key-value caches from previous decoding steps to avoid redundant computation.

    Why this is correct

    KV caching is standard for autoregressive models.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Increase the inference batch size to maximize GPU utilization.

    Why it's wrong here

    Batch processing adds latency because the model waits for more inputs.

Common exam traps

Common exam trap: answer the scenario, not the keyword

Google Cloud often tests the distinction between latency and throughput, so the trap here is that candidates confuse batch size (which improves throughput) with latency reduction, or assume larger models always yield better performance without considering inference speed.

Detailed technical explanation

How to think about this question

Speculative decoding leverages a draft model (e.g., a smaller transformer) to propose multiple tokens in a single forward pass, which the target model then accepts or rejects based on its own probability distribution. This technique is particularly effective for latency-critical applications like real-time chatbots, where reducing the number of autoregressive steps from, say, 50 to 10 can cut response time by 80%.

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: Implement speculative decoding to generate candidate tokens with a smaller draft model and verify with the large model. — Option B is correct because speculative decoding uses a smaller, faster draft model to generate candidate tokens, which are then verified by the large model in parallel. This reduces the number of sequential autoregressive steps, significantly lowering latency while maintaining output quality.

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.