Microsoft Azure Administrator Associate AZ-104 Practice Question
You are an Azure administrator managing several virtual machines running Windows Server 2019 in your Azure environment. Your company wants to collect and analyze event logs from these virtual machines using Azure Monitor Logs. What should you do first to enable log collection from the virtual machines into Azure Monitor Logs?
Enable diagnostic settings on the virtual machines to send logs to Azure Monitor Logs.
Install the Azure Monitor agent on the virtual machines.
Create a Log Analytics workspace in your Azure subscription.
Configure an Azure Storage account to store the logs.