Courseiva

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

A marketing team wants to use Vertex AI to generate ad copy. They need the model to follow a specific tone and style. What is the best approach?

⚠ Common exam trap

The Google Gen AI Leader exam often tests the distinction between grounding (factual retrieval) and style control (prompt engineering), leading candidates to mistakenly choose grounding for stylistic tasks when it is only for factual accuracy.

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

✓

Provide few-shot examples in the prompt and adjust temperature

Few-shot prompting with adjusted temperature is the best approach because it directly controls the model's output style and tone without requiring additional infrastructure or training. By providing a few examples of desired ad copy in the prompt, the model learns the specific tone and style through in-context learning, while temperature tuning (e.g., 0.2 for deterministic output) ensures consistency. This is the most efficient and cost-effective method for immediate, controllable generation.

Answer analysis

Option-by-option breakdown

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

  • ✗

    Use Vertex AI Grounding to retrieve style guides

    Why it's wrong here

    Grounding retrieves factual context from sources such as Vertex AI Search to reduce hallucination; it does not shape tone or writing style. It tempts because retrieving a style guide sounds relevant, and grounding would be correct when the model needs current product facts or company-specific reference material.

  • ✓

    Provide few-shot examples in the prompt and adjust temperature

    Why this is correct

    Few-shot examples embed the desired tone and style directly in the prompt, conditioning the model on concrete patterns rather than abstract instructions. Adjusting temperature controls output variability, keeping ad copy consistent with the brand voice. Together they satisfy the requirement to follow a specific tone and style.

  • ✗

    Fine-tune the model on a dataset of past ad copy

    Why it's wrong here

    Fine-tuning teaches style through many labelled examples and needs a curated dataset plus training cost, whereas the requirement is a specific tone that system instructions and few-shot examples already deliver. It tempts because fine-tuning genuinely suits large-scale stylistic adaptation, but it is disproportionate here.

  • ✗

    Enable safety filters to enforce brand guidelines

    Why it's wrong here

    Safety filters block harmful categories such as hate speech, harassment and dangerous content; they cannot enforce brand tone or style. It tempts because both are model-level settings, and safety filters would be the right control when output must avoid toxic or policy-violating material rather than match a voice.

About these practice questions

This Generative AI Leader question is part of Courseiva's 1,008-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

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.