1. Home
  2. Explore
  3. Computer Science
  4. Networking Basics

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Networking Basics

  • 129Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Network Foundations
  • spaceFlip card
  • KI knew it
  • DI didn't know it
  • ←Previous card
  • β†’Next card

What is a computer network?

Tap to flipClick to flipspace

A collection of connected devices that can share information.

Or swipe the card

129 cards

  1. What is a computer network?

    A collection of connected devices that can share information.

  2. What do devices, network connections, and data represent in the neighborhood analogy?

    Devices are houses, cables or Wi-Fi signals are roads, and data is the package being delivered.

  3. What kinds of devices can participate in a network?

    Any device with a chip and a network connection, including laptops, phones, servers, printers, cameras, and smart appliances.

  4. Why is networking knowledge essential for cybersecurity?

    Most attacks involve network protocols, open ports, misconfigured services, or traffic interception.

  5. What is an IP address?

    A logical address that identifies a device and indicates where network data should be delivered.

  6. What is a port?

    A numbered communication endpoint that identifies the application or service receiving network data on a device.

  7. What is a protocol?

    A formal set of rules governing how devices format, exchange, manage, and end communication.

  8. How do IP addresses, ports, and protocols work together?

    The IP address identifies the destination device, the port identifies the destination service, and the protocol defines how communication occurs.

  9. What is a LAN?

    A local area network covering a small geographic area, such as a home, school laboratory, or small office.

  10. What are the typical characteristics of a LAN?

    LANs are usually fast because devices are nearby and are typically private because access can be controlled locally.

  11. Why is network segmentation important within a LAN?

    It divides the LAN into isolated zones, limiting what an attacker can reach after gaining access.

  12. What is a WAN?

    A wide area network that spans a large geographic area.

  13. Why is encryption especially important over WANs?

    WAN traffic passes through many ISPs, routers, and data centers, creating more opportunities for interception.

  14. What is a MAN?

    A metropolitan area network that connects systems across a city or metropolitan area.

  15. What is a PAN?

    A personal area network covering a very small area, such as a Bluetooth connection between a phone and earbuds.

  16. What is a WLAN?

    A wireless local area network, such as a LAN using Wi-Fi instead of cables.

  17. What is a VPN?

    A technology that creates a private, encrypted tunnel through a public network.

  18. What does a router do?

    A router connects different networks and forwards traffic between them based on IP addresses.

  19. Why are routers important cybersecurity targets?

    A compromised router can allow an attacker to control or inspect traffic flowing through it.

  20. What does a switch do?

    A switch connects multiple devices within the same network and forwards frames to their intended devices.

  21. How does a switch differ from a hub?

    A hub broadcasts traffic to every connected device, while a switch forwards it only to the intended device.

  22. What is MAC flooding?

    An attack that overwhelms a switch with fake MAC addresses and may force it to broadcast traffic like a hub.

  23. What does a firewall do?

    A firewall monitors and controls incoming and outgoing network traffic according to security rules.

  24. What is a wireless access point?

    A device that broadcasts a Wi-Fi network for wireless devices to join.

  25. Why are wireless networks more exposed than wired networks?

    Wireless signals travel through the air, allowing devices within range to attempt interception.

  26. What is a network interface card?

    Hardware that enables a device to communicate over a network, such as an Ethernet port or Wi-Fi radio.

  27. What is packet switching?

    The process of dividing data into packets that travel independently and are reassembled at the destination.

  28. What information does a packet typically contain?

    A portion of the data, source and destination IP addresses, reassembly information, and error-checking information.

  29. What is a packet sniffing attack?

    Capturing and inspecting network packets, especially to read unencrypted information.

  30. What is the client-server model?

    A model in which clients request services or data and centralized servers respond to those requests.

  31. Why are servers attractive attack targets?

    Servers may store or provide access to data for many clients, so compromising one can affect many users.

  32. What is a peer-to-peer network?

    A network in which each device can act as both a client and a server without a central server.

  33. Why can peer-to-peer networks be difficult to secure?

    They are harder to centrally control and monitor, and malware can use device-to-device communication to spread.

  34. What is bandwidth?

    The maximum amount of data that can be transferred through a connection per unit of time.

  35. What is latency?

    The time required for data to travel from its source to its destination.

  36. How do bandwidth and latency differ?

    Bandwidth describes how much data can move at once, while latency describes how long data takes to arrive.

  37. How can bandwidth and latency help detect attacks?

    Unusual bandwidth consumption or sudden latency changes can indicate malicious activity.

  38. What is the OSI model?

    A seven-layer conceptual framework describing how network communication works.

  39. Why was the OSI model developed?

    It helped standardize networking so equipment and software from different vendors could work together.

  40. What are the seven OSI layers from bottom to top?

    Physical, Data Link, Network, Transport, Session, Presentation, and Application.

  41. What is the function of the OSI physical layer?

    It transmits raw bits as electrical signals, light pulses, or radio waves over a physical medium.

  42. What are examples of physical-layer attacks?

    Cable cutting, cable tapping, and wireless-frequency jamming.

  43. What is the function of the OSI data link layer?

    It organizes bits into frames, uses MAC addresses for local delivery, and performs error detection.

  44. What is ARP spoofing?

    A Layer 2 attack in which false ARP messages associate an attacker's MAC address with another device's IP address.

  45. What is the function of the OSI network layer?

    It provides logical addressing and routing across different networks using IP addresses.

  46. What is IP spoofing?

    Forging the source IP address of packets to conceal or misrepresent their origin.

  47. What is the function of the OSI transport layer?

    It manages end-to-end communication, segmentation, flow control, error recovery, and port addressing.

  48. What is a SYN flood?

    A denial-of-service attack that sends many TCP connection requests without completing the handshakes.

  49. What is the function of the OSI session layer?

    It establishes, manages, synchronizes, and terminates communication sessions.

  50. What is session hijacking?

    Stealing an active session token to impersonate a logged-in user without knowing the user's password.

  51. What is the function of the OSI presentation layer?

    It handles data translation, encryption and decryption, and compression.

  52. What is the function of the OSI application layer?

    It provides network protocols directly used by applications, such as HTTP, DNS, FTP, SMTP, and SSH.

  53. Why does the application layer have substantial security risk?

    It is directly exposed to users and includes attacks such as SQL injection, cross-site scripting, phishing, and command-and-control traffic.

  54. What is encapsulation?

    The process in which each lower network layer adds its own header or wrapping to data as it moves down the protocol stack.

  55. What is decapsulation?

    The process of removing and processing headers as received data moves upward through the network layers.

  56. What is DNS tunneling?

    Hiding data inside DNS traffic to move information through a network that permits DNS communication.

  57. What is the TCP/IP model?

    The practical networking model used by the internet, traditionally organized into four layers.

  58. What are the four TCP/IP layers?

    Network Access, Internet, Transport, and Application.

  59. How does the TCP/IP model map to the OSI model?

    TCP/IP Application combines OSI Application, Presentation, and Session; TCP/IP Transport maps to OSI Transport; Internet maps to Network; Network Access combines Data Link and Physical.

  60. What protocols operate in the TCP/IP network access layer?

    Ethernet and Wi-Fi, including physical transmission, framing, and MAC addressing.

  61. What protocols and functions belong to the TCP/IP Internet layer?

    IP addressing and routing, including IPv4, IPv6, ICMP, and ARP.

  62. Why is ping useful in networking and security?

    Ping uses ICMP to test whether a device is reachable or active.

  63. What is the purpose of the TCP/IP transport layer?

    It manages end-to-end delivery between applications using TCP or UDP and uses port numbers to identify applications.

  64. What is IPv4?

    Internet Protocol version 4, which uses 323232-bit addresses written as four decimal octets.

  65. Why did IPv4 address exhaustion occur?

    The limited address space could not support the growing number of internet-connected devices.

  66. What is IPv6?

    Internet Protocol version 6, which uses 128128128-bit addresses written in eight groups of hexadecimal values.

  67. What is dual-stack networking?

    Operating IPv4 and IPv6 simultaneously on the same network.

  68. What is a public IP address?

    A globally unique address that can be reached across the internet.

  69. What is a private IP address?

    An address used within a local network that is not directly reachable from the public internet.

  70. What is NAT?

    Network address translation, which converts private IP addresses to a public IP address and tracks the translations.

  71. Why can NAT complicate forensic investigations?

    A single public IP may represent many internal devices, so investigators need NAT-device logs to identify the original source.

  72. What is the difference between static and dynamic IP addresses?

    A static IP is manually assigned and remains fixed; a dynamic IP is assigned automatically and may change.

  73. What is DHCP?

    Dynamic Host Configuration Protocol, which automatically assigns IP configuration to devices.

  74. What is DHCP starvation?

    An attack that consumes all available DHCP addresses by sending many fraudulent requests.

  75. What is the loopback address?

    The IPv4 address 127.0.0.1127.0.0.1127.0.0.1, which refers to the local device itself.

  76. What is a default gateway?

    The router address a device uses to send traffic outside its local network.

  77. What is a broadcast address?

    An address that delivers data to every device on a local network.

  78. What is a MAC address?

    A hardware address assigned to a network interface for communication on a local network.

  79. How do MAC and IP addresses differ when traffic crosses networks?

    The MAC address changes at each local network segment, while the destination IP address generally remains the same end-to-end.

  80. What is subnetting?

    Dividing a larger network into smaller networks called subnets.

  81. What does a subnet mask identify?

    It identifies which portion of an IP address represents the network and which portion represents the host.

  82. What does CIDR notation /24/24/24 mean?

    It means that 242424 bits of the address identify the network.

  83. How many usable host addresses are typically available in a /24/24/24 subnet?

    254254254 usable host addresses.

  84. How does subnetting improve cybersecurity?

    It isolates systems such as web servers, databases, and employee devices and controls traffic between them.

  85. What is the valid range of TCP and UDP port numbers?

    Port numbers range from 000 through 65,53565{,}53565,535.

  86. What are well-known ports?

    Ports 000 through 102310231023, reserved for standard services.

  87. What are registered ports?

    Ports 102410241024 through 491514915149151, assigned to specific applications and services.

  88. What are dynamic or ephemeral ports?

    Ports 491524915249152 through 655356553565535, temporarily used by client applications.

  89. Which ports are associated with common network services?

    FTP: 202020 and 212121; SSH: 222222; Telnet: 232323; SMTP: 252525; DNS: 535353; DHCP: 676767 and 686868; HTTP: 808080; POP3: 110110110; IMAP: 143143143; HTTPS: 443443443; MySQL: 330633063306; RDP: 338933893389; alternate HTTP: 808080808080.

  90. What is port scanning?

    Probing a system to determine which ports are open and which services may be running.

  91. What does DNS do?

    The Domain Name System translates human-readable domain names into IP addresses.

  92. What are the main steps in DNS resolution?

    The device checks its cache, queries a resolver, and the resolver consults root, top-level-domain, and authoritative servers before returning and caching the IP address.

  93. What is DNS spoofing?

    An attack that causes a system to accept a fraudulent IP address for a legitimate domain.

  94. What is HTTP?

    Hypertext Transfer Protocol, used by browsers and web servers to request and deliver web content.

  95. What is HTTPS?

    HTTP protected by TLS encryption and server authentication through digital certificates.

  96. What are SMTP, IMAP, and POP3 used for?

    SMTP sends email; IMAP reads and synchronizes email while keeping it on the server; POP3 downloads email and commonly removes it from the server.

  97. Why are email protocols important in cybersecurity?

    Email is a major attack vector, and SMTP has limited built-in security, enabling phishing and spoofing.

  98. What is SSH?

    Secure Shell, a protocol for encrypted remote command-line access, normally using port 222222.

  99. Why is Telnet insecure?

    Telnet sends commands, usernames, and passwords in plaintext.

  100. What are recommended SSH security practices?

    Prefer key-based authentication, disable password login when possible, block repeated failures, and restrict or monitor SSH access.

  101. What is the difference between FTP, SFTP, and FTPS?

    FTP transfers files in plaintext; SFTP transfers files through an encrypted SSH connection; FTPS adds TLS encryption to FTP.

  102. Why is anonymous FTP dangerous?

    It allows users to access an FTP server without credentials and may expose sensitive data.

  103. What is TCP?

    Transmission Control Protocol, a connection-oriented transport protocol that provides reliable, ordered delivery.

  104. What is the TCP three-way handshake?

    A connection setup sequence: SYN, SYN-ACK, then ACK.

  105. How does TCP ensure reliable delivery?

    It numbers data, maintains order, uses acknowledgments, retransmits lost segments, and applies flow control.

  106. When is TCP preferred?

    When accurate, complete, and ordered delivery matters more than minimum delay, such as for web browsing, email, file transfer, databases, and SSH.

  107. How does a SYN flood attack work?

    An attacker sends many SYN requests but does not complete the handshakes, leaving the server with many half-open connections.

  108. What are common defenses against SYN floods?

    SYN cookies and rate limiting.

  109. What is a TCP stealth scan?

    A scan that probes a port with a TCP request and quickly cancels or resets the connection instead of completing it.

  110. What is UDP?

    User Datagram Protocol, a connectionless transport protocol that sends data without guaranteeing delivery, order, or retransmission.

  111. When is UDP preferred?

    When speed and low delay matter more than perfect delivery, such as for DNS, streaming, voice calls, gaming, DHCP, SNMP, and TFTP.

  112. How can applications obtain reliability while using UDP?

    They can implement their own ordering, error recovery, and loss handling above UDP.

  113. What is a UDP reflection and amplification attack?

    An attacker spoofs a victim's source IP, sends small requests to third-party servers, and causes larger responses to flood the victim.

  114. Why is UDP especially useful for amplification attacks?

    UDP has no handshake or source verification, making source-address spoofing easier.

  115. How do TCP and UDP compare?

    TCP is connection-oriented, reliable, ordered, and higher overhead; UDP is connectionless, faster, lightweight, and makes no delivery guarantees.

  116. What happens first when a user enters a URL?

    The browser interprets the URL and begins DNS resolution to find the destination IP address.

  117. How is DNS used when loading an HTTPS website?

    The device sends a DNS query, commonly using UDP port 535353, to a resolver, which returns the site's IP address.

  118. How does IP routing deliver a web request?

    The device sends traffic to its default gateway, and routers examine the destination IP and forward the packet to the next hop.

  119. What happens during the TCP setup for an HTTPS connection?

    The client and server complete the SYN, SYN-ACK, ACK three-way handshake, usually targeting port 443443443.

  120. What happens during the TLS handshake?

    The client and server negotiate encryption, exchange certificates to verify identity, and establish encryption keys.

  121. What is an SSL-stripping attack?

    An attack that attempts to downgrade a user's HTTPS connection to unencrypted HTTP.

  122. What does an HTTP request contain?

    It can contain a method such as GET, a path, the HTTP version, the host, user-agent information, cookies, tokens, and other headers.

  123. How does TCP handle the web server's response?

    It reassembles received segments in order and requests retransmission of missing data.

  124. What additional network activity occurs after a browser receives HTML?

    The browser may request CSS, JavaScript, images, and other resources, causing additional DNS lookups and HTTP requests.

  125. What attacks can occur at different stages of a web request?

    DNS poisoning, routing hijacking, TCP flooding, TLS downgrade, header leakage, application exploits, server misconfiguration, and physical tapping.

  126. What is defense in depth?

    Using multiple independent security layers so that one failed control does not compromise the entire system.

  127. What is BGP hijacking?

    An attack or routing error that manipulates internet routing so traffic is redirected through an unintended path.

  128. Why are open ports considered an attack surface?

    Each open port may expose a running service with vulnerabilities that attackers can probe or exploit.

  129. What tools can help students observe network behavior?

    Wireshark can capture packets, Nmap can scan ports and hosts, ping tests reachability, and traceroute shows routing paths.

Card 1 of 129
Card 1 of 129

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent