AI-900 Practice Question: Describe features of generative AI workloads on Azure
A developer wants to use Azure OpenAI to build a customer service chatbot that can answer questions about a company's return policy. They create a set of example question-answer pairs in the prompt without retraining the model. Which technique is being used?
⚠ Common exam trap
Candidates often confuse few-shot learning with fine-tuning, assuming any use of examples requires retraining, but Azure OpenAI's prompt-based examples are a distinct inference-time technique that does not modify the model.
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
Few-shot learning is the correct technique because the developer provides a small set of example question-answer pairs directly in the prompt to guide the model's responses, without retraining or updating the model's weights. This leverages the model's pre-existing knowledge to generalize from the examples, which is a hallmark of few-shot prompting in Azure OpenAI.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Fine-tuning
Why it's wrong here
Fine-tuning is a supervised training process that updates the model's underlying weights by running gradient descent on a labeled dataset. In the scenario, however, no training loop is run and no parameter updates occur; the user only adds a few examples directly into the prompt. Fine-tuning would require a separate deployment job and a curated dataset, which is not what the described approach does, so it cannot be the technique being used.
- ✓
Few-shot learning
Why this is correct
Few-shot learning is an in-context technique where a handful of illustrative examples are placed in the prompt before the user's query, allowing the frozen model to infer the desired output pattern without any weight updates. In Azure OpenAI, this is implemented entirely through prompt construction—no training API call is needed. The described approach of adding examples to the prompt to condition the model's responses exactly matches few-shot learning, making it the correct answer.
- ✗
Reinforcement learning
Why it's wrong here
Reinforcement learning requires the model to interact with an environment over many trials and receive reward or penalty signals that guide updates to its policy. In the scenario there is no reward signal, no iterative loop, and no policy optimization; the model simply generates a response conditioned on examples in a single prompt. While Azure OpenAI can use reinforcement learning with human feedback for certain alignment techniques, nothing in the question describes such a training setup, so this option is incorrect.
- ✗
Transfer learning
Why it's wrong here
Transfer learning involves taking a pre-trained model and adapting it to a new task, often via fine-tuning. Few-shot learning is a form of transfer learning, but the specific technique described is few-shot, not transfer in general.
Go deeper
Related to this question
Learn chapter
Machine Learning Core Concepts
Key term
Service
A service is a software component or system that performs a specific function and is available to be used by other programs or users over a network.
Key term
Model
In IT and AI, a model is a trained mathematical representation that learns patterns from data to make predictions or decisions.
About these practice questions
Courseiva writes every AI-900 question from scratch — 985 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
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.