Courseiva

AI-102 Practice Question: Implement natural language processing solutions

You are developing a solution that uses Azure AI Language to perform sentiment analysis on multilingual product reviews. The reviews are in English, German, and Japanese. You need to ensure that the sentiment score is accurate for each language. What should you do?

⚠ Common exam trap

The trap here is thinking that translating to English or forcing a single language is needed for multilingual sentiment, when Azure AI Language natively supports multiple languages with explicit language codes.

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

✓

Specify the correct language code for each review in the request, such as 'en', 'de', or 'ja'.

Azure AI Language sentiment analysis supports multiple languages, and specifying the correct language code for each review ensures the model uses the appropriate linguistic rules. This yields the most accurate sentiment scores. Auto-detection or forcing a single language can lead to misinterpretation, while translation adds unnecessary complexity and potential loss of sentiment nuance.

Answer analysis

Option-by-option breakdown

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

  • ✓

    Specify the correct language code for each review in the request, such as 'en', 'de', or 'ja'.

    Why this is correct

    Azure AI Language sentiment analysis supports multiple languages, and providing the correct language code ensures the appropriate model is used. This yields the most accurate sentiment scores. Since the languages are known, explicitly setting the code avoids detection errors and improves reliability for English, German, and Japanese reviews.

  • ✗

    Translate all reviews to English using Azure AI Translator, then perform sentiment analysis with language set to 'en'.

    Why it's wrong here

    Translating first adds latency and cost, and translation can lose nuance, affecting sentiment accuracy. Azure AI Language natively supports sentiment analysis in German and Japanese, so translation is unnecessary. This approach introduces an extra service and potential errors, making it less efficient and less accurate than direct analysis.

  • ✗

    Set the language parameter to 'en' for all requests to force English sentiment analysis.

    Why it's wrong here

    Forcing English on non-English text will produce inaccurate sentiment because the model will misinterpret words. Azure AI Language sentiment analysis supports multiple languages, and specifying the correct language improves accuracy. Using a single language code for all reviews defeats the purpose of multilingual support and yields poor results.

  • ✗

    Omit the language parameter and let the service auto-detect the language for each review.

    Why it's wrong here

    While auto-detection can work, it may misidentify short or ambiguous texts, leading to incorrect sentiment. For known languages, explicitly setting the language code is more reliable. The scenario states the reviews are in specific languages, so relying on auto-detection introduces unnecessary risk of misclassification and lower accuracy.

About these practice questions

This AI-102 question is part of Courseiva's 761-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 →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official Microsoft exam blueprint

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.