AZ-801 · Question #57
You have five Azure virtual machines. You need to collect performance data and Windows Event logs from the virtual machines. The data collected must be sent to an Azure Storage account. What should yo
The correct answer is E. the Azure Diagnostics extension. To collect performance data and Windows Event logs from Azure VMs and send them to an Azure Storage account, you should install the Azure Diagnostics extension.
Question
Options
- Athe Azure Connected Machine agent
- Bthe Azure Monitor agent
- Cthe Dependency agent
- Dthe Telegraf agent
- Ethe Azure Diagnostics extension
How the community answered
(57 responses)- A7% (4)
- C4% (2)
- D11% (6)
- E79% (45)
Why each option
To collect performance data and Windows Event logs from Azure VMs and send them to an Azure Storage account, you should install the Azure Diagnostics extension.
The Azure Connected Machine agent (Azure Arc agent) is used for managing on-premises or other cloud servers as if they were Azure resources, not for collecting guest-level diagnostics for Azure VMs to a storage account.
While the Azure Monitor agent can collect similar data, its primary destination is typically an Azure Log Analytics workspace or Azure Monitor Metrics, not directly an Azure Storage account as the exclusive or primary destination for raw logs and performance data in this context.
The Dependency agent is used by Azure Monitor's VM insights and Service Map to discover processes and dependencies between machines, not for general performance data and event log collection.
The Telegraf agent is an open-source agent for collecting metrics and logs, often used with InfluxDB or other monitoring solutions, but it's not a native Azure service for this purpose and wouldn't be the default choice for sending data specifically to an Azure Storage account.
The Azure Diagnostics extension is specifically designed for collecting monitoring data, including performance counters, Windows Event logs, IIS logs, and crash dumps, from an Azure virtual machine's guest operating system. It allows you to configure which data to collect and where to send it, with Azure Storage being a primary and common destination for this collected data. It's a key component for in-guest diagnostics on Azure VMs.
Concept tested: Azure VM guest diagnostics collection
Source: https://learn.microsoft.com/en-us/azure/virtual-machines/extensions/diagnostics-windows
Topics
Community Discussion
No community discussion yet for this question.