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?
Enable Azure Diagnostics extension on the virtual machines.
Configure a custom script to push logs to Azure Storage.
Install the Azure Monitor Agent on the virtual machines.
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?
Open an interactive chat with Bash
How is the Azure Monitor Agent different from the Azure Diagnostics extension?
Open an interactive chat with Bash
Can the Azure Monitor Agent collect data from non-Azure virtual machines?
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...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .