AI-102 exam dumps

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

Single answer

You are configuring a Cognitive Services resource in Azure to provide text analysis functionality. You need to determine the default endpoint URL for this service to include it in your application. How can you identify the default endpoint for the Cognitive Services resource in the Azure portal?

  1. A

    Navigate to the 'Keys and Endpoint' section of the Cognitive Services resource in the Azure portal.

  2. B

    Use the Azure CLI command az cognitive-services endpoint show.

  3. C

    Check the 'Overview' section of the Cognitive Services resource in the Azure portal.

  4. D

    The default endpoint is always the same for all Cognitive Services resources and does not depend on the resource region.

Show answer and explanation

Correct answer: A

Explanation

To determine the default endpoint for a Cognitive Services resource, you should navigate to the 'Keys and Endpoint' section in the Azure portal. This section contains both the access keys and the endpoint URL, which are required to configure and use the service in your application. The endpoint is specific to the resource's region and is not universally the same for all Cognitive Services resources, making it necessary to check the actual configuration for your resource.

  • A. Correct.

    This is correct. The 'Keys and Endpoint' section in the Azure portal provides the default endpoint URL along with the resource access keys.

  • B. Incorrect.

    This is incorrect. While the Azure CLI can be used to retrieve information about a Cognitive Services resource, there is no specific az cognitive-services endpoint show command to directly list the endpoint.

  • C. Incorrect.

    This is incorrect. The 'Overview' section in the Azure portal provides some basic details about the resource but does not explicitly list the endpoint URL.

  • D. Incorrect.

    This is incorrect. The default endpoint for a Cognitive Services resource is specific to the region where the resource is deployed, and it is not the same for all resources.

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