InterviewStack.io LogoInterviewStack.io

Network Protocols and Diagnostics Questions

Comprehensive coverage of core network protocols and the diagnostic techniques used to verify and resolve issues across the data link, network, and transport layers. Topics include how Ethernet frames are constructed, how media access control addresses are used, the operation of the address resolution protocol for neighbor discovery, virtual local area network basics, and data link layer switching behavior. It covers the Dynamic Host Configuration Protocol flow for automated address assignment, common DHCP options and failure modes, and methods to validate address assignment. It explains the Domain Name System operation, common record types such as address and canonical name records, the resolution process, and tools for diagnosing name resolution problems. It details the differences between the Transmission Control Protocol and the User Datagram Protocol including connection establishment, reliability, flow control, ordering, typical use cases, and port concepts. It also covers the Internet Control Message Protocol and how reachability and path diagnostics use it, explains what ping and traceroute actually test, and how to interpret traceroute output. Practical diagnostic techniques are included such as packet capture and analysis, tcpdump and Wireshark usage, common symptoms like maximum transmission unit mismatches and fragmentation, and structured approaches to isolate protocol level failures.

HardSystem Design
18 practiced
Design a monitoring and alerting strategy to detect ARP spoofing, DHCP starvation, and DNS hijacking across an enterprise network. Specify telemetry sources (switch logs, DHCP server logs, DNS query/response logs, packet samples), detection signatures or rules, thresholds that should trigger alerts, automatic containment actions (isolate port, rate-limit, block IP), and approaches to reduce false positives in environments with high churn (cloud instances, containers).
EasyTechnical
16 practiced
Describe the ARP (Address Resolution Protocol) process used to map an IPv4 address to a MAC address on an Ethernet LAN. Walk through an ARP request and reply, explain ARP cache behavior and timeouts, the purpose of gratuitous ARP, and how proxy ARP and static ARP entries alter normal resolution. What packet fields are broadcast vs unicast during the process?
MediumTechnical
24 practiced
You have a pcap containing multiple TCP flows. Describe how to use Wireshark to: 1) identify and filter the TCP three-way handshake for a single flow, 2) detect retransmissions, duplicate ACKs, and out-of-order segments using built-in analysis flags and display filters, and 3) use Wireshark statistics (e.g., TCP stream graphs, IO graphs) to summarize performance issues and RTT distribution.
HardSystem Design
20 practiced
Design a DNS architecture for a global, multi-region service that supports fast failover and internal/external resolution. Include split-horizon DNS considerations, authoritative server placement (anycast vs regional), health-check based failover with low TTLs, handling apex records and CNAMEs, caching implications, expected query load, and operational consistency across authoritative servers and registrars.
MediumTechnical
23 practiced
Scenario: In a single VLAN, Host A (10.0.1.10) cannot reach Host B (10.0.1.20). You capture traffic and see A sending ARP requests for B's IP but no ARP replies. Provide a step-by-step diagnostic process to identify the root cause. Consider host configuration, duplex/link status, switch port state, CAM table entries, duplicate IPs, ARP rate limiting, and possible software firewall or NIC issues.

Unlock Full Question Bank

Get access to hundreds of Network Protocols and Diagnostics interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.