
Answer-first summary for fast verification
Answer: Enable diagnostic settings for Azure Stream Analytics and Azure Data Lake Storage Gen2, and configure the logs to be sent to Azure Monitor.
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.
Author: LeetQuiz Editorial Team
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?
A
Enable diagnostic settings for Azure Stream Analytics and Azure Data Lake Storage Gen2, and configure the logs to be sent to Azure Monitor.
B
Create a custom log in Azure Monitor and manually add entries from Azure Stream Analytics and Azure Data Lake Storage Gen2.
C
Use Azure Application Insights to monitor the performance of Azure Stream Analytics and Azure Data Lake Storage Gen2.
D
Configure Azure Monitor to automatically collect logs from all Azure services, including Azure Stream Analytics and Azure Data Lake Storage Gen2.
No comments yet.