EC-Council Certified Ethical Hacker (CEH) v13 Practice Exam 2026 - Free CEH Exam Practice Questions and Study Guide

Session length

1 / 20

In an Nmap scan, what is the effect of the -oX option?

It prints the scan results to stdout only.

It enables OS detection.

It performs a decoy scan.

It directs XML output to the given filename.

Nmap can output results in different formats, and XML is a structured, machine-readable format. The -oX option tells Nmap to produce its output in XML. When you provide a filename after -oX, Nmap writes that XML to that file, making it easy to parse with scripts or import into other tools. If you wanted the XML on the screen instead, you could use -oX - to print to stdout. This option is specifically about choosing XML, whereas other output options produce plain text or other formats.

Next Question
Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy