AI-300 Generative AI Optimization Practice Question
Which THREE parameters directly affect the output structure or style of an LLM response?
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
✓
temperature
Presence penalty, frequency penalty, and temperature control the style and token choice of output.
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_k
Why it's wrong here
Azure OpenAI uses top_p, not top_k.
- ✗
max_tokens
Why it's wrong here
Controls length, not style.
- ✓
temperature
Why this is correct
Controls the randomness/creativity of the output.
- ✓
frequency_penalty
Why this is correct
Controls the tendency to repeat content.
- ✓
presence_penalty
Why this is correct
Controls the tendency to switch topics.
About these practice questions
This AI-300 question is part of Courseiva's 204-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 and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed August 2026 · checked against the official Microsoft exam blueprint
This AI-300 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-300 exam.