Ultimate access to all questions.
You are tasked with implementing logging for a data processing application hosted on Azure. The application uses Azure Stream Analytics for stream processing and Azure Data Lake Storage Gen2 for data storage. How would you configure Azure Monitor to collect and analyze logs from these services?
Explanation:
To implement logging for Azure Stream Analytics and Azure Data Lake Storage Gen2, you need to enable diagnostic settings for these services and configure the logs to be sent to Azure Monitor. This will allow you to collect and analyze logs from these services in a centralized location. Option B is not efficient and does not provide a scalable solution. Option C is incorrect because Azure Application Insights is used for monitoring application performance, not for collecting logs. Option D is incorrect because Azure Monitor does not automatically collect logs from all Azure services by default; you need to enable diagnostic settings for each service individually.