Microsoft DevOps Engineer Expert AZ-400 Practice Question
You are troubleshooting latency spikes in an Azure Web App that is instrumented with Application Insights. To understand which operations are affected, you want a Kusto Query Language (KQL) statement that returns the 95th-percentile request duration for each operation name, limited to the last hour. Which query should you run?
dependencies | where timestamp > ago(1h) | summarize p95_duration=percentile(duration, 95) by name | order by p95_duration desc
requests | summarize p95_duration=percentile(duration, 95) by name | where timestamp > ago(1h) | order by p95_duration desc
requests | where timestamp > ago(1h) | summarize p95_duration=percentile(duration, 95) by name | order by p95_duration desc
requests | where timestamp > ago(1h) | summarize avg_duration=avg(duration) by name | order by avg_duration desc
The requests table stores each incoming HTTP call made to the web app and includes the timestamp, the operation name (name), and the measured duration. To limit the analysis to the last hour, you use where timestamp > ago(1h). The 95th-percentile value for the duration is calculated with summarize p95_duration=percentile(duration, 95) by name, which calculates the percentile and assigns it to a new column p95_duration. Placing the filter before summarize ensures only the desired time range is aggregated. Using the dependencies table is incorrect as it tracks outgoing calls, not incoming requests. Using avg(duration) calculates the average, not the requested 95th percentile. Filtering by timestamp after the summarize operation will cause an error because the timestamp column no longer exists after the data has been aggregated.
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 Kusto Query Language (KQL)?
Open an interactive chat with Bash
What is the `percentile` function in KQL?
Open an interactive chat with Bash
What is the difference between the `requests` and `dependencies` tables in Application 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 .