Skip to main content
CloudCertPrep
AI-900Domain 5: Describe Features of Generative AI Workloads on AzureGenerative AImediumSingle choice

Adding examples of the desired input→output format directly into the prompt to shape model responses is called what?

A.Zero-shot prompting

Zero-shot = no examples, just instructions.

B.Few-shot prompting

Examples-in-prompt = few-shot. Correct.

C.Fine-tuning

Fine-tuning modifies the model itself — much heavier than prompting.

D.Grounding

Grounding injects external data — related but the examples-format technique is few-shot.

Why this answer

Few-shot = providing a few examples in the prompt so the model infers the pattern. Zero-shot = instructions only. Fine-tuning = actually retraining on data (heavier). Grounding = connecting the model to external knowledge (RAG).

Correct answer: B · Last reviewed 2026-02-14

Practice this interactively

Answer without seeing the solution first in the Generative AI practice session.

Practice Generative AI