What is the purpose of the OSI model in networking?
- It encrypts data across all layers of the internet
- It defines proprietary standards for hardware manufacturers
- It standardizes network communication by dividing it into 7 distinct layers
- It limits protocol choices to only TCP/IP
Answer: It standardizes network communication by dividing it into 7 distinct layers
Practical Use: Helps in diagnosing network issues by isolating problems at specific layers (e.g., checking cabling = Layer 1)
Key Topic: OSI Model
Follow-up: How does the OSI model assist with troubleshooting?
Which OSI layer is responsible for end-to-end reliable communication?
- Application Layer (Layer 7)
- Physical Layer (Layer 1)
- Transport Layer (Layer 4)
- Data Link Layer (Layer 2)
Answer: Transport Layer (Layer 4)
Practical Use: TCP operates here, ensuring reliable data transfer via acknowledgments and retransmissions
Key Topic: OSI Layer Functions
Follow-up: What protocols operate at the Transport layer?
Which protocols operate at each layer of the OSI model?
- Application: FTP; Presentation: ASCII; Transport: UDP; Network: HTTPS; Data Link: RIP
- Application: DNS; Presentation: Telnet; Transport: FTP; Network: ICMP; Data Link: SSH
- Application: HTTP; Presentation: JPEG; Transport: TCP; Network: IP; Data Link: Ethernet
- Application: Telnet; Presentation: SNMP; Transport: HTTP; Network: SMTP; Data Link: TCP
Answer: Application: HTTP; Presentation: JPEG; Transport: TCP; Network: IP; Data Link: Ethernet
Practical Use: Helps map packet behavior to the correct layer
Key Topic: OSI Model Protocols
Follow-up: Which layer handles routing decisions?
How many layers are in the TCP/IP model and what are they?
- 5 layers: HTTP, TCP, IP, Ethernet, Fiber
- 3 layers: Application, Routing, Switching
- 4 layers: Application, Transport, Internet, Network Access
- 7 layers: Application to Physical
Answer: 4 layers: Application, Transport, Internet, Network Access
Practical Use: Maps directly to real-world protocol stacks; practical for configuring interfaces
Key Topic: TCP/IP Model
Follow-up: Which TCP/IP layer corresponds to the OSI Network Layer?
Compare TCP and UDP in terms of reliability and use cases.
- TCP is stateless and UDP requires a handshake
- UDP is more reliable than TCP and uses SSL
- TCP is used only for file transfers, while UDP is used for DNS only
- TCP is reliable and connection-oriented; UDP is faster but connectionless
Answer: TCP is reliable and connection-oriented; UDP is faster but connectionless
Practical Use: Choose TCP for accuracy; UDP for speed
Key Topic: Transport Layer Protocols
Follow-up: Why might you use UDP for video streaming?
What is a MAC address and how is it structured?
- A device-agnostic software ID for tracking web traffic
- A 12-digit IP address used for routing
- A 48-bit hexadecimal hardware address with 24-bit OUI and 24-bit device ID
- A 32-bit logical address assigned by DHCP
Answer: A 48-bit hexadecimal hardware address with 24-bit OUI and 24-bit device ID
Practical Use: Used by switches to forward frames on LAN
Key Topic: MAC Addressing
Follow-up: Where is the MAC address stored?
What’s the difference between unicast, multicast, and broadcast?
- Unicast: One-to-one; Multicast: One-to-group; Broadcast: One-to-all
- All three send data only to one specific device
- Unicast: One-to-group; Multicast: One-to-all; Broadcast: One-to-one
- Unicast: One-to-all; Multicast: One-to-one; Broadcast: One-to-group
Answer: Unicast: One-to-one; Multicast: One-to-group; Broadcast: One-to-all
Practical Use: Multicast reduces bandwidth use for group transmission
Key Topic: Transmission Types
Follow-up: Which type is used in ARP requests?
What’s the key difference between half-duplex and full-duplex?
- Full-duplex requires fiber optics; half-duplex requires coax
- Half-duplex allows data in one direction at a time; full-duplex allows simultaneous communication
- Half-duplex is used by routers; full-duplex is used by hubs
- Full-duplex only works with wireless; half-duplex is wired
Answer: Half-duplex allows data in one direction at a time; full-duplex allows simultaneous communication
Practical Use: Switches use full-duplex; hubs use half-duplex
Key Topic: Data Transmission Modes
Follow-up: Which device only supports half-duplex?
Which of the following are valid port numbers and services?
- 20/21 (FTP), 22 (SSH), 23 (Telnet), 53 (DNS), 80 (HTTP)
- 1000 (FTP), 1025 (HTTPS), 69 (HTTP), 80 (TFTP), 21 (DHCP)
- 443 (FTP), 22 (DNS), 20 (RDP), 80 (IMAP), 110 (BGP)
- 123 (SMTP), 25 (SNMP), 443 (Telnet), 110 (NTP), 67 (POP3)
Answer: 20/21 (FTP), 22 (SSH), 23 (Telnet), 53 (DNS), 80 (HTTP)
Practical Use: Useful in firewall configuration and troubleshooting
Key Topic: Port Numbers
Follow-up: Which protocol uses both TCP and UDP on port 53?
What’s the difference between a protocol number and a port number?
- Protocol number identifies Layer 3 protocols; port number identifies Layer 4 services
- Both are used to identify Layer 2 functions
- Protocol numbers are used only in DHCP; ports are used in OSPF
- Protocol numbers are assigned by MAC addresses; port numbers are assigned by IP
Answer: Protocol number identifies Layer 3 protocols; port number identifies Layer 4 services
Practical Use: Useful when examining packet headers or configuring ACLs
Key Topic: Protocols vs Ports
Follow-up: What is the protocol number for ICMP?
Front
Back
Which protocol uses port 443 and provides secure web communication?
- SSH
- FTP
- HTTPS
- Telnet
Answer: HTTPS
Practical Use: HTTPS encrypts web traffic to protect sensitive user data such as passwords and credit card numbers
Key Topic: Secure Ports and Protocols
Follow-up: What port does HTTP use, and what is the key difference?
What is the function of ICMP in network communication?
- Assigning IP addresses
- Encrypting traffic between endpoints
- Delivering error messages and diagnostic info
- Resolving MAC addresses
Answer: Delivering error messages and diagnostic info
Practical Use: ICMP is used in tools like ping and traceroute to detect network issues
Key Topic: Internet Control Message Protocol (ICMP)
Follow-up: What protocol number is assigned to ICMP?
Which of the following best describes a default gateway?
- The server that stores DNS records
- The IP address used to route traffic to other networks
- A device used to manage VLAN traffic
- The first MAC address learned by a switch
Answer: The IP address used to route traffic to other networks
Practical Use: Without a default gateway, devices cannot access outside subnets or the internet
Key Topic: Default Gateway
Follow-up: Where would you configure the default gateway on a router?
What happens if two devices on the same network are assigned the same IP address?
- One device is automatically assigned a new IP
- Both devices will operate with slower speeds
- A conflict occurs and both devices may lose connectivity
- One device will act as a DHCP server
Answer: A conflict occurs and both devices may lose connectivity
Practical Use: Duplicate IPs cause connection drops and errors, especially on static assignments
Key Topic: IP Conflict
Follow-up: How can DHCP help prevent this issue?
Which protocol resolves IP addresses to MAC addresses?
- DNS
- ICMP
- ARP
- DHCP
Answer: ARP
Practical Use: ARP enables Layer 3 IP communication over Layer 2 by mapping MAC addresses
Key Topic: Address Resolution Protocol
Follow-up: What command shows the ARP table on a Windows machine?
Which type of routing protocol uses hop count as its primary metric?
- OSPF
- EIGRP
- RIP
- BGP
Answer: RIP
Practical Use: RIP is simple but limited (max 15 hops), often used for small networks or legacy compatibility
Key Topic: Routing Protocols
Follow-up: Why is RIP considered less efficient for large networks?
Which protocol builds a complete map of the network and uses link-state advertisements?
- RIP
- BGP
- OSPF
- NAT
Answer: OSPF
Practical Use: OSPF quickly recalculates routes during outages using its complete network topology database
Key Topic: Link-State Protocols
Follow-up: What algorithm does OSPF use to find the shortest path?
Which dynamic routing protocol uses bandwidth and delay as metrics?
- RIP
- EIGRP
- OSPF
- VRRP
Answer: EIGRP
Practical Use: EIGRP balances accuracy and performance, allowing more intelligent route decisions
Key Topic: Distance Vector Protocols
Follow-up: What is the DUAL algorithm used by EIGRP?
Which scenario best describes a unicast transmission?
- A message sent to all devices on a subnet
- A video stream delivered to multiple subscribers
- A direct message from one device to another
- A routing update sent to neighboring routers
Answer: A direct message from one device to another
Practical Use: Most communications like web browsing use unicast to deliver data from a client to a server
Key Topic: Transmission Types
Follow-up: Which transmission type is used by DHCP Discover?
Which of the following is an example of a Layer 3 device?
- Switch
- Router
- Hub
- Access Point
Answer: Router
Practical Use: Routers make decisions based on IP addresses and connect different subnets
Key Topic: Layer 3 Devices
Follow-up: What type of address does a switch use to forward frames?
Front
Back
Which port does DNS typically use for queries?
- 80
- 25
- 53
- 443
Answer: 53
Practical Use: DNS resolves domain names to IP addresses; critical for nearly all internet traffic
Key Topic: Common Ports
Follow-up: Which protocol uses port 53 with both TCP and UDP?
What is the role of DHCP in a network?
- Resolve IP to MAC addresses
- Assign IP addresses dynamically
- Route packets between networks
- Encrypt traffic between devices
Answer: Assign IP addresses dynamically
Practical Use: DHCP automates IP configuration, reducing manual errors and setup time
Key Topic: Dynamic Host Configuration Protocol
Follow-up: What’s the difference between a DHCP lease and reservation?