Learn the essential prerequisites for enabling diagnostic settings for Azure AI Services. Discover how to configure log analytics and ensure seamless monitoring of your AI resources.
Table of Contents
Question
You are a data engineer at Nutex Corporation, a healthcare organization that utilizes Azure Cognitive Services for natural language processing (NLP) tasks. They have recently deployed an instance of the Azure Text Analytics service to analyze patient feedback from online forums. You plan to enable diagnostic settings for an Azure AI service.
Which of the following is a prerequisite for enabling diagnostic settings for an Azure AI service?
A. Set up Azure DevOps for continuous integration.
B. Configure log analytics for storing diagnostic data.
C. Enable Azure multi-factor authentication (MFA).
D. Install Azure AI SDK on the local machine.
Answer
B. Configure log analytics for storing diagnostic data.
Explanation
You would need to configure log analytics before enabling diagnostic settings for an Azure AI service. You must have some mechanism in place to store log data. You can use Azure Storage and/or Azure Log Analytics. Log Analytics is mostly used for storing, querying, and analyzing logs from various Azure services. This setup allows you to manage and monitor diagnostic data effectively.
To enable diagnostic settings for an Azure AI service, you would follow the below-outlined steps.
- Open the Azure portal and locate the Azure AI services resource for which you want to enable logging, such as your subscription to the Speech service.
- From the left-hand navigation menu, select Monitoring and then Diagnostic settings. This will display all previously created diagnostic settings for the selected resource.
- If you already have a diagnostic setting you want to use, select it. Otherwise, click on + Add diagnostic setting.
- Configure Diagnostic Settings (refer to the exhibit).
- Provide a name for the diagnostic setting.
- Select Send to Log Analytics workspace and Archive to a storage account.
- If prompted, choose the storage account and Log Analytics workspace you want to use for storing diagnostic logs. If you do not have them set up, follow the prompts to create the necessary resources.
- Select Log Categories and Retention Policy:
- Choose the log categories you want to enable: Audit, RequestResponse, and/or AllMetrics.
- Set the retention period for your log data. A retention policy set to zero means logs will be stored indefinitely.
- Click Save to apply the settings.
Installing Azure AI SDK on the local machine is not a prerequisite to enable diagnostic settings for an Azure AI service. Installing the Azure AI SDK on a local machine helps in developing, managing, and interacting with Azure AI models through code. It provides the libraries and tools for developers to build AI solutions.
Setting up Azure DevOps for continuous integration is not a prerequisite to enable diagnostic settings for an Azure AI service. Azure DevOps is used for managing CI/CD pipelines and automating builds and deployments. It helps in maintaining code quality and ensuring consistent deployments.
Enabling Azure MFA is not a prerequisite to enable diagnostic settings for an Azure AI service. Azure MFA enhances the security of user authentication by requiring multiple forms of verification. It is used to enhance the security of user logins and protect against unauthorized access.
Microsoft Azure AI Engineer Associate AI-102 certification exam practice question and answer (Q&A) dump with detail explanation and reference available free, helpful to pass the Microsoft Azure AI Engineer Associate AI-102 exam and earn Microsoft Azure AI Engineer Associate AI-102 certification.