AI-102 Question 253
Single answerYou are designing an Azure AI solution to translate user-provided text into multiple languages simultaneously. The solution must handle dynamic language requirements, ensure scalability, and integrate seamlessly with other Azure services. Which Azure service and configuration should you use to meet these requirements?
- A
Use Azure Translator Text API with a single API call specifying multiple target languages.
- B
Use Azure Cognitive Search with a custom index for each target language.
- C
Use Azure Speech Service to transcribe the text and specify multiple target languages.
- D
Use Azure Machine Learning to train a custom model for each target language.
Show answer and explanation
Correct answer: A
Explanation
The Azure Translator Text API is the optimal solution for translating text into multiple languages simultaneously. It is a managed service specifically designed for language translation and supports specifying multiple target languages in a single API call. This ensures scalability, ease of integration with other Azure services, and avoids the need for custom-trained models, making it both time- and cost-efficient.
- A. Correct.
Correct. Azure Translator Text API supports translation into multiple languages in a single API call by specifying multiple target languages, making it an efficient choice for real-time and scalable translation solutions.
- B. Incorrect.
Incorrect. Azure Cognitive Search is designed for indexing and searching content, not for real-time translation into multiple languages.
- C. Incorrect.
Incorrect. Azure Speech Service is primarily used for speech-to-text and text-to-speech functionalities. While it can transcribe audio, it does not natively support simultaneous translation into multiple languages.
- D. Incorrect.
Incorrect. While Azure Machine Learning can be used to train custom translation models, this approach is unnecessary for common translation tasks as Azure Translator provides pre-trained models that are scalable and efficient.