Skip to main content

220-1202 practice question · Operating Systems

A technician wants to export a specific Windows event log to a file from the command line, as part of an automated…

A technician wants to export a specific Windows event log to a file from the command line, as part of an automated diagnostic collection script, rather than manually exporting it through the Event Viewer GUI each time. What command-line tool does this?

  • Awevtutil
  • Bchkdsk
  • Cdiskpart
  • Drobocopy
Show the answer and explanation

Correct answer: A) wevtutil

Why each option is right or wrong

  • A) Correct. wevtutil can query and export Windows event logs directly from the command line, letting a technician script automated log collection (for diagnostics or archiving) rather than manually exporting through the Event Viewer GUI each time.
  • B) Incorrect. chkdsk checks a storage volume's file system for errors; it has no event log export capability.
  • C) Incorrect. diskpart is a command-line disk partitioning utility, unrelated to event log export.
  • D) Incorrect. robocopy is a file-copying utility; it has no event log export capability of its own (though it could copy an already-exported log file, it doesn't perform the export itself).
Exam domain
Operating Systems · 28% of 220-1202
Question type
Multiple choice (one answer)

Practise the full 220-1202 exam

This question is one of a small free sample from the CertRidge 220-1202 bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.

Original question written from the official exam guide. Not affiliated with CompTIA; never copied from the real exam.