You have two Log Analytics workspaces (Workspace1 and Workspace2) and 100 Windows Server VMs. You must collect performance counters and events from the VMs, send logs to both workspaces, and capture all Windows and security events. Which agent or extension should you install and configure on each VM?
Choose an answer
Tap an option to check your answer.
Correct answer: the Azure Monitor agent.
Why this is the answer
The Azure Monitor agent (AMA) is the correct choice because it is the modern, unified agent for Azure Monitor. It can collect logs and performance data from Windows VMs and send them to multiple Log Analytics workspaces simultaneously, fulfilling the requirement to send data to both Workspace1 and Workspace2. It also supports collecting all Windows and security events. The Windows Azure Diagnostics (WAD) extension is an older agent primarily used for collecting diagnostic data from Azure PaaS services and is less flexible for multi-workspace scenarios on IaaS VMs. The Windows VM agent is a core component of Azure VMs that enables interaction with the Azure fabric, but it does not collect monitoring data or send logs to Log Analytics workspaces; its purpose is for VM management tasks like extension installation.
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