CompTIA Linux+ (XK0-005) — Question 189
An administrator would like to measure possible packet loss between a workstation and a remote web application that is running on port 443. Which of the following would be the best command for the administrator to use to display this information?
Answer options
- A. ping -c 50
- B. tcpdump -p 443
- C. mtr -T -P 443
- D. traceroute -p 443
Correct answer: C
Explanation
The correct command is 'mtr -T -P 443' as it combines the functionality of both ping and traceroute, providing real-time statistics on packet loss between the workstation and the web application on port 443. The 'ping -c 50' command only measures round-trip time and packet loss but does not provide route information. 'tcpdump -p 443' is used for capturing packets on port 443 but does not measure packet loss. 'traceroute -p 443' reveals the path packets take but does not provide continuous packet loss statistics.