LearnThatStack Ace your next interview
System Administration
Networking (TCP/IP, DNS, DHCP).
52 Qs 7 free
Change topic Change
Drill · questions

All questions

of 52
Beginner 12
01

What is the TCP/IP model and how does it differ from the OSI model?

Beginner ·

Answer it yourself first - out loud, or typed below.

How should your speech become text?

Listening… your words appear above as you speak - tap Stop when you're done.

Recording · cr - tap Stop & transcribe when you're done.

Transcribing with AI…

Voice:

Keep going - a few more words and AI can grade it.

Last attempt -

Your answer

Re-explain

Answer: The TCP/IP model is a four-layer networking framework that defines how data is transmitted over networks. It consists of:

  1. Application Layer - Combines OSI layers 5-7 (Session, Presentation, Application)
  2. Transport Layer - Same as OSI Layer 4 (TCP/UDP)
  3. Internet Layer - Same as OSI Layer 3 (IP)
  4. Network Access Layer - Combines OSI layers 1-2 (Physical, Data Link)
    Key differences from OSI:
  • TCP/IP is more practical and widely implemented
  • OSI is more theoretical with 7 layers vs TCP/IP's 4 layers
  • TCP/IP was developed before OSI but became the standard
Rewriting in plainer words…

This answer doesn't lend itself to a diagram - it reads best . No credits were charged.

The model's verdict: “

The interactive diagram is below the answer - jump to diagram ↓

This answer is explained by a shared concept diagram - open

Tailored explanation · switch back to · ·
Point the redraw:
How well did you know this?
AI:

02

Explain the difference between TCP and UDP protocols.

Beginner ·

Answer it yourself first - out loud, or typed below.

How should your speech become text?

Listening… your words appear above as you speak - tap Stop when you're done.

Recording · cr - tap Stop & transcribe when you're done.

Transcribing with AI…

Voice:

Keep going - a few more words and AI can grade it.

Last attempt -

Your answer

Re-explain

Answer: TCP (Transmission Control Protocol) and UDP (User Datagram Protocol) are transport layer protocols with key differences:
TCP:

  • Connection-oriented (requires handshake)
  • Reliable delivery with error checking
  • Flow control and congestion control
  • Ordered packet delivery
  • Higher overhead
  • Used for: HTTP, HTTPS, FTP, SSH
    UDP:
  • Connectionless protocol
  • No guarantee of delivery
  • No flow control or error recovery
  • Faster with lower overhead
  • Used for: DNS queries, DHCP, streaming media, gaming
Rewriting in plainer words…

This answer doesn't lend itself to a diagram - it reads best . No credits were charged.

The model's verdict: “

The interactive diagram is below the answer - jump to diagram ↓

This answer is explained by a shared concept diagram - open

Tailored explanation · switch back to · ·
Point the redraw:
How well did you know this?
AI:

03

What is the three-way handshake in TCP?

Beginner ·

Answer it yourself first - out loud, or typed below.

How should your speech become text?

Listening… your words appear above as you speak - tap Stop when you're done.

Recording · cr - tap Stop & transcribe when you're done.

Transcribing with AI…

Voice:

Keep going - a few more words and AI can grade it.

Last attempt -

Your answer

Re-explain

Answer: The three-way handshake establishes a TCP connection between client and server:

  1. SYN: Client sends SYN packet with initial sequence number
  2. SYN-ACK: Server responds with SYN-ACK, acknowledging client's SYN and sending its own SYN
  3. ACK: Client acknowledges server's SYN-ACK
    Example flow:
Client → Server: SYN (seq=100)
Server → Client: SYN-ACK (seq=200, ack=101)
Client → Server: ACK (seq=101, ack=201)

This ensures both sides are ready to communicate and establishes initial sequence numbers.

Rewriting in plainer words…

This answer doesn't lend itself to a diagram - it reads best . No credits were charged.

The model's verdict: “

The interactive diagram is below the answer - jump to diagram ↓

This answer is explained by a shared concept diagram - open

Tailored explanation · switch back to · ·
Point the redraw:
How well did you know this?
AI:

04

What are TCP ports and how do they work?

Beginner ·

Answer it yourself first - out loud, or typed below.

How should your speech become text?

Listening… your words appear above as you speak - tap Stop when you're done.

Recording · cr - tap Stop & transcribe when you're done.

Transcribing with AI…

Voice:

Keep going - a few more words and AI can grade it.

Last attempt -

Your answer

Re-explain

Answer: TCP ports are 16-bit numbers (0-65535) that identify specific processes or services on a host. They enable multiple applications to use the network simultaneously.
Port categories:

  • Well-known ports (0-1023): Reserved for system services
  • Registered ports (1024-49151): Assigned to user applications
  • Dynamic/Private ports (49152-65535): Used for temporary connections
    Common ports:
  • HTTP: 80
  • HTTPS: 443
  • SSH: 22
  • FTP: 21
  • DNS: 53
  • SMTP: 25
Rewriting in plainer words…

This answer doesn't lend itself to a diagram - it reads best . No credits were charged.

The model's verdict: “

The interactive diagram is below the answer - jump to diagram ↓

This answer is explained by a shared concept diagram - open

Tailored explanation · switch back to · ·
Point the redraw:
How well did you know this?
AI:

05

Describe the OSI 7-layer model and the function of each layer.

Beginner ·

Answer it yourself first - out loud, or typed below.

How should your speech become text?

Listening… your words appear above as you speak - tap Stop when you're done.

Recording · cr - tap Stop & transcribe when you're done.

Transcribing with AI…

Voice:

Keep going - a few more words and AI can grade it.

Last attempt -

Your answer

Re-explain

Answer: The OSI model defines seven layers of network communication:

  1. Physical Layer: Electrical signals, cables, hardware
  2. Data Link Layer: Frame formatting, MAC addresses, error detection
  3. Network Layer: Routing, IP addressing, path determination
  4. Transport Layer: Reliable delivery, segmentation (TCP/UDP)
  5. Session Layer: Connection management, dialogue control
  6. Presentation Layer: Encryption, compression, data formatting
  7. Application Layer: User interface, network services
    Memory aid: "Please Do Not Throw Sausage Pizza Away"
Rewriting in plainer words…

This answer doesn't lend itself to a diagram - it reads best . No credits were charged.

The model's verdict: “

The interactive diagram is below the answer - jump to diagram ↓

This answer is explained by a shared concept diagram - open

Tailored explanation · switch back to · ·
Point the redraw:
How well did you know this?
AI:

06

What is DNS and how does it work?

Beginner ·

Answer it yourself first - out loud, or typed below.

How should your speech become text?

Listening… your words appear above as you speak - tap Stop when you're done.

Recording · cr - tap Stop & transcribe when you're done.

Transcribing with AI…

Voice:

Keep going - a few more words and AI can grade it.

Last attempt -

Your answer

Re-explain

Answer: DNS translates human-readable domain names into IP addresses.
DNS Process:

  1. User types www.example.com
  2. Local DNS cache checked first
  3. Query sent to recursive DNS server
  4. If not cached, queries root name servers
  5. Directed to TLD (.com) servers
  6. Finally queries authoritative name servers
  7. IP address returned to client
    DNS Hierarchy: Root → TLD → Authoritative → Host
Rewriting in plainer words…

This answer doesn't lend itself to a diagram - it reads best . No credits were charged.

The model's verdict: “

The interactive diagram is below the answer - jump to diagram ↓

This answer is explained by a shared concept diagram - open

Tailored explanation · switch back to · ·
Point the redraw:
How well did you know this?
AI:

07

What are the different types of DNS records?

Beginner ·

Answer it yourself first - out loud, or typed below.

How should your speech become text?

Listening… your words appear above as you speak - tap Stop when you're done.

Recording · cr - tap Stop & transcribe when you're done.

Transcribing with AI…

Voice:

Keep going - a few more words and AI can grade it.

Last attempt -

Your answer

Re-explain

Answer: Common DNS record types:

  • A: Maps domain to IPv4 address
  • AAAA: Maps domain to IPv6 address
  • CNAME: Canonical name (alias)
  • MX: Mail exchange servers
  • NS: Name server records
  • PTR: Reverse DNS (IP to domain)
  • TXT: Text information (SPF, DKIM)
  • SOA: Start of Authority
    Example:
www.example.com.    IN  A       192.0.2.1
mail.example.com.   IN  MX  10  mail.example.com.
Rewriting in plainer words…

This answer doesn't lend itself to a diagram - it reads best . No credits were charged.

The model's verdict: “

The interactive diagram is below the answer - jump to diagram ↓

This answer is explained by a shared concept diagram - open

Tailored explanation · switch back to · ·
Point the redraw:
How well did you know this?
AI:

08

What is DHCP and how does it work?

Part of Pro
09

What is a DHCP lease and how do renewals work?

Part of Pro
10

What is the difference between a router and a switch?

Part of Pro
11

What are common network troubleshooting tools and their uses?

Part of Pro
12

What are common network security threats?

Part of Pro
Intermediate 40
13

Explain IP addressing and the difference between IPv4 and IPv6.

Part of Pro
14

What is NAT (Network Address Translation) and why is it used?

Part of Pro
15

What happens at Layer 2 (Data Link Layer)?

Part of Pro
16

How does Layer 3 routing work?

Part of Pro
17

What is subnetting and why is it important?

Part of Pro
18

Calculate the subnet mask, network address, and broadcast address for 192.168.1.100/26.

Part of Pro
19

What is VLSM (Variable Length Subnet Masking)?

Part of Pro
20

Explain CIDR (Classless Inter-Domain Routing).

Part of Pro
21

What is the difference between authoritative and recursive DNS servers?

Part of Pro
22

How do you troubleshoot DNS issues?

Part of Pro
23

What is DNS caching and how does TTL work?

Part of Pro
24

Explain DNS zone transfers and their types.

Part of Pro
25

What are DHCP reservations and when would you use them?

Part of Pro
26

How do you troubleshoot DHCP problems?

Part of Pro
27

What are DHCP options and give examples of commonly used ones?

Part of Pro
28

Explain DHCP relay agents and when they're needed.

Part of Pro
29

Explain how a switch learns MAC addresses.

Part of Pro
30

What is VLAN and what are its benefits?

Part of Pro
31

What is Spanning Tree Protocol (STP) and why is it needed?

Part of Pro
32

Explain static vs dynamic routing.

Part of Pro
33

What is the difference between distance vector and link state routing protocols?

Part of Pro
34

What is the OSI troubleshooting methodology?

Part of Pro
35

How do you troubleshoot network connectivity issues?

Part of Pro
36

What information does netstat provide and how do you use it?

Part of Pro
37

How do you use Wireshark for network analysis?

Part of Pro
38

What is a firewall and what are the different types?

Part of Pro
39

Explain VPN types and their use cases.

Part of Pro
40

What are ACLs (Access Control Lists) and how are they used?

Part of Pro
41

What is Quality of Service (QoS) and when is it needed?

Part of Pro
42

Explain load balancing and its types.

Part of Pro
43

What is MPLS and its benefits?

Part of Pro
44

What is network convergence and why is it important?

Part of Pro
45

Explain BGP and its role in internet routing.

Part of Pro
46

What is SD-WAN and how does it differ from traditional WAN?

Part of Pro
47

What is network automation and what tools are used?

Part of Pro
48

What are network APIs and how are they used?

Part of Pro
49

Explain IPv6 transition mechanisms.

Part of Pro
50

What is network monitoring and what metrics are important?

Part of Pro
51

What is network segmentation and its security benefits?

Part of Pro
52

Explain the concept of network fabric and its advantages.

Part of Pro

No matches

Try a different filter or search term.

Pro · $10/mo

45 of 52 Networking (TCP/IP, DNS, DHCP) answers are gated.

Full answers, code samples, AI explanations - simpler, deeper, or as an interactive diagram. Cancel anytime.

  • Full answers + code
  • AI explain - simpler, deeper, or visualized
  • 1,000 AI credits / month
  • Cancel anytime

Change topic

Pick a different technology or stack. Your current topic stays put until you choose a new one.

Technologies
No technologies match “”.
Cross-cutting topics
No topics match “”.
By role
Stacks & frameworks

MEAN

MongoDB, Express, Angular, Node.js

MERN

MongoDB, Express, React, Node.js

LAMP

Linux, Apache, MySQL, PHP

Django

Python Full-Stack Development

Ruby on Rails

Convention over Configuration

JAM

JavaScript, APIs, and Markup

Serverless on AWS

Serverless Architecture on AWS

Cross-cutting topics 43 topics

Interviewers also test these - they're common to every stack, whichever one you picked above.

Flutter Mobile

Flutter Cross-Platform Mobile Development

Cross-cutting topics 44 topics

Interviewers also test these - they're common to every stack, whichever one you picked above.

Spring Boot

Enterprise Java Development

.NET

Microsoft Ecosystem

Vue

Vue.js, Vite, TypeScript, Tailwind, Node.js

Go Backend

Golang, gRPC, PostgreSQL, Redis, RabbitMQ

FastAPI

Python, FastAPI, SQLAlchemy, PostgreSQL

React Native

React, TypeScript, Redux, Firebase

iOS Native

Swift, SwiftUI, UIKit, Firebase

Android Native

Java, Jetpack Compose, Firebase

Web3 / Ethereum

Solidity, Ethereum, Hardhat, Foundry

DevOps / Platform

Docker, Kubernetes, Terraform, CI/CD

Core SWE Interview Prep

Data structures, algorithms, OS, concurrency, networking, git
Big-O & Complexity Analysis Arrays, Strings & Hash Tables Linked Lists, Stacks & Queues Trees, BSTs & Heaps Graphs Sorting, Searching & Recursion Operating Systems Concurrency & Multithreading Networking for Developers Git & Version Control API Design 45 Distributed Systems Fundamentals 34

Cross-cutting topics 43 topics

Interviewers also test these - they're common to every stack, whichever one you picked above.


Cross-cutting topics 45 topics

Interviewers also test these - they're common to every stack, whichever one you picked above.