AI-900 Practice Question: Describe features of generative AI workloads on Azure
A company wants to use Azure OpenAI to generate product descriptions. They have a few example descriptions that perfectly match their desired style and structure. They want the model to produce new descriptions in the same style without retraining the underlying model. Which approach should they use?
⚠ Common exam trap
Candidates often confuse fine-tuning with few-shot prompting, assuming that any use of examples requires retraining the model, when in fact the examples can simply be placed in the prompt to achieve the same effect without modifying 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 prompting with the examples in the prompt
Few-shot prompting provides the model with a small number of example inputs and outputs directly in the prompt, allowing it to infer the desired style and structure without any training. This approach is ideal when you have a few high-quality examples and want to generate new content that matches them, without the cost and complexity of fine-tuning.
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-tune the model on the example descriptions
Why it's wrong here
Fine-tuning the model on the example descriptions would require creating a curated training dataset, running a supervised training job, and deploying a custom model individually — a costly and time-consuming process that is disproportionate for a simple style-matching task. With only a handful of examples, fine-tuning also risks overfitting and degrading the model's general language abilities. Few-shot prompting achieves the same stylistic adaptation without any of these side effects.
- ✓
Few-shot prompting with the examples in the prompt
Why this is correct
Few-shot prompting is the correct approach because it directly supplies the example descriptions inside the prompt, allowing the model to infer the style, format, and tone through in-context learning. This requires no retraining, no extra deployment, and no dataset transformation — you simply structure the prompt with a few demonstrations and the new input. It leverages the base model's existing capabilities, making it the fastest and most cost-effective way to generate matching product descriptions.
- ✗
Embeddings and similarity search
Why it's wrong here
Embeddings and similarity search are fundamentally a retrieval mechanism: they convert text into dense vector representations that let you find existing documents or snippets similar to a query. They do not generate novel text, so they cannot create new product descriptions in the desired style; at best they would return one of the original examples. While embeddings are useful for semantic search or classification, they are not a generative technique and are therefore inappropriate for this task.
- ✗
Content filtering configurations
Why it's wrong here
Content filtering configurations (such as Azure AI Content Safety) are designed to screen generated and input text for harmful categories like hate, violence, or self-harm, and they operate as a post-processing or pre-processing safety layer. They do not influence the stylistic or structural aspects of the generated output — they only block or flag content that violates policy. Therefore, while content filtering is a best practice, it cannot help match the style of the example product descriptions.
Go deeper
Related to this question
About these practice questions
This AI-900 question is part of Courseiva's 985-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam 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.