Courseiva

AI-102 Practice Question: Implement natural language processing solutions

You are building a solution that must detect the sentiment polarity (positive, negative, neutral, or mixed) of incoming customer support tickets written in English and German. You want to use a single Azure AI Language resource and avoid maintaining separate models per language. Which approach should you use?

⚠ Common exam trap

The trap here is assuming that multilingual sentiment requires separate resources or a translation step, when Azure AI Language already detects language and analyzes sentiment natively.

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

✓

Call the Sentiment Analysis feature of Azure AI Language with the language parameter set to 'auto' so the service detects the language and returns sentiment for both English and German text.

The prebuilt Sentiment Analysis capability in Azure AI Language natively supports multiple languages and can automatically detect the input language. Pointing a single resource at both English and German tickets avoids the overhead of separate resources, translation pipelines, or custom model training while still returning polarity and confidence scores.

Answer analysis

Option-by-option breakdown

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

  • ✓

    Call the Sentiment Analysis feature of Azure AI Language with the language parameter set to 'auto' so the service detects the language and returns sentiment for both English and German text.

    Why this is correct

    Azure AI Language Sentiment Analysis supports automatic language detection when the language parameter is omitted or set to 'auto'. The service identifies the language and returns sentiment labels and confidence scores for English and German without requiring separate resources or custom models.

  • ✗

    Create two separate Azure AI Language resources, one configured for English and one for German, and route tickets based on a language detection step.

    Why it's wrong here

    Creating two resources is unnecessary because a single Azure AI Language resource can process multiple languages. The service already supports multilingual input, so splitting resources adds management overhead and does not improve accuracy for this scenario.

  • ✗

    Train a custom sentiment model in Azure AI Language using labeled German and English tickets, then deploy it as a custom single-label classification project.

    Why it's wrong here

    Custom text classification is designed for user-defined categories, not for the built-in sentiment labels. Training a custom model requires labeled data and deployment effort, whereas the prebuilt Sentiment Analysis feature already returns positive, negative, neutral, and mixed labels out of the box.

  • ✗

    Use the Translator service to convert German tickets to English, then call Sentiment Analysis only on the translated English text.

    Why it's wrong here

    Translating before sentiment analysis can distort sentiment because idioms and tone may be lost in translation. Azure AI Language can analyze German sentiment directly, so the translation step introduces cost, latency, and potential accuracy loss without benefit.

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.