AI-102 exam dumps

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

Select 4

You are designing an AI solution using Azure Cognitive Services and need to configure diagnostic logging for monitoring purposes. Which steps should you take to enable diagnostic logging for an Azure Cognitive Services resource?

  1. A

    Navigate to the Azure Cognitive Services resource in the Azure portal and enable 'Diagnostics Settings'.

  2. B

    Create a Log Analytics workspace to store diagnostic logs.

  3. C

    Configure a storage account to archive diagnostic logs.

  4. D

    Enable Application Insights on the Azure Cognitive Services resource for diagnostic logging.

  5. E

    Select the specific log categories (e.g., RequestLogs, AuditLogs) to capture in the Diagnostic Settings.

Show answer and explanation

Correct answers: A, B, C, E

Explanation

To configure diagnostic logging for an Azure Cognitive Services resource, you need to enable 'Diagnostics Settings' for the resource, specify where the logs will be stored (e.g., Log Analytics workspace or storage account), and select which log categories to capture. Application Insights is a separate service for performance and usage monitoring and is not directly used for diagnostic logging in this scenario.

  • A. Correct.

    This is correct. Diagnostic logging must be enabled through the 'Diagnostics Settings' section of the Azure Cognitive Services resource in the Azure portal.

  • B. Correct.

    This is correct. A Log Analytics workspace is often used to store diagnostic logs for querying and analysis.

  • C. Correct.

    This is correct. A storage account can be configured to archive diagnostic logs for longer-term retention and compliance purposes.

  • D. Incorrect.

    This is incorrect. Application Insights is used for performance monitoring and telemetry but is not directly tied to diagnostic logging for Cognitive Services resources.

  • E. Correct.

    This is correct. When configuring diagnostic logging, you must select the specific log categories you wish to capture, such as RequestLogs or AuditLogs.

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