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.
Create a Log Analytics workspace in your Azure subscription.
Configure an Azure Storage account to store the logs.
Install the Azure Monitor agent on the virtual machines.
The first step is to create a Log Analytics workspace in your Azure subscription. A Log Analytics workspace serves as the central repository where Azure Monitor Logs stores collected data. Without it, there is nowhere to store or analyze the logs collected from the virtual machines. While installing the Azure Monitor agent on the virtual machines is necessary for data collection, the agent must be configured to send data to an existing Log Analytics workspace. Enabling diagnostic settings or configuring an Azure Storage account are not initial steps for collecting logs into Azure Monitor Logs; they are either subsequent steps or used for different purposes.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is a Log Analytics workspace in Azure?
Open an interactive chat with Bash
How does the Azure Monitor agent work?
Open an interactive chat with Bash
What is Azure Monitor Logs used for?
Open an interactive chat with Bash
Microsoft Azure Administrator Associate AZ-104
Monitor and maintain Azure resources
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
IT & Cybersecurity Package Join Premium for Full Access