AI-102 exam dumps

AI-102 practice question 230 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 230

Select 3

You are working on a multilingual e-commerce platform that requires translating product descriptions from English to multiple languages, including French and Spanish. You decide to use the Azure AI Translator service for this purpose. Which of the following steps are required to implement this translation service in your solution?

  1. A

    Obtain an API key and endpoint for the Azure Translator service from the Azure portal.

  2. B

    Ensure the text to be translated is pre-processed by converting it into base64 encoding.

  3. C

    Send a POST request to the Translator service endpoint with the appropriate language codes and text to be translated in the request body.

  4. D

    Configure the Translator service to automatically detect the source language if it is not explicitly provided in the request.

  5. E

    Deploy the Translator service on a virtual machine within your Azure environment.

Show answer and explanation

Correct answers: A, C, D

Explanation

To implement the Azure Translator service, you need to obtain the API key and endpoint from the Azure portal, use the REST API to send requests with the necessary language codes and text, and optionally rely on its automatic language detection feature. Pre-processing such as base64 encoding is not required, and the service does not need to be deployed on a virtual machine as it is fully managed by Azure.

  • A. Correct.

    Correct. You need an API key and the endpoint URL for authentication and to interact with the Azure Translator service.

  • B. Incorrect.

    Incorrect. The text does not need to be base64 encoded, as the Azure Translator service accepts plain text or JSON payloads directly.

  • C. Correct.

    Correct. The Azure Translator service operates via REST API, so you need to send a POST request with the language codes and text in the request body.

  • D. Correct.

    Correct. The Azure Translator service can automatically detect the source language if you do not specify it, which is useful for multilingual input.

  • E. Incorrect.

    Incorrect. The Azure Translator service is a fully managed service and does not require deployment on a virtual machine.

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