AI-102 Question 45
Single answerYou are designing an AI solution in Azure using the Computer Vision service. You have created an instance of the service in the Azure portal and want to determine its default endpoint to configure your client application. Which of the following steps should you take to locate the default endpoint?
- A
Navigate to the resource in the Azure portal and check the 'Keys and Endpoint' section.
- B
Use the Azure CLI command
az resource listand parse the output for the endpoint value. - C
Check the Azure Activity Log to find recent calls to the Computer Vision service.
- D
Access the Azure Monitor logs to query and retrieve the endpoint information.
Show answer and explanation
Correct answer: A
Explanation
The default endpoint for Azure services such as Computer Vision can be found in the 'Keys and Endpoint' section within the Azure portal. This section provides critical information such as endpoint URLs and keys, which are essential for client application configuration. The other options either do not provide this information or are not intended for retrieving service endpoint details.
- A. Correct.
Correct. The 'Keys and Endpoint' section in the Azure portal provides the default endpoint and API keys for the service instance.
- B. Incorrect.
Incorrect. While
az resource listcan provide metadata about resources, it does not specifically display the default endpoint for a service like Computer Vision. - C. Incorrect.
Incorrect. The Azure Activity Log tracks actions performed on resources but does not include the default endpoint details.
- D. Incorrect.
Incorrect. Azure Monitor logs are primarily used for performance and diagnostic insights, not for retrieving endpoint information.