AI-102 Practice Question: Implement natural language processing solutions
A developer is building a multilingual chatbot using Azure AI Language. The bot must detect the user's language automatically and route the query to the appropriate language-specific model. Which Azure AI Language feature should the developer use?
⚠ Common exam trap
A common mix-up: candidates confuse the Translator API's built-in language detection capability with the dedicated Language Detection API, assuming the Translator API is sufficient, but the exam expects you to choose the feature whose primary purpose matches the requirement—pure language detection—rather than a multi-purpose tool.
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 API.
The Language Detection API is the correct choice because it is specifically designed to identify the language of input text automatically, returning a language code and confidence score. This enables the chatbot to route the query to the appropriate language-specific model without requiring any prior training or configuration. The other options either require explicit language specification or are designed for different tasks like translation or intent classification.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Translator API.
Why it's wrong here
Translates text but does not detect the source language.
- ✗
Conversational language understanding (CLU) with multilingual project.
Why it's wrong here
Handles multiple languages but does not detect language.
- ✓
Language detection API.
Why this is correct
Identifies the language of the input text.
- ✗
Custom text classification model.
Why it's wrong here
Used for classification, not language detection.
Go deeper
Related to this question
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 →
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.