Microsoft DevOps Engineer Expert AZ-400 Practice Question

Your company streams Microsoft Defender for Cloud recommendations to an Azure Log Analytics workspace by enabling continuous export. Security analysts need a KPI that shows the mean time to remediate (MTTR) for critical container-image vulnerabilities during the last 30 days, so that the KPI can be pinned to an Azure Workbook.

Which Kusto query should you recommend?

  • SecurityAlert | where Severity == "High" and AlertName == "Container registry image vulnerable" | summarize MTTR = avg(datetime_diff("hour", TimeGenerated, ClosedTime))

  • SecurityRecommendation | where RecommendationSeverity == "High" and RecommendationType == "ContainerRegistryVulnerabilities" | extend HoursToFix = datetime_diff("hour", TimeGenerated, ResolvedTime) | summarize MTTR = avg(HoursToFix)

  • SecurityRecommendation | where RecommendationSeverity == "High" and RecommendationType == "ContainerRegistryVulnerabilities" | summarize firstDetected = arg_min(TimeGenerated, Status), lastResolved = arg_max(TimeGenerated, Status) by RecommendationId | where Status == "Resolved" | extend HoursToFix = datetime_diff("hour", lastResolved, firstDetected) | summarize MTTR = avg(HoursToFix)

  • SecurityRecommendation | where RecommendationSeverity == "High" and RecommendationType == "ContainerRegistryVulnerabilities" | summarize firstDetected = arg_min(TimeGenerated, Status), lastResolved = arg_max(TimeGenerated, Status) by RecommendationId | where Status == "Resolved" | extend HoursToFix = datetime_diff("hour", firstDetected, lastResolved) | summarize MTTR = avg(HoursToFix)

Microsoft DevOps Engineer Expert AZ-400
Design and implement processes and communications
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot