GCP Generative AI Leader Practice Question 37: Persona System Instructions
Google Cloud Generative AI Leader · Test 4 · question 7 of 10
A prompt engineer wants Gemini to consistently answer customer questions in the voice of a patient, plain-language support technician, rather than a terse, generic assistant, across every conversation. Which prompting technique fits this goal?
Show answer and explanation
Answer:
Role prompting assigns the model a persona or role, typically in the system instructions, which shapes tone, vocabulary, and behavior consistently across every turn instead of only in one message. Telling the model to act as a patient, plain-language support technician is exactly this technique, and it is why the tone stays consistent across conversations.
Option B, few-shot prompting, shapes output by showing example input-output pairs; it can hint at a tone, but it does not name a persona and is less direct for enforcing one consistently. Option C, chain-of-thought prompting, is aimed at improving reasoning on complex problems, not at setting a conversational identity. Option D, zero-shot prompting, is the absence of persona or examples entirely, the opposite of what is needed here.
Reference: Prompt design strategies