HOTSPOT - You are developing an application that includes language translation. The application will translate text retrieved by using a function named get_text...


Microsoft AI-102 Exam

Questions Number: 132 out of 241 Questions
54.77%

Question 132
HOTSPOT -
You are developing an application that includes language translation.
The application will translate text retrieved by using a function named get_text_to_be_translated. The text can be in one of many languages. The content of the text must remain within the Americas Azure geography.
You need to develop code to translate the text to a single language.
How should you complete the code? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
AI-102_132Q.png related to the Microsoft AI-102 Exam



Box 1: ("api-nam.cognitive.microsofttranslator.com")
Geography USA: api-nam.cognitive.microsofttranslator.com
Datacenters: East US, South Central US, West Central US, and West US 2
Box 2: "/translate?to=en"
Must specify the language which it is being translated to. The 'to' parameter is required
Reference:
https://docs.microsoft.com/en-us/azure/cognitive-services/translator/reference/v3-0-reference
https://docs.microsoft.com/en-us/azure/cognitive-services/translator/reference/v3-0-translate





Previous Questions Next Questions



Premium Version