AI-102 Question 339
Select 2You are designing a multi-language question answering solution using Azure Cognitive Services. Your solution must support English, Spanish, and French, and should dynamically detect the language of the input query without requiring the user to specify it. Which combination of Azure resources or features should you use to achieve this?
- A
Azure Language Studio to create a custom language detection model
- B
Azure Translator to detect the language of the input query
- C
Azure Cognitive Search with language analyzers for English, Spanish, and French
- D
Azure Language Understanding (LUIS) to process queries in different languages
- E
Azure QnA Maker with a knowledge base containing multi-language content
- F
Azure Form Recognizer to extract structured information from documents
Show answer and explanation
Correct answers: B, E
Explanation
To create a multi-language question answering solution, you need to dynamically detect the language of the input query and then retrieve the corresponding answer. Azure Translator is ideal for detecting the language of the query, while Azure QnA Maker can manage and query a knowledge base that supports multiple languages. These two services together fulfill the requirements for this solution.
- A. Incorrect.
Azure Language Studio is primarily used for creating custom text classification or named entity recognition models, not for language detection.
- B. Correct.
Azure Translator provides built-in language detection capabilities, making it suitable for identifying the language of the input query dynamically.
- C. Incorrect.
Azure Cognitive Search can process text in multiple languages using language analyzers, but it does not provide language detection capabilities.
- D. Incorrect.
Azure Language Understanding (LUIS) can process queries in multiple languages, but it requires the language to be specified in advance and does not offer automatic language detection.
- E. Correct.
Azure QnA Maker can handle multi-language content if the knowledge base is prepared accordingly, and it works well in conjunction with language detection tools like Azure Translator.
- F. Incorrect.
Azure Form Recognizer is designed for extracting information from structured or semi-structured documents, not for language detection or question answering.