Generative AI Leader Fundamentals of Generative AI Practice Question
A developer is using Vertex AI's text generation model to create product descriptions. They want to ensure the output adheres to a specific brand voice and style. Which approach is most effective without retraining the model?
⚠ Common exam trap
The trap here is assuming that parameter tweaks like temperature or top-k can enforce a specific brand voice without examples.
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
✓
Use few-shot prompting with examples of brand-consistent descriptions.
Few-shot prompting is a powerful, no-retraining method to steer a model's style by providing examples. It allows the model to infer the desired tone and structure from the prompt. Other options either require retraining or adjust parameters that affect randomness, not style adherence.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Fine-tune the model on a dataset of brand-approved descriptions.
Why it's wrong here
Fine-tuning would require retraining the model, which is time-consuming and costly. While it can be effective, the question specifies without retraining. Fine-tuning also requires a substantial dataset and may not be necessary when prompting can achieve similar results for style adaptation.
- ✗
Increase the top-k parameter to allow more diverse word choices.
Why it's wrong here
Increasing top-k expands the pool of candidate words, leading to more randomness and potentially inconsistent style. It does not specifically guide the model toward a brand voice. This parameter controls diversity, not adherence to a particular style, and could make outputs less brand-consistent.
- ✓
Use few-shot prompting with examples of brand-consistent descriptions.
Why this is correct
Few-shot prompting provides the model with examples of the desired brand voice, allowing it to mimic the style in new outputs. This is effective without retraining and can be quickly iterated. It leverages the model's in-context learning ability to adapt to specific tones and formats, making it ideal for brand consistency.
- ✗
Set the temperature to a high value to encourage creativity.
Why it's wrong here
High temperature increases randomness and creativity, which can deviate from a strict brand voice. It does not help the model follow a specific style; instead, it may produce outputs that are too varied. For brand consistency, lower temperatures or few-shot prompting are more effective.
Go deeper
Related to this question
About these practice questions
Courseiva writes every Generative AI Leader question from scratch — 1,008 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official Google Cloud exam blueprint
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.