AI-102 Question 234
Select 3You are developing an application that processes customer feedback submitted in multiple languages. The application must automatically translate the feedback into English for analysis and store the translations. You decide to use the Azure AI Translator service. Which steps are necessary to implement this solution correctly?
- A
Retrieve an Azure AI Translator key and endpoint from the Azure portal.
- B
Send a POST request to the Translator API with the text to be translated and specify the target language as 'en'.
- C
Store the original text locally before sending it to the Translator API.
- D
Use the Translator API's document translation feature to translate large batches of feedback into English.
- E
Enable the Sentiment Analysis feature in the Translator API to understand customer feedback sentiment.
Show answer and explanation
Correct answers: A, B, D
Explanation
To implement the solution, you first need to retrieve the Translator service's API key and endpoint from the Azure portal. Then, you can send a POST request to the Translator API, specifying the text to be translated and the target language ('en'). For large batches of feedback, the document translation feature is suitable. Note that Sentiment Analysis is a separate feature available in Azure's Text Analytics service and is not part of the Translator API.
- A. Correct.
Correct. To use the Azure AI Translator service, you must first obtain an API key and endpoint from the Azure portal.
- B. Correct.
Correct. Sending a POST request with the text to be translated and specifying the target language (e.g., 'en' for English) is a required step in using the Translator API.
- C. Incorrect.
Incorrect. Storing the original text locally is unrelated to using the Azure AI Translator API. The service itself does not require this step.
- D. Correct.
Correct. The Translator API provides a document translation feature for processing large batches of text or documents, which is relevant for translating a large number of feedback submissions at once.
- E. Incorrect.
Incorrect. Sentiment Analysis is not part of the Azure AI Translator service. To analyze sentiment, you would need to use Azure's Text Analytics API instead.