Microsoft Azure Administrator Associate AZ-104 Practice Question
Your company has multiple Azure resources including Virtual Machines, Storage Accounts, and Azure App Services. You need to centralize the collection of logs and metrics from these resources for analysis and monitoring. You also want to be able to query the collected data using KQL. What should you configure to achieve this?
Configure Diagnostic Settings on the resources to send data to a Log Analytics Workspace
Install the Log Analytics agent on all resources
Use Azure Event Hubs to collect the logs from the resources
Configure diagnostic settings on each resource to send logs and platform metrics to a Log Analytics workspace. Data stored in the workspace can then be queried with KQL.
Enabling Azure Monitor alerts creates notifications but does not route log data. Streaming to Azure Event Hubs is intended for integration with external systems rather than interactive KQL analysis. Installing the Log Analytics (or Azure Monitor) agent primarily gathers guest-OS data from virtual machines and does not capture logs from services such as Storage Accounts or App Services.
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
What is Kusto Query Language (KQL)?
Open an interactive chat with Bash
How do Diagnostic Settings work in Azure?
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 .