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
Many candidates confuse parameters that control randomness (temperature, top_p) with those that control instruction-following and style (system message), leading them to incorrectly select 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 (D) is the correct parameter to influence the tone of a generated poem because it acts as a high-level instruction that sets the behavior, persona, and style of the model. By including a directive like 'You are a cheerful poet writing about nature,' you directly control the tone without altering randomness or output length.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
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.
- ✗
max_tokens
Why it's wrong here
Max_tokens limits output length, not tone.
- ✓
system message
Why this is correct
System message guides the model's overall behavior and tone.
Go deeper
Related to this question
About these practice questions
This AI-102 question is part of Courseiva's 945-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-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.