Q37 Monitor Domain 4 · 20–25% of exam

Which KQL query counts the number of failed HTTP requests (resultCode 5xx) in Application Insights over the last hour?

  1. A requests | where success == 'False' | count
  2. B requests | where timestamp > ago(1h) | where success == false | count (correct answer)
  3. C logs | filter statusCode >= 500 | count
  4. D requests | top 10 by duration

Shortcut: requests | where timestamp > ago(1h) | where success == false | count queries the requests table, filters to the last hour, filters on failed requests (success==false covers 4xx/5xx), and counts them.