AI-102 exam dumps

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

Single answer

You are designing an Azure AI solution that involves multiple Azure Cognitive Services. To monitor performance and troubleshoot issues, you need to configure diagnostic logging to capture detailed logs for the services. Which step is essential to enable diagnostic logging for Azure Cognitive Services?

  1. A

    Enable 'Application Insights' for the Azure Cognitive Services resource.

  2. B

    Create a Log Analytics Workspace and link it to the Azure Cognitive Services resource.

  3. C

    Enable 'Diagnostic settings' for the Azure Cognitive Services resource and configure a sink such as Log Analytics.

  4. D

    Enable 'Activity log alerts' for the Azure Cognitive Services resource.

Show answer and explanation

Correct answer: C

Explanation

To capture diagnostic logs for Azure Cognitive Services, you must enable 'Diagnostic settings' on the resource and configure it to send logs to a sink such as Log Analytics, Event Hub, or a Storage Account. This allows you to monitor and troubleshoot the performance and operations of the Cognitive Services effectively.

  • A. Incorrect.

    Application Insights is used for monitoring custom applications or other Azure resources but is not directly used to enable diagnostic logging for Azure Cognitive Services.

  • B. Incorrect.

    While a Log Analytics Workspace can store logs, it does not enable diagnostic logging directly. Diagnostic logging must be configured separately.

  • C. Correct.

    Enabling 'Diagnostic settings' and configuring a sink (e.g., Log Analytics, Event Hub, or Storage Account) is the correct step to capture diagnostic logs for Azure Cognitive Services.

  • D. Incorrect.

    Activity log alerts track specific actions at the subscription level (e.g., resource deletions) but are not used for enabling diagnostic logging for Azure Cognitive Services.

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