AI-102 exam dumps

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

Single answer

You are deploying a natural language processing (NLP) model using Azure Cognitive Services Text Analytics. To set up the service, you need to determine the default endpoint that your application will use to send API requests. What should you do to identify the default endpoint for your Text Analytics service?

  1. A

    Navigate to the Azure portal, select your Text Analytics resource, and copy the Endpoint URL from the Overview section.

  2. B

    Use the Azure CLI command az cognitive-services account show to retrieve the default endpoint.

  3. C

    Refer to the Microsoft documentation for the Text Analytics service to find the default endpoint.

  4. D

    Determine the endpoint dynamically by sending a test API call to any region and using the response to identify the correct endpoint.

Show answer and explanation

Correct answer: A

Explanation

The Azure portal is the easiest and most reliable method to determine the default endpoint for your Azure Cognitive Services resource. By navigating to the Overview section of the resource, you can directly copy the Endpoint URL, which is necessary for configuring your application to interact with the service.

  • A. Correct.

    Correct. The Azure portal provides a direct way to find the default endpoint for any Cognitive Services resource, including Text Analytics. The Endpoint URL is listed in the Overview section of the resource.

  • B. Incorrect.

    Incorrect. While the Azure CLI can retrieve details about a Cognitive Services resource, it does not directly provide the default endpoint in a straightforward way.

  • C. Incorrect.

    Incorrect. The Microsoft documentation does provide general information about endpoints, but it does not specify the default endpoint for your particular resource instance.

  • D. Incorrect.

    Incorrect. Sending a test API call to determine the endpoint is not a recommended practice and is inefficient. The endpoint must be explicitly set when configuring the service.

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