ExamQuestions.com

Register
Login
Microsoft Azure Exam Certification (AI-102) Exam Questions

Microsoft

Microsoft Azure Exam Certification (AI-102)

61 / 166

Question 61:

Review the code snippet given below and complete it by choosing the correct base URL for the translator using the global translator resource 
<pre>curl -X POST "https://………………………………………………………………...?api-version=3.0&amp;to=es" \
 -H "Ocp-Apim-Subscription-Key:&lt;your-key&gt;" \
 -H "Content-Type: application/json" \
 -d "[{`Text`:`&lt;sample text&gt;`}]"
</pre> 

Answer options:

A.api.cognitive.microsofttranslator.com/translate
B.api-nam.cognitive.microsofttranslator.com/detect
C.api.cognitive.microsofttranslator.com/detect
D.api-nam.cognitive.microsofttranslator.com/translate