AZ-800 · Question #250
You have 50 on-premises servers that run Windows Server. You have an Azure subscription. You plan to monitor the on-premises servers by using Azure Monitor. You need to collect event logs from the…
The correct answer is B. From the Azure portal, create a Log Analytics workspace. A Log Analytics workspace is the foundational prerequisite for Azure Monitor data collection. It serves as the data store where logs, metrics, and events are ingested and queried. Before you can create a data collection rule (DCR), install the Azure Monitor Agent, or configure…
Question
You have 50 on-premises servers that run Windows Server. You have an Azure subscription. You plan to monitor the on-premises servers by using Azure Monitor. You need to collect event logs from the on-premises servers. What should you do first?
Options
- AFrom the Azure portal, create a storage account.
- BFrom the Azure portal, create a Log Analytics workspace.
- CFrom the on-premises servers, run azuremonitoragentclientsetup.msi.
- DFrom the Azure portal, create a data collection rule (DCR) in Azure Monitor.
How the community answered
(38 responses)- A3% (1)
- B92% (35)
- C5% (2)
Explanation
A Log Analytics workspace is the foundational prerequisite for Azure Monitor data collection. It serves as the data store where logs, metrics, and events are ingested and queried. Before you can create a data collection rule (DCR), install the Azure Monitor Agent, or configure any data pipelines, the Log Analytics workspace must exist because it is the destination all other components point to. Creating a DCR without a workspace would have nowhere to send data, and installing the agent without a workspace to register with would be incomplete. Therefore, the Log Analytics workspace must be created first.
Topics
Community Discussion
No community discussion yet for this question.