Exam objective

GAIL

Prompt engineering techniques

This objective sits in Techniques to improve gen AI model output, which carries 20% of the Generative AI Leader exam. The questions below are original, written from the official objective title above, and each explanation cites the Google Cloud page it rests on.

Objective title verbatim from the official objectives. Google Cloud exam page

A worked example

Shown solved, with the whole explanation open: this is what every question here carries.

Techniques to improve gen AI model output

A user asks a model to complete a task with no examples provided. Which prompting technique is this?

Zero-shotCorrect · your answerCorrect.
Role promptingRole prompting assigns a persona, unrelated to example count.
One-shotOne-shot provides exactly one example, not none.
Few-shotFew-shot provides multiple examples, not none.

Correct.

Concept

Zero-shot prompting asks the model to complete a task with no prior examples.

Why A

No examples provided defines zero-shot prompting.

Source

Zero-shot: Asking the model to complete a task with no prior examples.

Google Cloud, Generative AI Leader study guide, checked August 2026
#prompt-engineering

Now you: practice questions

No account needed. The explanation opens when you answer.

Sample question 1 of 3

Techniques to improve gen AI model output

A writer gives a model several worked examples so it learns the pattern before answering. Which technique is this?

Sample question 2 of 3

Techniques to improve gen AI model output

A team tells a model to answer as a senior legal advisor to shape tone and focus. Which technique is this?

Sample question 3 of 3

Techniques to improve gen AI model output

A team wants the model to show intermediate reasoning steps to solve a multi step problem. Which technique fits?

That’s 3 of the full Generative AI Leader bank.

Keep going free: 10 questions per certification in bank practice, with no account.

Continue practising

Read the sources

These are the official pages the questions above cite. Reading them is studying the objective from the primary source, which is what the explanations point you toward anyway.

More objectives in Techniques to improve gen AI model output