During an incident bridge you are asked to document latency and packet-loss to web01.example.com over the same protocol the application uses (TCP 443). You must collect exactly 20 probes per hop, print a one-time summary, and exit; no interactive curses screen should appear. Which command meets all of these requirements?
The non-interactive summary that mtr produces is triggered with the --report (or -r) option; without it, mtr stays in its interactive curses interface. The number of test cycles is set with -c COUNT, but this value is honored only when report mode is enabled. To use TCP SYN packets instead of the default ICMP Echo, you add --tcp, and you can direct those probes to a specific destination port with -P PORT. Putting these pieces together gives:
mtr --tcp -P 443 --report -c 20 web01.example.com
The other choices each miss at least one requirement: omitting --report keeps the tool interactive, using --udp sends the wrong protocol, or leaving off --tcp/-P continues to use ICMP to an unspecified port.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What does the --report option do in the mtr command?
Open an interactive chat with Bash
Why is the --tcp option necessary in the correct command?
Open an interactive chat with Bash
What is the purpose of using the -P option in mtr?
Open an interactive chat with Bash
CompTIA Linux+ XK0-006 (V8)
System Management
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
IT & Cybersecurity Package Join Premium for Full Access