Courseiva
easyMultiple Choice

Generative AI Leader Practice Question: A marketing team wants to generate consistent…

A marketing team wants to generate consistent brand-aligned social media posts using Vertex AI Studio. Which prompt engineering technique should they use to ensure the output tone matches their brand voice?

⚠ Common exam trap

The trap is choosing zero-shot with a detailed description or temperature tuning, but the exam expects recognition that few-shot examples are the most reliable way to enforce a specific style like brand voice.

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 a few-shot prompt with examples of previous brand-aligned posts

Providing a few-shot prompt with examples of previous brand-aligned posts (B) is the most effective technique because it shows the model concrete patterns of tone, style, and vocabulary, allowing it to generalize and produce consistent output. Few-shot prompting is ideal when the desired style is nuanced and hard to describe abstractly. This directly ensures the generated posts match the brand voice.

Answer analysis

Option-by-option breakdown

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

  • ✗

    Set the temperature to 0 and use a long system instruction

    Why it's wrong here

    Setting temperature to 0 maximises determinism, not brand-voice alignment; a long system instruction alone still leaves tone unanchored to concrete examples. Few-shot prompting with brand-voice exemplars is the technique that fixes tone. Temperature tuning suits reproducibility tasks such as classification or structured extraction, where identical outputs matter more than stylistic match.

  • ✓

    Provide a few-shot prompt with examples of previous brand-aligned posts

    Why this is correct

    Few-shot prompting supplies concrete examples of prior brand-aligned posts, letting the model infer tone, vocabulary and formatting patterns from them. This conditions output style far more reliably than zero-shot instructions, ensuring generated posts match the established brand voice.

  • ✗

    Use a zero-shot prompt describing the brand voice

    Why it's wrong here

    Zero-shot prompting supplies no examples, so the model infers tone from the description alone, producing variable brand voice across posts. It suits quick, one-off generations where tone consistency is irrelevant. Few-shot prompting, by contrast, embeds labelled exemplars that anchor style, which is what consistent brand-aligned output requires.

  • ✗

    Use chain-of-thought prompting to explain the reasoning behind each post

    Why it's wrong here

    Chain-of-thought prompting elicits step-by-step reasoning, so it shapes the model's deliberation rather than the surface style of the finished post; brand voice is controlled through style, tone and persona instructions, or few-shot examples demonstrating that voice. It is genuinely useful for multi-step arithmetic, logic or planning tasks where intermediate reasoning improves accuracy.

About these practice questions

One of 1,008 original Generative AI Leader practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

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.