You have five Azure VMs and must gather performance counters and Windows Event logs from them, then write that data to an Azure Storage account. Which agent or extension should you install on the VMs?
Choose an answer
Tap an option to check your answer.
Correct answer: the Azure Diagnostics extension.
Why this is the answer
The Azure Diagnostics extension is designed to collect monitoring data, including performance counters and event logs, from Azure virtual machines and transfer them to an Azure Storage account. This makes it the correct choice for the scenario described. The Azure Connected Machine agent (Azure Arc agent) is used to onboard non-Azure machines to Azure, enabling management capabilities, but it doesn't primarily focus on collecting performance counters and event logs to storage. The Azure Monitor agent is a newer agent that can collect a broader range of data and send it to Azure Monitor, but the question specifically asks for writing to an Azure Storage account, which the Diagnostics extension directly supports. The Dependency agent collects data about processes running on the VM and their dependencies, primarily for Azure Monitor's Service Map feature. The Telegraf agent is a third-party open-source agent for collecting and sending metrics and events, not a native Azure solution for this specific task.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed