DP-203 · Question #407
You have an Azure data factory named DF1. DF1 contains a pipeline that has five activities. You need to monitor queue times across the activities by using Log Analytics. What should you do in DF1?
The correct answer is B. Add a diagnostic setting that sends activity runs to a Log Analytics workspace.. To surface activity-level queue times in Log Analytics, you must configure a diagnostic setting in Azure Data Factory that forwards Activity Runs logs to a Log Analytics workspace.
Question
You have an Azure data factory named DF1. DF1 contains a pipeline that has five activities. You need to monitor queue times across the activities by using Log Analytics. What should you do in DF1?
Options
- AConnect DF1 to a Microsoft Purview account.
- BAdd a diagnostic setting that sends activity runs to a Log Analytics workspace.
- CEnable auto refresh for the Activity Logs Insights workbook.
- DAdd a diagnostic setting that sends pipeline runs to a Log Analytics workspace.
How the community answered
(40 responses)- A3% (1)
- B85% (34)
- C3% (1)
- D10% (4)
Why each option
To surface activity-level queue times in Log Analytics, you must configure a diagnostic setting in Azure Data Factory that forwards Activity Runs logs to a Log Analytics workspace.
Connecting ADF to a Microsoft Purview account enables data lineage tracking and governance cataloging but does not route any activity execution metrics or queue time data to Log Analytics.
Activity Runs diagnostic logs capture per-activity execution detail including queue duration (the time an activity waited before starting) and run duration for each of the five activities in the pipeline. Routing these logs to a Log Analytics workspace lets you write KQL queries to analyze and monitor queue time trends across activities, which satisfies the monitoring requirement precisely.
Enabling auto-refresh on the Activity Logs Insights workbook only controls how frequently the built-in Azure Monitor workbook refreshes its display; it does not stream data into a Log Analytics workspace.
Pipeline Runs diagnostic logs capture pipeline-level start, end, and status information but do not include the per-activity queue duration metrics needed to monitor queue times within the pipeline.
Concept tested: ADF Activity Runs diagnostic logging to Log Analytics for queue time monitoring
Source: https://learn.microsoft.com/en-us/azure/data-factory/monitor-using-azure-monitor
Topics
Community Discussion
No community discussion yet for this question.