AI-102 Implement generative AI solutions Practice Question
You need to generate realistic synthetic data using Azure OpenAI Service to train a machine learning model. The data must be diverse and cover edge cases. Which approach should you use?
⚠ Common exam trap
Many candidates assume fine-tuning or embeddings are the only ways to generate realistic data, overlooking that prompt engineering with detailed instructions is the most direct and flexible method for producing diverse synthetic data without requiring a pre-existing labeled dataset.
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
✓
Use prompt engineering with detailed instructions to generate varied examples.
Prompt engineering with detailed instructions allows you to explicitly control the diversity, structure, and edge-case coverage of generated synthetic data without requiring a pre-existing dataset. By crafting system messages and user prompts that specify variations in attributes, formats, and boundary conditions, you can produce a wide range of realistic examples that mimic real-world distributions, which is essential for training robust machine learning models.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Use prompt engineering with detailed instructions to generate varied examples.
Why this is correct
Prompt engineering effectively controls output diversity and coverage.
- ✗
Fine-tune the model on a small dataset of real examples.
Why it's wrong here
Fine-tuning on small data may limit diversity.
- ✗
Use Azure OpenAI embeddings to generate similar data points.
Why it's wrong here
Embeddings measure similarity, not generate data.
- ✗
Set a high temperature parameter only.
Why it's wrong here
High temperature increases randomness but doesn't ensure coverage of edge cases.
Go deeper
Related to this question
About these practice questions
One of 945 original AI-102 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 →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This AI-102 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-102 exam.