AI-102 exam dumps

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

Select 3

You are designing an Azure AI solution and need to enable diagnostic logging for an Azure Cognitive Services resource to monitor and troubleshoot issues. Which of the following steps are required to configure diagnostic logging for the resource?

  1. A

    Enable diagnostic settings in the Azure portal for the resource.

  2. B

    Specify a storage account, Log Analytics workspace, or Event Hub for log data export.

  3. C

    Enable Application Insights for the resource.

  4. D

    Grant appropriate roles (e.g., 'Log Analytics Contributor') to access the logs.

  5. E

    Configure a virtual network for the Cognitive Services resource to ensure logging is enabled.

Show answer and explanation

Correct answers: A, B, D

Explanation

To configure diagnostic logging for an Azure Cognitive Services resource, you need to enable diagnostic settings in the Azure portal, specify a destination for the logs (such as a storage account, Log Analytics workspace, or Event Hub), and ensure that users or services have the necessary RBAC permissions to access the logs. Application Insights and virtual networks are not directly related to the diagnostic logging configuration process.

  • A. Correct.

    Correct: Diagnostic settings must be enabled in the Azure portal for the resource to collect and export logs.

  • B. Correct.

    Correct: A storage account, Log Analytics workspace, or Event Hub must be specified as the destination to store or analyze the logs.

  • C. Incorrect.

    Incorrect: Application Insights is used for application performance monitoring and is not required to configure diagnostic logging for Azure Cognitive Services.

  • D. Correct.

    Correct: Appropriate role-based access control (RBAC) permissions are needed for users or services to access and manage the logs.

  • E. Incorrect.

    Incorrect: Virtual networks are not required for enabling diagnostic logging; they are used for network-level access control.

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