InterviewStack.io LogoInterviewStack.io

Network Diagnostic Tools and Commands Questions

Practical knowledge of common network tools: ping (ICMP echo requests), traceroute (path tracing), ipconfig/ifconfig (IP configuration viewing), nslookup/dig (DNS queries), netstat (connection statistics), arp (address resolution protocol), and packet analysis tools like Wireshark. Know what each tool does, what output to expect, and how to interpret results.

HardTechnical
76 practiced
Traffic is encrypted with TLS, but connections are failing. Explain how you can use packet traces (Wireshark/tcpdump) to diagnose TLS handshake issues without decrypting payloads: identifying ClientHello, ServerHello, SNI, cipher suite negotiation, certificate issues, alerts, and handshake timeouts. Provide Wireshark filters to surface relevant handshake messages and explain what each observable symptom implies.
MediumTechnical
84 practiced
Write a short Python solution outline or shell pipeline that reads a pcap file and counts TCP SYN packets per source IP. Specify that the answer must use Python and must avoid loading the whole pcap into memory (streaming). Describe which libraries or tools you would use and show brief example commands or code snippets.
HardTechnical
76 practiced
You suspect DNS tunneling or exfiltration over DNS. Describe specific methods using dig, nslookup, tcpdump, and Wireshark to detect DNS tunneling patterns: look for long query names, unusual character entropy, many unique subdomains per domain, TXT or NULL record abuses, and high query rates to a single resolver. Provide commands and filters you would use to extract suspicious queries and suggest remediation and long-term monitoring strategies.
MediumTechnical
86 practiced
On a Linux server experiencing high network wait, describe how you would use ss/netstat combined with lsof and /proc to find the process with the highest concurrent outgoing TCP connections and determine whether those sockets are in SYN_SENT or ESTABLISHED state. Provide exact commands you would run and how to interpret the outputs.
MediumTechnical
90 practiced
A traceroute output contains hops labeled with 'mpls' and several hops do not respond to ICMP, plus you see widely varying RTTs. Explain how MPLS and ECMP can affect traceroute output, why some hops might be invisible, and how to use TCP-based traceroute or Paris-traceroute to more reliably map a path through load-balanced devices.

Unlock Full Question Bank

Get access to hundreds of Network Diagnostic Tools and Commands interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.