Courseiva
Implement generative AI solutionseasyMultiple ChoiceObjective-mapped

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

Candidates often confuse the system message (which sets overall behavior) with the user message (which carries the specific instruction), leading them to incorrectly select system message as the parameter for specifying the target language.

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

In Azure OpenAI, the user message is where you provide the instruction or context for the model, including specifying the target language for translation. By including 'Translate the following English text to Spanish' in the user message, you direct the model to perform the language translation task. The other parameters control generation behavior (temperature, max_tokens) or set the model's persona (system message), but do not specify the target language.

Answer analysis

Option-by-option breakdown

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

  • 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.

  • 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.

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.