AI-102 Practice Question: Implement natural language processing solutions
You are building a solution that must translate customer chat messages from Spanish to English in real-time. The solution must also detect the language of incoming messages to handle cases where users write in other languages. Which TWO Azure AI service features should you use?
⚠ Common exam trap
Microsoft Azure exams often test the distinction between text-based and speech-based services, so the trap here is assuming that Speech Translation (Option C) is appropriate for text chat, when it is actually designed for audio input and would require unnecessary speech-to-text conversion.
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
✓
Azure AI Translator - Language Detection
Azure AI Translator's Language Detection feature (option A) is correct because it identifies the language of incoming chat text, which is exactly what is needed to handle messages written in languages other than Spanish. Azure AI Translator's Translation feature (option B) is correct because it performs the actual text-to-text translation from Spanish to English in real time. Together, these two features satisfy both requirements: detecting the source language and translating the chat messages. Option C (Azure AI Speech - Speech Translation) is not appropriate because the scenario involves chat text, not spoken audio. Option D (LUIS) is a natural language understanding service for intent and entity extraction, not translation or language identification. Option E (Custom Question Answering) builds FAQ-style knowledge bases and does not provide translation or language detection.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Azure AI Translator - Language Detection
Why this is correct
Language Detection identifies the language of each incoming chat message, satisfying the requirement to handle users writing in languages other than Spanish before translation is applied. It returns the detected language code and confidence score, enabling conditional routing.
- ✓
Azure AI Translator - Translation
Why this is correct
Azure AI Translator's translation operation converts Spanish chat text into English in real time, satisfying the low-latency requirement. Paired with language detection, it handles messages written in other languages, since detection identifies the source language before translation. This directly meets the stem's dual need for live Spanish-to-English rendering plus automatic identification of unexpected input languages.
- ✗
Azure AI Speech - Speech Translation
Why it's wrong here
Speech Translation handles spoken audio, converting speech to translated text; the scenario involves chat messages, which are text, so no speech processing applies. It is tempting because it combines translation with language handling, and it would be correct for real-time translation of voice calls or spoken conversations rather than typed chat.
- ✗
Azure AI Language Understanding (LUIS)
Why it's wrong here
LUIS performs intent recognition and entity extraction on utterances; it neither translates text nor detects language. It is tempting because LUIS processes natural-language chat input, which is the correct tool when you need to classify user intent or extract entities from messages, not when you need translation and language identification.
- ✗
Azure AI Custom Question Answering
Why it's wrong here
Custom Question Answering builds knowledge-base responses by matching questions to answer pairs; it does not translate text or detect language. It is tempting because it operates on natural-language questions in a conversational context, and it would be the right choice for a FAQ or support bot that returns curated answers rather than translating messages.
Go deeper
Related to this question
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 →
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.