AZ-801 practice question 31 of 35
You have an Azure subscription. The subscription contains a virtual machine named Serve1 that run Windows Server. You create a new Log Analytics workspace named Workspace1. You need to collect performance metrics for Server! by using Azure Monitor. What should you do next?
Full set: 281 questionsDomain Monitor and troubleshoot Windows Server environments
To collect performance metrics from an Azure VM using Azure Monitor, you must define what data to collect and where to send it. This is accomplished by creating a Data Collection Rule (DCR). The DCR specifies the data sources (e.g., Windows performance counters) and the destination, which is the Log Analytics workspace (Workspace1). Associating this DCR with the virtual machine (Server1) enables the Azure Monitor Agent to begin collecting the specified metrics. This is the standard and modern procedure for configuring data collection in Azure Monitor.
A. Regenerate the secondary key. This is a security management task for the workspace, not a configuration step for data collection. Keys are used for authentication, but regenerating them is not part of the initial setup.
B. Install the Azure Connected Machine agent. This agent is for managing non-Azure machines (on-premises or other clouds) via Azure Arc. Azure VMs use the Azure Monitor Agent, not the Connected Machine agent, for this purpose.
D. Deploy and configure Windows Event Forwarding. This is a native Windows Server feature for log aggregation and is not the standard method for sending performance data to Azure Monitor's Log Analytics workspace.
E. Server1 that runs Windows Server. This is not a valid action; it is a restatement of the existing environment described in the question.
1. Microsoft Learn, "Data collection rules in Azure Monitor." This document states, "A data collection rule (DCR) is a set of instructions that defines how to collect and process telemetry data that's sent to Azure Monitor." It details that DCRs are used to specify data sources like performance counters and destinations like Log Analytics workspaces.
2. Microsoft Learn, "Tutorial: Collect data from an Azure virtual machine with Azure Monitor Agent." Under the "Create a data collection rule" section, the first step after ensuring a Log Analytics workspace exists is to "Create a data collection rule to define the data you want to collect." This confirms that creating a DCR is the next logical step.
3. Microsoft Learn, "Overview of Azure Monitor agents." This document clarifies that the Azure Monitor Agent (AMA) is the recommended agent for data collection and that it "uses data collection rules (DCRs) where you define which data you want to collect from which machines." This directly links the agent's function to the necessity of a DCR.
Keep practicing
Take the free AZ-801 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other AZ-801 practice questions
- Question 1You have an on-premises server that runs Windows Server and has the Web Server (IIS) serv…
- Question 9You have a server named Server1 that runs Windows Server and has the Hyper-V server role …
- Question 12Which domain controller should be online to meet the technical requirements for DC4?
- Question 17You have two servers named Host1 and Host2 that run Windows Server 2022 and are members o…
- Question 20You are planning the deployment of Microsoft Sentinel. Which type of Microsoft Sentinel d…
- Question 23You have two servers named Server 1 and Server2 that run Windows Server. You perform the …
