Microsoft Azure Administrator Associate AZ-104 Practice Question
You need to collect logs and metrics from multiple Azure virtual machines to analyze performance and diagnose issues. What should you deploy on these virtual machines to collect the data and send it to Azure Monitor Logs?
Install the Azure Monitor Agent on the virtual machines.
Enable Azure Diagnostics extension on the virtual machines.
Configure a custom script to push logs to Azure Storage.
Set up an Azure Automation account to collect logs.
To collect logs and metrics from Azure virtual machines and send them to Azure Monitor Logs, you should install the Azure Monitor Agent on the virtual machines. This agent gathers telemetry data and forwards it to Azure Monitor Logs for analysis. The Azure Diagnostics extension is used for collecting diagnostic data to Azure Storage or Event Hubs, not directly to Azure Monitor Logs. Configuring a custom script is not the recommended approach when a built-in solution exists. Azure Automation accounts are for automation tasks and do not collect logs by themselves.
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 the Azure Monitor Agent and what does it do?
Open an interactive chat with Bash
What types of data can the Azure Monitor Agent collect?
Open an interactive chat with Bash
How does Azure Monitor Logs differ from Azure Diagnostics?
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