Courseiva

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 lets you specify tone, format, demographic spread and explicit edge-case scenarios within the instruction, so the model generates varied synthetic examples covering the required diversity. Fine-tuning needs existing data, and templates alone cannot produce the breadth the training set demands.

  • ✗

    Fine-tune the model on a small dataset of real examples.

    Why it's wrong here

    Fine-tuning teaches the model a narrow pattern from the supplied examples, so it cannot invent the diverse edge cases the stem demands. It is the right choice when you need consistent style or domain-specific behaviour on a defined task, not when generating broad synthetic variety.

  • ✗

    Use Azure OpenAI embeddings to generate similar data points.

    Why it's wrong here

    Embeddings map text to vectors for similarity search and clustering; they do not generate new text, so they cannot produce synthetic training samples. Embeddings are correct when you need to find or group semantically similar existing data, not create diverse new records covering edge cases.

  • ✗

    Set a high temperature parameter only.

    Why it's wrong here

    Temperature only scales randomness in token sampling; it cannot guarantee coverage of specific edge cases or semantic diversity. Raising it is appropriate when you want varied phrasing for a single prompt, but the stem requires structured, deliberate coverage that temperature alone will not produce.

About these practice questions

One of 761 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 →

How Courseiva writes practice questions · Editorial policy

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.