AI-102 exam dumps

AI-102 practice question 232 of 493

Designing and Implementing a Microsoft Azure AI Solution. Professional level, Microsoft. Free question with the correct answer and a full explanation.

AI-102 Question 232

Single answer

You are designing a text translation feature for a multilingual e-commerce website using Azure AI Translator. The feature should translate product descriptions from English to multiple target languages, including languages like Spanish, French, and Japanese. Additionally, the system must return the confidence score of the translation for quality assurance. Which Azure AI Translator API endpoint should you use to meet these requirements?

  1. A

    Translate endpoint with 'includeAlignment=true' in the request

  2. B

    Translate endpoint with 'includeSentenceLength=true' in the request

  3. C

    Translate endpoint with 'includeScore=true' in the request

  4. D

    Break Sentence endpoint to analyze text structure before translation

Show answer and explanation

Correct answer: C

Explanation

To meet the requirement of translating text and returning a confidence score for quality assurance, you must use the Translate endpoint with the 'includeScore=true' parameter. This parameter ensures that the API returns the confidence score for each translation, which is essential for assessing the quality of the translations.

  • A. Incorrect.

    The 'includeAlignment=true' parameter provides alignment information for words between the source and target text, but does not return the confidence score.

  • B. Incorrect.

    The 'includeSentenceLength=true' parameter is used to return the sentence lengths in the source and target text, which is unrelated to the confidence score requirement.

  • C. Correct.

    The 'includeScore=true' parameter is specifically used to include the confidence score for the translation, which meets the requirement for quality assurance.

  • D. Incorrect.

    The Break Sentence endpoint is used to segment text into sentences for translation but does not perform the translation itself or return confidence scores.

Timed practice exam

Take a AI-102 practice test under exam conditions

40 questions in 120 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam