Courseiva
Implement natural language processing solutionseasyMultiple ChoiceObjective-mapped

AI-102 Practice Question: Implement natural language processing solutions

A company is building a chatbot that must handle user queries in multiple languages. The chatbot uses Azure AI Language Service. Which feature should be used to detect the language of incoming messages before routing them to the appropriate language model?

⚠ Common exam trap

Many exam-takers confuse Language Detection with other text analytics features like Sentiment Analysis or Entity Recognition, assuming any 'analysis' feature can identify language, but only Language Detection is purpose-built for this task.

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

Language Detection

Language Detection is the correct feature because it is specifically designed to identify the language of text input, returning a language name and a confidence score. In a multi-language chatbot, this detection step is essential to route the query to the appropriate language-specific model or handler. Azure AI Language Service provides a dedicated pre-built capability for language detection, which can be called via the REST API or SDK.

Answer analysis

Option-by-option breakdown

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

  • Sentiment Analysis

    Why it's wrong here

    Sentiment Analysis determines the sentiment of text.

  • Key Phrase Extraction

    Why it's wrong here

    Key Phrase Extraction extracts important phrases but does not detect language.

  • Language Detection

    Why this is correct

    Language Detection identifies the language of text input.

  • Entity Recognition

    Why it's wrong here

    Entity Recognition extracts predefined categories like names or dates from text, but it does not classify the language of the input. The chatbot needs language detection before routing, which requires the Language Detection API—a separate capability that analyses script and linguistic patterns. This option tempts because Entity Recognition also processes raw text, but its purpose is semantic labelling, not identifying the source language.

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 →

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.