nerdexam
Microsoft

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.

Monitor and troubleshoot Windows Server environments

Question

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 you install on the virtual machines?

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)
  • A
    7% (4)
  • C
    4% (2)
  • D
    11% (6)
  • E
    79% (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.

Athe Azure Connected Machine agent

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.

Bthe Azure Monitor agent

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.

Cthe Dependency agent

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.

Dthe Telegraf agent

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.

Ethe Azure Diagnostics extensionCorrect

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

#Azure Virtual Machines#Monitoring#Log Collection#Azure Diagnostics Extension

Community Discussion

No community discussion yet for this question.

Full AZ-801 Practice