LFCS practice question 16 of 35
Which of the following programs can be used to determine the routing path to a given destination?
Full set: 260 questionsThe traceroute command is a network diagnostic tool designed specifically to display the route (path) and measure transit delays of packets across an Internet Protocol (IP) network. It operates by sending packets with incrementally increasing Time-To-Live (TTL) values and listening for ICMP "Time Exceeded" responses from each gateway (router) along the path. This process effectively maps the sequence of hops a packet takes to reach a given destination. The output of traceroute is a list of the routers on the path, making it the correct tool for determining the routing path.
A. dig (Domain Information Groper) is a tool for querying DNS servers to resolve domain names to IP addresses.
B. netstat displays network connections, routing tables, and interface statistics, but it does not actively trace a path.
C. ping is used to test the reachability of a host and measure the round-trip time for messages sent to it.
D. route is used to view and manipulate the local IP routing table; it does not trace the path to a remote host.
- Red Hat Enterprise Linux 8 Documentation, "Configuring and managing networking", Chapter 41. "Getting information about the network". The chapter describes traceroute as a tool to "trace the path of a network connection from the local host to a remote host".
- Debian Manpages, traceroute(8). The description states: "traceroute tracks the route packets taken from an IP network on their way to a given host."
- MIT OpenCourseWare, 6.033 Computer System Engineering, Spring 2018, Lecture 12: "The Network Layer". The lecture notes describe traceroute's mechanism using TTL to discover the path of routers to a destination.
Keep practicing
Take the free LFCS practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other LFCS practice questions
- Question 1Which of the following commands should be added to /etc/bash_profile in order to change t…
- Question 2Which of the following commands reboots the system when using SysV init? (Choose TWO corr…
- Question 3Which of the following tasks can be accomplished using the command date? (Choose TWO corr…
- Question 4Which of the following environment variables overrides or extends the list of directories…
- Question 5Which of the following are syslog facilities? (Choose TWO correct answers.)
- Question 6Which of the following programs uses the hosts.allow file to perform its main task of che…
