Courseiva
Implement generative AI solutionsmediumMultiple ChoiceObjective-mapped

AI-102 Implement generative AI solutions Practice Question

You need to generate a poem using Azure OpenAI. The poem should be about nature and have a cheerful tone. Which parameter should you adjust to influence the tone?

⚠ Common exam trap

Microsoft often tests the distinction between parameters that control randomness (temperature, top_p) versus those that control behavior and style (system message), leading candidates to mistakenly choose temperature as the primary tone influencer.

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

system message

The system message is the correct parameter to influence the tone of the generated poem because it sets the initial context, persona, and behavioral guidelines for the model. By including an instruction like 'You are a cheerful poet who writes about nature in a happy tone,' you directly control the style and emotional quality of the output, which is exactly what the question requires.

Answer analysis

Option-by-option breakdown

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

  • system message

    Why this is correct

    System message guides the model's overall behavior and tone.

  • max_tokens

    Why it's wrong here

    Max_tokens limits output length, not tone.

  • top_p

    Why it's wrong here

    Top_p controls nucleus sampling, not tone.

  • temperature

    Why it's wrong here

    Temperature affects randomness, not tone.

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 →

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.