Securing Windows Server 2016 — Question 120

You implement Log Analytics in Microsoft Operations Management Suite (OMS) on all servers that run Windows Server 2016.
You need to generate a daily report that identifies which servers restarted during the last 24 hours.
Which query should you use?

Answer options

Correct answer: C

Explanation

The correct answer is C because it queries the System event log for EventId 6009, which indicates a system restart, and it filters for events generated in the last 24 hours. Options A and D incorrectly query the Application event log, which is not where restart events are found, and option B uses an incorrect time filter by looking for events in the future instead of the past.