
Answer-first summary for fast verification
Answer: Enable diagnostic settings for Azure Data Lake Storage Gen2 and Azure Databricks, and configure the logs to be sent to Azure Monitor.
To implement logging for Azure Data Lake Storage Gen2 and Azure Databricks, 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 Data Lake Storage Gen2 for data storage and Azure Databricks for data processing. How would you configure Azure Monitor to collect and analyze logs from these services?
A
Enable diagnostic settings for Azure Data Lake Storage Gen2 and Azure Databricks, and configure the logs to be sent to Azure Monitor.
B
Create a custom log in Azure Monitor and manually add entries from Azure Data Lake Storage Gen2 and Azure Databricks.
C
Use Azure Application Insights to monitor the performance of Azure Data Lake Storage Gen2 and Azure Databricks.
D
Configure Azure Monitor to automatically collect logs from all Azure services, including Azure Data Lake Storage Gen2 and Azure Databricks.
No comments yet.