Courseiva

AI-900 Practice Question: Describe features of generative AI workloads on Azure

A developer uses Azure OpenAI to generate marketing copy. They want the model to follow a very specific tone and style. They provide a few high-quality examples of desired output before the actual prompt. Which technique is the developer using?

⚠ Common exam trap

Candidates often confuse few-shot learning with fine-tuning, thinking that providing examples requires model retraining, when in fact few-shot learning is a prompt engineering technique that does not alter the model's parameters.

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

Few-shot learning

The developer is using few-shot learning, which involves providing a small number of high-quality examples (the 'shots') in the prompt to guide the model's output toward a desired tone and style. This technique leverages the model's in-context learning ability without updating its weights, making it ideal for quick adaptation to specific formatting or voice requirements.

Answer analysis

Option-by-option breakdown

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

  • Zero-shot learning

    Why it's wrong here

    Zero-shot learning means the prompt contains no examples and the model must rely entirely on its pre-trained knowledge to infer the desired output. For marketing copy, a pure zero-shot prompt would generate generic text without the specific tone, structure, or style guidance that examples provide. The developer's use case—guiding the model with a prompt—would not be zero-shot, because zero-shot lacks any in-context exemplars to condition the response.

  • Few-shot learning

    Why this is correct

    Few-shot learning (also called few-shot prompting) is a prompt engineering technique where you include a small number of example input-output pairs in the prompt to condition the model to follow a pattern. This is in-context learning: the model weights are not updated, but the examples direct the style, tone, and format of the generated marketing copy. It is the correct answer because it is an inference-time method that leverages the model's ability to mimic patterns without retraining.

  • Fine-tuning

    Why it's wrong here

    Fine-tuning is a training-time process that updates the model's weights by performing supervised learning on a custom labeled dataset, which requires generating training files and creating a new model deployment. The developer who is only writing prompts in Azure OpenAI is not retraining the model; they are simply providing examples within the prompt, so the weight update and resource footprint of fine-tuning are not involved. Thus, while fine-tuning could also adapt a model for marketing copy, it is not what the described technique does.

  • Reinforcement learning with human feedback (RLHF)

    Why it's wrong here

    Reinforcement learning with human feedback (RLHF) is a model training/alignment method where human preferences are used as a reward signal to adjust model weights via reinforcement learning. It is applied during the model development lifecycle—ideally pre-deployment—and is not a prompt-level instruction or example that a developer can inject at inference time. The developer's action of providing prompt content does not invoke RLHF, which requires a dedicated training pipeline and human evaluator feedback loops.

About these practice questions

One of 985 original AI-900 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 by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This AI-900 practice question is part of Courseiva's free Microsoft 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 AI-900 exam.