AI-102 Implement generative AI solutions Practice Question
You need to translate a document from English to Spanish using Azure OpenAI. Which parameter should you include in the prompt to specify the target language?
⚠ Common exam trap
Many candidates confuse the system message (which sets the assistant's role) with the user message (which provides the specific task), leading them to incorrectly choose system message for language specification.
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
✓
user message
To specify the target language in an Azure OpenAI translation prompt, you include the instruction within the user message (e.g., 'Translate the following English text to Spanish: ...'). The user message is the primary input where the model receives the task and context, making it the correct parameter for language specification.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
max_tokens
Why it's wrong here
max_tokens does not specify language.
- ✓
user message
Why this is correct
User message should contain the translation instruction.
- ✗
temperature
Why it's wrong here
Temperature does not specify language.
- ✗
system message
Why it's wrong here
System message can set behavior but user message should specify language.
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.