CompTIA Network+ Troubleshooting and Tools 1 — Questions and Answers
Question 1: Which command can be used to test connectivity between two devices on a network?
- nslookup
- traceroute
- ping (Correct answer)
- ipconfig
Correct answer: ping
The `ping` command is a fundamental network utility used to test the reachability of a host on an Internet Protocol (IP) network. It sends Internet Control Message Protocol (ICMP) echo request packets to the target device and listens for ICMP echo reply packets. This process confirms basic connectivity and measures the round-trip time, indicating if two devices can communicate.
Question 2: What does the traceroute command help identify?
- The MAC address of a device
- The number of hops and path taken to reach a destination (Correct answer)
- DNS resolution for a domain name
- Current IP configuration on a device
Correct answer: The number of hops and path taken to reach a destination
The `traceroute` (or `tracert` on Windows) command is used to map the path an IP packet takes to reach a destination across a network. It identifies each router, or 'hop,' along the path and measures the time taken for the packet to reach each hop. This helps in diagnosing network latency, identifying bottlenecks, or pinpointing where connectivity issues might occur between two devices.
Question 3: What tool would you use to verify the integrity of a network cable?
- Cable tester (Correct answer)
- Protocol analyzer
- Multimeter
- Wireshark
Correct answer: Cable tester
A cable tester is a specialized diagnostic tool designed to verify the electrical connections and integrity of network cables. It can detect common wiring faults such as open circuits, short circuits, crossed pairs, and split pairs within the cable. This ensures that the cable is correctly terminated and capable of reliable data transmission.
Question 4: A user reports they cannot access a specific website, but others are working. Which tool can help verify the DNS resolution for the website?
- ipconfig
- nslookup (Correct answer)
- ping
- tracert
Correct answer: nslookup
The `nslookup` command (or `dig` on Linux/macOS) is a command-line tool used for querying the Domain Name System (DNS) to obtain domain name or IP address mapping. If a user cannot access a specific website but other sites are working, `nslookup` can confirm whether the website's domain name is resolving correctly to an IP address, indicating a potential DNS resolution issue.
Question 5: A user complains about slow network performance. Which of the following tools would help identify traffic bottlenecks?
- Wireshark (Correct answer)
- Cable crimper
- Telnet
- ARP
Correct answer: Wireshark
Wireshark is a powerful network protocol analyzer that allows users to capture and interactively browse data flowing on a network. By capturing and analyzing network packets, it can identify excessive traffic, retransmissions, or specific protocols consuming bandwidth. This detailed insight helps pinpoint bottlenecks and diagnose the root causes of slow network performance.
Which command can be used to test connectivity between two devices on a network?