Microsoft DevOps Engineer Expert AZ-400 Practice Question
You administer 50 Ubuntu Server Azure virtual machines that run a latency-sensitive API. During customer complaints, Azure Monitor shows low CPU utilization and normal network traffic, so you suspect guest-level memory pressure or disk bottlenecks. You need to visualize these counters in the Azure portal and configure alerts when available memory on any VM drops below 500 MB, using only native Azure Monitor capabilities. Which action should you perform first?
Add a diagnostic setting at the subscription level that streams the Activity Log to a Log Analytics workspace.
Configure an Azure Monitor metric alert based on the built-in platform metric Available Memory Bytes for the virtual machines.
Enable Azure Monitor VM insights, which installs the Azure Monitor agent and starts collecting guest OS performance counters for memory and disk.
Create a Log Analytics query that reads the Perf table for the counter Memory\Available Bytes on the existing workspace.
Guest-level memory and disk performance counters are not collected by default platform metrics for Azure virtual machines. Enabling VM insights installs the Azure Monitor agent (or formerly the Log Analytics agent) on each VM and automatically starts collecting detailed guest OS performance counters, including Memory\Available Bytes and logical disk metrics. Once collected, these counters appear in Azure Monitor workbooks and can be used to create metric alerts. Streaming the Activity Log or building a query against a workspace is useless until the counters exist, and there is no built-in platform metric called Available Memory Bytes, so configuring an alert on it would fail.
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 Azure Monitor VM insights and how does it work?
Open an interactive chat with Bash
What is the significance of the Azure Monitor agent in collecting performance data?
Open an interactive chat with Bash
How can metric alerts be configured in Azure Monitor after enabling VM insights?
Open an interactive chat with Bash
Microsoft DevOps Engineer Expert AZ-400
Implement an instrumentation strategy
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 .