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

  • 112Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Network Foundations

What is a computer network?

112 questions

  1. 1

    What is a computer network?

    1. A

      A physical cable that carries electrical signals

    2. B

      A security program that blocks unauthorized users

    3. C

      A collection of connected devices that share information

    4. D

      A single computer that stores information locally

    Correct answer
    C

    A collection of connected devices that share information

    Explanation

    A network is a collection of devices connected so they can communicate and share information.

  2. 2

    In the neighborhood analogy for networking, what represents the data?

    1. A

      The houses

    2. B

      The package

    3. C

      The delivery address

    4. D

      The roads

    Correct answer
    B

    The package

    Explanation

    Devices are compared with houses, cables or wireless signals with roads, and data with packages being delivered.

  3. 3

    Which situation best illustrates how attackers commonly enter systems?

    1. A

      They physically replace every computer in the organization

    2. B

      They access the system only through an authorized administrator

    3. C

      They exploit a protocol, open port, or misconfigured service

    4. D

      They disable all network cables before connecting a device

    Correct answer
    C

    They exploit a protocol, open port, or misconfigured service

    Explanation

    Many attacks enter through networks by exploiting protocols, open ports, or misconfigured services.

  4. 4

    What does an IP address primarily identify?

    1. A

      The specific application receiving data

    2. B

      The communication rules used by two devices

    3. C

      The location and identity of a device on a network

    4. D

      The physical material used to transmit signals

    Correct answer
    C

    The location and identity of a device on a network

    Explanation

    An IP address identifies a device and provides the logical location to which data should be sent.

  5. 5

    What is the primary purpose of a port number?

    1. A

      To identify the physical cable carrying a packet

    2. B

      To encrypt the contents of a network message

    3. C

      To replace the destination IP address during routing

    4. D

      To identify which service or application receives data

    Correct answer
    D

    To identify which service or application receives data

    Explanation

    A port acts like a door on a device and directs incoming data to the appropriate service or application.

  6. 6

    What is a network protocol?

    1. A

      A set of rules governing how devices communicate

    2. B

      A hardware component that connects computers

    3. C

      A security boundary between two networks

    4. D

      A numerical address assigned to a device

    Correct answer
    A

    A set of rules governing how devices communicate

    Explanation

    A protocol defines communication procedures, including formatting, timing, error handling, and message exchange.

  7. 7

    Which pairing correctly matches a port with its commonly associated service?

    1. A

      Port 22 with domain-name resolution

    2. B

      Port 80 with web traffic

    3. C

      Port 25 with remote command-line access

    4. D

      Port 443 with email delivery

    Correct answer
    B

    Port 80 with web traffic

    Explanation

    Port 80 is commonly associated with HTTP web traffic. Port 443 is HTTPS, port 25 is SMTP, and port 22 is SSH.

  8. 8

    Why is networking knowledge especially important in cybersecurity?

    1. A

      Attackers can only target systems that have no network connection

    2. B

      Networks eliminate the need to secure individual applications

    3. C

      Major attacks commonly use network protocols, ports, and services

    4. D

      Most security controls operate without communicating over networks

    Correct answer
    C

    Major attacks commonly use network protocols, ports, and services

    Explanation

    Breaches, ransomware, phishing, and man-in-the-middle attacks operate through or depend on networks.

  9. 9

    What distinguishes a LAN from a WAN?

    1. A

      A LAN always uses wireless signals, while a WAN always uses cables

    2. B

      A LAN connects different countries, while a WAN connects one room

    3. C

      A LAN covers a small local area, while a WAN spans a large geographic area

    4. D

      A LAN is public, while a WAN is always private

    Correct answer
    C

    A LAN covers a small local area, while a WAN spans a large geographic area

    Explanation

    A LAN commonly covers a home, office, or building, whereas a WAN connects networks across large geographic distances.

  10. 10

    Why are LANs often faster than WANs?

    1. A

      WANs cannot use routers

    2. B

      LANs transmit data without protocols

    3. C

      LANs never use encryption

    4. D

      LAN devices are usually closer together

    Correct answer
    D

    LAN devices are usually closer together

    Explanation

    LAN devices are geographically close, so data generally travels a shorter distance.

  11. 11

    Why is network segmentation valuable inside a LAN?

    1. A

      It guarantees that no device can communicate with any other device

    2. B

      It allows every device to receive every transmitted packet

    3. C

      It replaces all network hardware with wireless access points

    4. D

      It divides the network into isolated zones and limits an attacker's movement

    Correct answer
    D

    It divides the network into isolated zones and limits an attacker's movement

    Explanation

    Segmentation separates systems into zones, reducing the ability of an attacker in one area to reach everything else.

  12. 12

    Why is encryption particularly important for traffic crossing a WAN?

    1. A

      WANs prevent all unauthorized users from observing traffic

    2. B

      WAN devices do not use IP addresses

    3. C

      WAN traffic passes through many networks, routers, providers, and data centers

    4. D

      WAN traffic cannot be divided into packets

    Correct answer
    C

    WAN traffic passes through many networks, routers, providers, and data centers

    Explanation

    WAN traffic travels through many intermediary systems, creating more opportunities for interception.

  13. 13

    Which example best represents a PAN?

    1. A

      Bluetooth connecting a phone to wireless earbuds

    2. B

      The internet connecting continents

    3. C

      A university connecting buildings across a city

    4. D

      A bank connecting offices in fifty cities

    Correct answer
    A

    Bluetooth connecting a phone to wireless earbuds

    Explanation

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

  14. 14

    What is a WLAN?

    1. A

      A WAN that uses satellite communication

    2. B

      A LAN that uses wireless communication such as Wi-Fi

    3. C

      A network that connects only personal devices through Bluetooth

    4. D

      A private network created only by a VPN

    Correct answer
    B

    A LAN that uses wireless communication such as Wi-Fi

    Explanation

    A WLAN is a wireless local area network, such as a home Wi-Fi network.

  15. 15

    What does a VPN create over a public network?

    1. A

      A replacement for every physical router

    2. B

      A private encrypted tunnel

    3. C

      A direct physical cable between distant devices

    4. D

      A public broadcast channel

    Correct answer
    B

    A private encrypted tunnel

    Explanation

    A VPN creates a private encrypted tunnel through a public network such as the internet.

  16. 16

    What is the primary function of a router?

    1. A

      To encrypt every application message automatically

    2. B

      To connect devices only within the same local network

    3. C

      To connect different networks and direct traffic between them

    4. D

      To convert domain names directly into web pages

    Correct answer
    C

    To connect different networks and direct traffic between them

    Explanation

    Routers connect separate networks and use destination IP addresses to determine where packets should go.

  17. 17

    What is the main difference between a switch and a router?

    1. A

      A switch connects devices within a network, while a router connects different networks

    2. B

      A switch assigns domain names, while a router encrypts email

    3. C

      A switch provides internet access, while a router only connects printers

    4. D

      A switch operates only wirelessly, while a router operates only through fiber

    Correct answer
    A

    A switch connects devices within a network, while a router connects different networks

    Explanation

    Switches connect devices on the same network, while routers move traffic between different networks.

  18. 18

    How does a switch differ from a traditional hub?

    1. A

      A switch encrypts traffic, while a hub authenticates users

    2. B

      A switch sends traffic to the intended device, while a hub broadcasts it to all devices

    3. C

      A switch connects networks, while a hub assigns public IP addresses

    4. D

      A switch uses only radio signals, while a hub uses only fiber

    Correct answer
    B

    A switch sends traffic to the intended device, while a hub broadcasts it to all devices

    Explanation

    A hub broadcasts every message, whereas a switch forwards a message to the specific destination device.

  19. 19

    What can MAC flooding force a switch to do?

    1. A

      Act more like a hub and broadcast traffic broadly

    2. B

      Disable every port on the network permanently

    3. C

      Encrypt all packets before they leave the switch

    4. D

      Convert all private IP addresses into public addresses

    Correct answer
    A

    Act more like a hub and broadcast traffic broadly

    Explanation

    MAC flooding can overwhelm a switch's address table, causing it to broadcast traffic like a hub.

  20. 20

    What does a firewall do?

    1. A

      Breaks every file into packets for internet transmission

    2. B

      Assigns a unique MAC address to every device

    3. C

      Translates application names into physical connectors

    4. D

      Monitors and controls traffic according to defined rules

    Correct answer
    D

    Monitors and controls traffic according to defined rules

    Explanation

    A firewall inspects incoming and outgoing traffic and allows or blocks it based on rules such as IP, port, or protocol.

  21. 21

    Which factor can a firewall use when deciding whether to allow traffic?

    1. A

      The brand of keyboard attached to the computer

    2. B

      The physical color of the network cable

    3. C

      The packet's IP address or port number

    4. D

      The number of applications installed on the device

    Correct answer
    C

    The packet's IP address or port number

    Explanation

    Firewalls can filter by IP address, port, protocol, and more complex behavioral patterns.

  22. 22

    What is the purpose of a wireless access point?

    1. A

      To route packets between continents without an ISP

    2. B

      To inspect application content as a firewall does

    3. C

      To broadcast a wireless network that devices can join

    4. D

      To replace all IP addresses with MAC addresses

    Correct answer
    C

    To broadcast a wireless network that devices can join

    Explanation

    A wireless access point creates Wi-Fi coverage and allows wireless devices to connect to a network.

  23. 23

    Why are wireless networks generally more exposed than wired networks?

    1. A

      Wireless networks cannot use passwords or encryption

    2. B

      Wireless signals travel through the air and can be captured within range

    3. C

      Wireless devices never use authentication protocols

    4. D

      Wireless traffic cannot be divided into packets

    Correct answer
    B

    Wireless signals travel through the air and can be captured within range

    Explanation

    Because wireless data is broadcast through the air, nearby attackers can attempt to capture it; WPA2 or WPA3 helps protect it.

  24. 24

    What is the role of a network interface card?

    1. A

      It determines the best route between internet providers

    2. B

      It stores every DNS record used by the organization

    3. C

      It provides the hardware interface for a device's network communication

    4. D

      It blocks all incoming traffic without configuration

    Correct answer
    C

    It provides the hardware interface for a device's network communication

    Explanation

    A network interface card may be an Ethernet port or Wi-Fi radio and handles network communication.

  25. 25

    What happens to a large file sent across the internet?

    1. A

      It is divided into smaller packets that can travel independently

    2. B

      It remains one continuous block transported by a single router

    3. C

      It is converted directly into a domain name before transmission

    4. D

      It is sent only through the physically shortest cable

    Correct answer
    A

    It is divided into smaller packets that can travel independently

    Explanation

    Large files are broken into packets, which may take different routes and are reassembled at the destination.

  26. 26

    Which information can be included in a packet?

    1. A

      Only the physical location of the nearest router

    2. B

      The complete contents of every file on the sender's device

    3. C

      Only the name of the person who created the file

    4. D

      Source IP, destination IP, reassembly information, and error-checking data

    Correct answer
    D

    Source IP, destination IP, reassembly information, and error-checking data

    Explanation

    Packets include data plus addressing, reassembly, and error-checking information.

  27. 27

    What is packet switching?

    1. A

      Switching between public and private IP addresses manually

    2. B

      Sending data as packets that may take different routes and are reassembled later

    3. C

      Replacing packets with unstructured electrical noise

    4. D

      Sending all data through one permanent circuit

    Correct answer
    B

    Sending data as packets that may take different routes and are reassembled later

    Explanation

    Packet switching allows packets to travel independently and be reassembled at the destination.

  28. 28

    What can a packet sniffer such as Wireshark do?

    1. A

      Replace TCP with UDP on every network connection

    2. B

      Automatically repair every vulnerability in a server

    3. C

      Assign private addresses to devices without a router

    4. D

      Capture and inspect packets traveling across a network

    Correct answer
    D

    Capture and inspect packets traveling across a network

    Explanation

    Packet sniffers capture network packets for inspection; unencrypted contents may be readable.

  29. 29

    What distinguishes the client-server model?

    1. A

      Clients request services and servers respond to those requests

    2. B

      Every device performs identical roles without centralized systems

    3. C

      Servers can only communicate with other servers

    4. D

      Clients route packets while servers provide physical cables

    Correct answer
    A

    Clients request services and servers respond to those requests

    Explanation

    In the client-server model, clients such as browsers request resources and servers provide them.

  30. 30

    What distinguishes a peer-to-peer network?

    1. A

      Only routers can request or provide data

    2. B

      Each device can act as both a client and a server

    3. C

      Devices are unable to upload data to one another

    4. D

      All devices must communicate through one centralized server

    Correct answer
    B

    Each device can act as both a client and a server

    Explanation

    In peer-to-peer networks, devices share directly and can both request and provide resources.

  31. 31

    Why can peer-to-peer networks be difficult to control?

    1. A

      They require all traffic to pass through one firewall

    2. B

      They lack a single central server that can be monitored or shut down

    3. C

      They allow communication only within one physical building

    4. D

      They never use network protocols

    Correct answer
    B

    They lack a single central server that can be monitored or shut down

    Explanation

    P2P networks distribute communication among devices, making centralized monitoring and control more difficult.

  32. 32

    What does bandwidth measure?

    1. A

      The number of devices connected to a router

    2. B

      The time required for one packet to reach its destination

    3. C

      The maximum amount of data transferred per unit of time

    4. D

      The physical distance between two network endpoints

    Correct answer
    C

    The maximum amount of data transferred per unit of time

    Explanation

    Bandwidth is the capacity of a connection, commonly measured in bits per second such as Mbps or Gbps.

  33. 33

    What does latency measure?

    1. A

      The total storage capacity of a network server

    2. B

      The number of lanes available for simultaneous data transfer

    3. C

      The time required for data to travel from source to destination

    4. D

      The number of ports open on a firewall

    Correct answer
    C

    The time required for data to travel from source to destination

    Explanation

    Latency is travel time, usually measured in milliseconds; lower latency is generally preferable.

  34. 34

    How does a denial-of-service attack affect bandwidth?

    1. A

      It converts all network traffic into encrypted traffic

    2. B

      It reduces latency by sending fewer packets

    3. C

      It consumes bandwidth with excessive traffic, preventing legitimate access

    4. D

      It increases available bandwidth by closing unused ports

    Correct answer
    C

    It consumes bandwidth with excessive traffic, preventing legitimate access

    Explanation

    A DoS or DDoS attack floods a network or service until its resources or bandwidth are consumed.

  35. 35

    Why was the OSI model created?

    1. A

      To eliminate the need for physical network connections

    2. B

      To replace all practical internet protocols with one protocol

    3. C

      To ensure every network uses identical hardware from one vendor

    4. D

      To provide a standardized framework that helps different systems interoperate

    Correct answer
    D

    To provide a standardized framework that helps different systems interoperate

    Explanation

    The OSI model addressed incompatibility among vendor-specific systems by defining conceptual communication layers.

  36. 36

    How is the OSI model organized?

    1. A

      Into two layers, one for hardware and one for software

    2. B

      Into ten layers, each dedicated to one application

    3. C

      Into four layers, each representing a different vendor

    4. D

      Into seven layers, each with a specific communication responsibility

    Correct answer
    D

    Into seven layers, each with a specific communication responsibility

    Explanation

    The OSI model has seven layers, with each layer communicating with the layers immediately above and below it.

  37. 37

    What is the primary responsibility of the physical layer?

    1. A

      Transmitting raw bits over a physical medium

    2. B

      Managing application login sessions

    3. C

      Routing packets between different IP networks

    4. D

      Translating domain names into IP addresses

    Correct answer
    A

    Transmitting raw bits over a physical medium

    Explanation

    The physical layer handles raw bits, signals, connectors, voltages, cables, fiber, and radio transmission.

  38. 38

    Which attack targets the physical layer?

    1. A

      Cutting or tapping a cable

    2. B

      Stealing an application session token

    3. C

      Forging a source IP address

    4. D

      Injecting malicious SQL commands

    Correct answer
    A

    Cutting or tapping a cable

    Explanation

    Physical-layer attacks include cable cutting, cable tapping, and wireless-frequency jamming.

  39. 39

    What does the data link layer handle?

    1. A

      Frames, MAC addresses, local delivery, and error detection

    2. B

      Application requests and web-page rendering

    3. C

      End-user authentication for remote applications

    4. D

      Global routing using domain names

    Correct answer
    A

    Frames, MAC addresses, local delivery, and error detection

    Explanation

    The data link layer organizes bits into frames and uses MAC addresses for communication on a local network.

  40. 40

    How does ARP spoofing enable a man-in-the-middle attack?

    1. A

      It encrypts traffic with a stronger version of TLS

    2. B

      It physically disconnects every device from the switch

    3. C

      It changes a server's application port from 80 to 443

    4. D

      It sends false mappings so traffic is directed to the attacker's MAC address

    Correct answer
    D

    It sends false mappings so traffic is directed to the attacker's MAC address

    Explanation

    ARP maps IP addresses to MAC addresses. False ARP messages can redirect local traffic through an attacker.

  41. 41

    What is the main role of the network layer?

    1. A

      Establishing application sessions and checkpoints

    2. B

      Sending raw electrical signals through cables

    3. C

      Logical addressing and routing packets between networks

    4. D

      Encoding characters into different formats

    Correct answer
    C

    Logical addressing and routing packets between networks

    Explanation

    The network layer uses IP addresses to determine paths across interconnected networks.

  42. 42

    What is IP spoofing?

    1. A

      Redirecting a local application to a different port

    2. B

      Changing a device's physical MAC address permanently

    3. C

      Forging the source IP address to disguise the origin of traffic

    4. D

      Encrypting a packet so its destination cannot be identified

    Correct answer
    C

    Forging the source IP address to disguise the origin of traffic

    Explanation

    IP spoofing falsifies the source IP address and is often used to conceal attack traffic.

  43. 43

    Which functions belong to the transport layer?

    1. A

      Domain-name lookup and web-page formatting

    2. B

      Physical access control and building surveillance

    3. C

      Segmentation, flow control, retransmission, and port identification

    4. D

      Cable signaling, voltage levels, and connector design

    Correct answer
    C

    Segmentation, flow control, retransmission, and port identification

    Explanation

    The transport layer manages end-to-end delivery, including segments, ports, flow control, and error recovery.

  44. 44

    What is session hijacking?

    1. A

      Overwhelming a switch with false MAC addresses

    2. B

      Changing the route a packet takes between two routers

    3. C

      Stealing an active session token to impersonate a logged-in user

    4. D

      Capturing wireless signals without joining the network

    Correct answer
    C

    Stealing an active session token to impersonate a logged-in user

    Explanation

    An attacker who obtains an active session token may impersonate a user without knowing the password.

  45. 45

    Which responsibilities belong to the presentation layer?

    1. A

      Data translation, encryption, decryption, and compression

    2. B

      Assigning ports to individual applications

    3. C

      Routing packets and selecting the next network hop

    4. D

      Connecting computers with Ethernet cables

    Correct answer
    A

    Data translation, encryption, decryption, and compression

    Explanation

    The presentation layer handles data representation, encryption and decryption, and compression.

  46. 46

    Which activity is associated with the application layer?

    1. A

      Defining the voltage that represents a binary one

    2. B

      Controlling the physical shape of network connectors

    3. C

      Using protocols such as HTTP, DNS, FTP, SMTP, and SSH

    4. D

      Forwarding packets based only on MAC addresses

    Correct answer
    C

    Using protocols such as HTTP, DNS, FTP, SMTP, and SSH

    Explanation

    The application layer contains protocols used directly by applications, including HTTP, DNS, FTP, SMTP, and SSH.

  47. 47

    What is encapsulation?

    1. A

      Adding layer-specific headers as data moves down the sending stack

    2. B

      Sending all packets without transport or network information

    3. C

      Removing every header before data is transmitted

    4. D

      Converting a public IP address into a private MAC address

    Correct answer
    A

    Adding layer-specific headers as data moves down the sending stack

    Explanation

    During encapsulation, each layer adds its own header or wrapping before the data is transmitted.

  48. 48

    What is decapsulation?

    1. A

      Assigning a new public IP address at every router

    2. B

      Broadcasting a packet to every local device

    3. C

      Removing and processing headers as data moves up the receiving stack

    4. D

      Adding multiple encryption layers while data leaves the sender

    Correct answer
    C

    Removing and processing headers as data moves up the receiving stack

    Explanation

    At the destination, each layer removes and interprets its corresponding header as the data moves upward.

  49. 49

    What is DNS tunneling?

    1. A

      Using DNS to physically connect two distant routers

    2. B

      Replacing all HTTP requests with email messages

    3. C

      Hiding data inside DNS traffic to move it through a network

    4. D

      Encrypting every DNS response with a private MAC address

    Correct answer
    C

    Hiding data inside DNS traffic to move it through a network

    Explanation

    DNS tunneling embeds data in DNS requests or responses, sometimes to exfiltrate information through permitted DNS traffic.

  50. 50

    How does the TCP/IP model differ from the OSI model?

    1. A

      TCP/IP is only theoretical, while OSI is used by every internet packet

    2. B

      TCP/IP has seven required layers, while OSI has four required layers

    3. C

      TCP/IP is the practical internet model, while OSI is a seven-layer conceptual framework

    4. D

      TCP/IP excludes application protocols, while OSI includes only applications

    Correct answer
    C

    TCP/IP is the practical internet model, while OSI is a seven-layer conceptual framework

    Explanation

    TCP/IP describes the practical model used by the internet, whereas OSI provides a broader conceptual framework.

  51. 51

    How does TCP/IP map to OSI layers?

    1. A

      TCP/IP transport combines OSI layers 1 and 2

    2. B

      TCP/IP application combines OSI layers 5 through 7

    3. C

      TCP/IP internet combines OSI layers 5 through 7

    4. D

      TCP/IP network access corresponds only to OSI layer 7

    Correct answer
    B

    TCP/IP application combines OSI layers 5 through 7

    Explanation

    The TCP/IP application layer combines the OSI session, presentation, and application layers.

  52. 52

    Which protocols operate at the TCP/IP internet layer?

    1. A

      TCP, UDP, and SSH

    2. B

      Ethernet, Wi-Fi, and TLS

    3. C

      IP, ICMP, and ARP

    4. D

      HTTP, SMTP, and FTP

    Correct answer
    C

    IP, ICMP, and ARP

    Explanation

    The internet layer handles logical addressing and routing through protocols such as IP, ICMP, and ARP.

  53. 53

    What does ICMP support?

    1. A

      Network-control messages such as those used by ping

    2. B

      Encrypted file transfer over SSH

    3. C

      Web-page requests over HTTPS

    4. D

      Email retrieval from a mail server

    Correct answer
    A

    Network-control messages such as those used by ping

    Explanation

    ICMP supports control and diagnostic messages; ping uses it to test whether a device is reachable.

  54. 54

    Which statement correctly describes TCP and UDP?

    1. A

      TCP never retransmits data, while UDP guarantees every packet

    2. B

      TCP emphasizes reliable ordered delivery, while UDP emphasizes speed

    3. C

      TCP is used only for local traffic, while UDP is used only globally

    4. D

      TCP is connectionless, while UDP requires a three-way handshake

    Correct answer
    B

    TCP emphasizes reliable ordered delivery, while UDP emphasizes speed

    Explanation

    TCP provides reliable, ordered delivery, whereas UDP sends data with less overhead and no delivery guarantee.

  55. 55

    What is an IPv4 address?

    1. A

      A 16-bit number identifying an application service

    2. B

      A 48-bit hardware address embedded in a network card

    3. C

      A 32-bit address written as four decimal numbers separated by dots

    4. D

      A 128-bit address written as eight hexadecimal groups

    Correct answer
    C

    A 32-bit address written as four decimal numbers separated by dots

    Explanation

    IPv4 addresses contain 32 bits and are commonly written as four decimal octets separated by periods.

  56. 56

    What is the valid range for each IPv4 octet?

    1. A

      0 through 65,535

    2. B

      1 through 128

    3. C

      10 through 999

    4. D

      0 through 255

    Correct answer
    D

    0 through 255

    Explanation

    Each IPv4 octet contains 8 bits and therefore ranges from 0 to 255.

  57. 57

    Why did IPv6 become necessary?

    1. A

      IPv4 addresses can only be used by wireless devices

    2. B

      IPv4 does not support any form of encryption

    3. C

      The limited IPv4 address space could not support the growing number of devices

    4. D

      IPv4 cannot route traffic between two local networks

    Correct answer
    C

    The limited IPv4 address space could not support the growing number of devices

    Explanation

    IPv4 provides about 4.3 billion addresses, which became insufficient as the number of connected devices grew.

  58. 58

    How does IPv6 differ from IPv4 in address size?

    1. A

      IPv6 uses 16-bit addresses, while IPv4 uses 64-bit addresses

    2. B

      IPv6 uses 48-bit addresses, while IPv4 uses 16-bit addresses

    3. C

      IPv6 uses 128-bit addresses, while IPv4 uses 32-bit addresses

    4. D

      IPv6 uses 32-bit addresses, while IPv4 uses 128-bit addresses

    Correct answer
    C

    IPv6 uses 128-bit addresses, while IPv4 uses 32-bit addresses

    Explanation

    IPv6 addresses are 128 bits long, providing a vastly larger address space than 32-bit IPv4.

  59. 59

    What is a dual-stack network?

    1. A

      A network that supports both IPv4 and IPv6

    2. B

      A network that assigns two ports to every service

    3. C

      A network that encrypts traffic twice with the same key

    4. D

      A network with two physical switches but no router

    Correct answer
    A

    A network that supports both IPv4 and IPv6

    Explanation

    Dual-stack networks operate IPv4 and IPv6 simultaneously; security controls must cover both.

  60. 60

    What distinguishes a public IP address from a private IP address?

    1. A

      A public IP never changes, while a private IP must always be static

    2. B

      A public IP is internet-reachable, while a private IP is used inside a local network

    3. C

      A public IP is used only for printers, while a private IP is used only for servers

    4. D

      A public IP identifies a MAC address, while a private IP identifies a protocol

    Correct answer
    B

    A public IP is internet-reachable, while a private IP is used inside a local network

    Explanation

    Public addresses are globally reachable, whereas private addresses are intended for internal network use.

  61. 61

    Which address belongs to a common private IPv4 range?

    1. A

      203.0.113.50

    2. B

      192.168.1.5

    3. C

      93.184.216.34

    4. D

      8.8.8.8

    Correct answer
    B

    192.168.1.5

    Explanation

    The 192.168.0.0 through 192.168.255.255 range is reserved for private networks.

  62. 62

    What is the purpose of NAT?

    1. A

      To guarantee encryption for all internet traffic

    2. B

      To let multiple private devices share a public IP address

    3. C

      To convert every MAC address into a domain name

    4. D

      To assign a permanent static address to every device

    Correct answer
    B

    To let multiple private devices share a public IP address

    Explanation

    Network address translation maps internal private addresses to a public address and tracks the translations for returning traffic.

  63. 63

    Why can NAT complicate forensic investigations?

    1. A

      One public IP may represent many internal devices

    2. B

      NAT prevents routers from recording any packet information

    3. C

      NAT removes all records of network activity automatically

    4. D

      One private IP always represents thousands of public servers

    Correct answer
    A

    One public IP may represent many internal devices

    Explanation

    Investigators may need NAT logs because a single public address can correspond to many internal devices.

  64. 64

    What is the difference between static and dynamic IP addressing?

    1. A

      Static addresses are private, while dynamic addresses are always public

    2. B

      Static addresses are manually fixed, while dynamic addresses are assigned automatically and may change

    3. C

      Static addresses use IPv6, while dynamic addresses use only IPv4

    4. D

      Static addresses identify applications, while dynamic addresses identify cables

    Correct answer
    B

    Static addresses are manually fixed, while dynamic addresses are assigned automatically and may change

    Explanation

    Static addresses remain manually assigned, whereas dynamic addresses are commonly assigned by DHCP and may change.

  65. 65

    What is DHCP starvation?

    1. A

      Capturing packets from a wireless network without encryption

    2. B

      Sending false DNS responses to redirect web users

    3. C

      Changing a device's MAC address to avoid local restrictions

    4. D

      Flooding a network with requests until available IP addresses are exhausted

    Correct answer
    D

    Flooding a network with requests until available IP addresses are exhausted

    Explanation

    In DHCP starvation, an attacker consumes the available address pool, preventing legitimate devices from obtaining addresses.

  66. 66

    What does the loopback address refer to?

    1. A

      Every device on the local network

    2. B

      The public address assigned by an ISP

    3. C

      The local device itself

    4. D

      The default router on the local network

    Correct answer
    C

    The local device itself

    Explanation

    The loopback address, commonly 127.0.0.1, refers back to the device on which it is used.

  67. 67

    What is the default gateway?

    1. A

      The switch port assigned to the device's application

    2. B

      The router a device uses to reach destinations outside its local network

    3. C

      The physical connector used for wireless communication

    4. D

      The DNS server that stores every domain name

    Correct answer
    B

    The router a device uses to reach destinations outside its local network

    Explanation

    A device sends traffic for outside networks to its default gateway, usually the local router.

  68. 68

    What does a broadcast address do?

    1. A

      It sends data to every device on a local network

    2. B

      It sends data exclusively across the public internet

    3. C

      It sends data only to the default gateway

    4. D

      It sends data to one application on one device

    Correct answer
    A

    It sends data to every device on a local network

    Explanation

    A broadcast address targets all devices on the relevant local network.

  69. 69

    What is a MAC address?

    1. A

      A port number used by web servers

    2. B

      A protocol that encrypts wireless traffic

    3. C

      A logical address used to route between continents

    4. D

      A hardware address associated with a network interface

    Correct answer
    D

    A hardware address associated with a network interface

    Explanation

    A MAC address is a hardware identifier for a network interface and operates at the data link layer.

  70. 70

    How do MAC and IP addresses behave when traffic crosses networks?

    1. A

      MAC addresses change at network boundaries, while the destination IP generally remains the same

    2. B

      IP addresses change at every switch, while MAC addresses remain globally constant

    3. C

      Both addresses are replaced at every application layer

    4. D

      Neither address is used after a packet leaves the sender

    Correct answer
    A

    MAC addresses change at network boundaries, while the destination IP generally remains the same

    Explanation

    MAC addresses are used for local delivery and can change at each network hop, while IP addresses support end-to-end routing.

  71. 71

    What does a subnet mask identify?

    1. A

      Which portion of an IP address represents the network and which represents the host

    2. B

      Which protocol controls wireless authentication

    3. C

      Which physical cable carries the packet

    4. D

      Which port receives encrypted web traffic

    Correct answer
    A

    Which portion of an IP address represents the network and which represents the host

    Explanation

    A subnet mask separates the network portion of an address from the device or host portion.

  72. 72

    What does the notation 192.168.1.0/24 indicate?

    1. A

      The network can contain exactly 24 total addresses

    2. B

      The address contains 24 separate devices

    3. C

      The last 24 bits identify the network

    4. D

      The first 24 bits identify the network

    Correct answer
    D

    The first 24 bits identify the network

    Explanation

    The /24 prefix means that 24 bits are allocated to the network portion of the address.

  73. 73

    Why is subnetting useful for cybersecurity?

    1. A

      It guarantees that attackers cannot compromise any device

    2. B

      It gives every device a globally routable public address

    3. C

      It eliminates the need for firewalls and access controls

    4. D

      It separates systems into zones and limits the blast radius of a compromise

    Correct answer
    D

    It separates systems into zones and limits the blast radius of a compromise

    Explanation

    Subnetting can place web servers, databases, and employee devices in separate zones with controlled traffic between them.

  74. 74

    What is the numerical range of TCP and UDP ports?

    1. A

      0 through 65,535

    2. B

      1 through 255

    3. C

      0 through 1,024

    4. D

      1,024 through 65,535 only

    Correct answer
    A

    0 through 65,535

    Explanation

    Port numbers range from 0 to 65,535.

  75. 75

    Which range contains well-known ports?

    1. A

      10,000 through 20,000

    2. B

      1,024 through 49,151

    3. C

      0 through 1,023

    4. D

      49,152 through 65,535

    Correct answer
    C

    0 through 1,023

    Explanation

    Well-known ports range from 0 through 1,023 and are reserved for standard services.

  76. 76

    Which range contains registered ports?

    1. A

      49,152 through 65,535

    2. B

      65,536 through 100,000

    3. C

      1,024 through 49,151

    4. D

      0 through 1,023

    Correct answer
    C

    1,024 through 49,151

    Explanation

    Registered ports range from 1,024 through 49,151 and are assigned to particular applications.

  77. 77

    What are ephemeral ports used for?

    1. A

      Permanent router-to-router links

    2. B

      Only encrypted DNS communication

    3. C

      Temporary client-side connections

    4. D

      Reserved physical cable connections

    Correct answer
    C

    Temporary client-side connections

    Explanation

    Ephemeral ports, commonly 49,152 through 65,535, are temporary ports often opened by clients for responses.

  78. 78

    Which port is associated with HTTPS?

    1. A

      443

    2. B

      25

    3. C

      21

    4. D

      3389

    Correct answer
    A

    443

    Explanation

    HTTPS commonly uses port 443.

  79. 79

    Which port is associated with SSH?

    1. A

      22

    2. B

      23

    3. C

      110

    4. D

      53

    Correct answer
    A

    22

    Explanation

    SSH commonly runs on port 22.

  80. 80

    Why do attackers perform port scans?

    1. A

      To encrypt all traffic leaving the network

    2. B

      To increase the bandwidth available to legitimate users

    3. C

      To identify open ports and the services that may contain vulnerabilities

    4. D

      To assign private IP addresses to every device

    Correct answer
    C

    To identify open ports and the services that may contain vulnerabilities

    Explanation

    Open ports indicate running services, which may provide potential attack surfaces.

  81. 81

    What is the main function of DNS?

    1. A

      To translate domain names into IP addresses

    2. B

      To guarantee delivery of every transport segment

    3. C

      To assign MAC addresses to network cards

    4. D

      To encrypt web traffic between a browser and server

    Correct answer
    A

    To translate domain names into IP addresses

    Explanation

    DNS resolves human-readable names such as google.com into numerical IP addresses.

  82. 82

    What usually happens before a device asks a DNS resolver for a name?

    1. A

      It checks its local DNS cache

    2. B

      It sends a TCP reset to the root servers

    3. C

      It opens an FTP connection

    4. D

      It changes its default gateway

    Correct answer
    A

    It checks its local DNS cache

    Explanation

    The device first checks its local cache; if no answer is present, it queries a configured resolver.

  83. 83

    What is DNS spoofing?

    1. A

      Blocking all DNS queries at the default gateway

    2. B

      Encrypting a DNS query with a private MAC address

    3. C

      Using TCP instead of UDP for every DNS request

    4. D

      Returning a fraudulent IP address for a requested domain

    Correct answer
    D

    Returning a fraudulent IP address for a requested domain

    Explanation

    DNS spoofing tricks a system into accepting a false address, potentially redirecting the user to a malicious site.

  84. 84

    What is the key security difference between HTTP and HTTPS?

    1. A

      HTTPS uses TLS encryption and server certificates, while HTTP sends data in plain text

    2. B

      HTTP uses encryption, while HTTPS disables all authentication

    3. C

      HTTPS is used only for email, while HTTP is used only for file transfer

    4. D

      HTTP guarantees confidentiality, while HTTPS guarantees only delivery

    Correct answer
    A

    HTTPS uses TLS encryption and server certificates, while HTTP sends data in plain text

    Explanation

    HTTPS wraps HTTP in TLS, protecting data in transit and helping verify the server's identity.

  85. 85

    Which protocol is primarily used to send email?

    1. A

      IMAP

    2. B

      SMTP

    3. C

      DNS

    4. D

      POP3

    Correct answer
    B

    SMTP

    Explanation

    SMTP is used to send email from a client to a mail server and between mail servers.

  86. 86

    How does IMAP differ from POP3?

    1. A

      IMAP encrypts all messages, while POP3 always uses TLS

    2. B

      IMAP sends email, while POP3 resolves domain names

    3. C

      IMAP keeps messages on the server for synchronization, while POP3 commonly downloads them

    4. D

      IMAP transfers files, while POP3 provides remote command-line access

    Correct answer
    C

    IMAP keeps messages on the server for synchronization, while POP3 commonly downloads them

    Explanation

    IMAP maintains server-side mail and synchronizes multiple devices, while POP3 commonly downloads messages to one device.

  87. 87

    Why is SSH safer than Telnet?

    1. A

      SSH uses no authentication, while Telnet requires cryptographic keys

    2. B

      SSH operates only locally, while Telnet operates across the internet

    3. C

      SSH does not use ports, while Telnet uses dynamic ports

    4. D

      SSH encrypts remote sessions, while Telnet sends commands and passwords in plain text

    Correct answer
    D

    SSH encrypts remote sessions, while Telnet sends commands and passwords in plain text

    Explanation

    SSH encrypts remote command-line communication and can use key-based authentication; Telnet transmits data in plain text.

  88. 88

    What is the security advantage of SFTP over FTP?

    1. A

      SFTP avoids authentication by using anonymous access

    2. B

      SFTP sends passwords in plain text but uses a faster port

    3. C

      SFTP operates without any network protocol

    4. D

      SFTP transfers files through an encrypted SSH connection

    Correct answer
    D

    SFTP transfers files through an encrypted SSH connection

    Explanation

    SFTP runs over SSH, encrypting file transfers and authentication information.

  89. 89

    Why is anonymous FTP a serious misconfiguration?

    1. A

      It forces every user to use multi-factor authentication

    2. B

      It blocks all file transfers from unauthorized users

    3. C

      It may allow anyone to access files without valid credentials

    4. D

      It encrypts files with an unknown private key

    Correct answer
    C

    It may allow anyone to access files without valid credentials

    Explanation

    Anonymous FTP can expose sensitive data because users may log in without proper credentials.

  90. 90

    What is the defining characteristic of TCP?

    1. A

      It sends datagrams without any delivery guarantee

    2. B

      It provides reliable, ordered, connection-based delivery

    3. C

      It operates only at the physical layer

    4. D

      It assigns domain names to web servers

    Correct answer
    B

    It provides reliable, ordered, connection-based delivery

    Explanation

    TCP establishes a connection and provides ordered delivery, acknowledgments, retransmission, and flow control.

  91. 91

    What is the purpose of the TCP three-way handshake?

    1. A

      To resolve a domain name through root servers

    2. B

      To establish that both endpoints are ready to communicate

    3. C

      To encrypt a file before it is placed in a packet

    4. D

      To assign a permanent MAC address to a client

    Correct answer
    B

    To establish that both endpoints are ready to communicate

    Explanation

    The SYN, SYN-ACK, and ACK exchange establishes a TCP connection before application data is sent.

  92. 92

    What does TCP do when a segment is lost?

    1. A

      It can retransmit the missing segment

    2. B

      It changes the destination domain name

    3. C

      It forwards the segment to every device on the LAN

    4. D

      It permanently discards the entire connection

    Correct answer
    A

    It can retransmit the missing segment

    Explanation

    TCP uses acknowledgments and retransmission to recover lost data.

  93. 93

    Why is TCP suitable for file transfers and databases?

    1. A

      TCP is faster because it has no connection setup

    2. B

      Those applications generally require complete and correctly ordered data

    3. C

      TCP eliminates the need for any application-layer protocol

    4. D

      Those applications can tolerate arbitrary data loss and reordering

    Correct answer
    B

    Those applications generally require complete and correctly ordered data

    Explanation

    File transfers and databases depend on reliable, ordered delivery, which TCP provides.

  94. 94

    How does a SYN flood attack exhaust a server?

    1. A

      It sends fake DNS responses until all domain names disappear

    2. B

      It compresses packets until the server cannot decompress them

    3. C

      It replaces every server MAC address with the attacker's address

    4. D

      It creates many half-open connections that consume server resources

    Correct answer
    D

    It creates many half-open connections that consume server resources

    Explanation

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

  95. 95

    What is a stealth TCP scan?

    1. A

      Scanning only ports that are already known to be closed

    2. B

      Sending a SYN and analyzing the response without completing the connection

    3. C

      Broadcasting a completed TCP session to every local device

    4. D

      Using DNS requests to determine a server's MAC address

    Correct answer
    B

    Sending a SYN and analyzing the response without completing the connection

    Explanation

    A stealth scan probes ports with TCP handshake messages and cancels before completing the connection, leaving fewer traces.

  96. 96

    What is the defining characteristic of UDP?

    1. A

      It establishes a connection and retransmits every lost packet

    2. B

      It can be used only for encrypted web browsing

    3. C

      It is fast and connectionless but does not guarantee delivery

    4. D

      It guarantees ordered delivery with acknowledgments

    Correct answer
    C

    It is fast and connectionless but does not guarantee delivery

    Explanation

    UDP sends data without connection setup, acknowledgments, or automatic retransmission.

  97. 97

    Why is UDP useful for voice calls and video streaming?

    1. A

      A small loss is often preferable to waiting for retransmission and causing a delay

    2. B

      UDP guarantees that every frame arrives in perfect order

    3. C

      UDP automatically encrypts audio and video content

    4. D

      UDP prevents all packets from being dropped

    Correct answer
    A

    A small loss is often preferable to waiting for retransmission and causing a delay

    Explanation

    Real-time applications often prioritize low delay over perfect delivery, so a brief glitch may be preferable to buffering.

  98. 98

    Why is UDP commonly used by DNS?

    1. A

      DNS servers cannot receive TCP connections

    2. B

      DNS requires TCP's ordered file-transfer features for every lookup

    3. C

      A simple query can be sent quickly, and a failed response can be requested again

    4. D

      UDP automatically validates every DNS answer cryptographically

    Correct answer
    C

    A simple query can be sent quickly, and a failed response can be requested again

    Explanation

    DNS queries are often short and benefit from UDP's low overhead; clients can retry when necessary.

  99. 99

    How can an application gain reliability while using UDP?

    1. A

      It can convert all UDP headers into TCP headers during transmission

    2. B

      It can rely on UDP to retransmit every missing packet automatically

    3. C

      It can prevent every network router from dropping packets

    4. D

      It can implement ordering, error handling, and loss recovery at the application level

    Correct answer
    D

    It can implement ordering, error handling, and loss recovery at the application level

    Explanation

    Protocols such as QUIC run over UDP but add their own mechanisms for ordering, recovery, and error handling.

  100. 100

    Why are UDP-based amplification attacks possible?

    1. A

      UDP encrypts source addresses so servers cannot inspect them

    2. B

      UDP requires a verified connection before every response

    3. C

      Attackers can spoof source addresses because UDP has no connection handshake

    4. D

      UDP prevents responses from being sent to the apparent source

    Correct answer
    C

    Attackers can spoof source addresses because UDP has no connection handshake

    Explanation

    An attacker can forge the victim's source IP in a UDP request, causing a server's larger response to be sent to the victim.

  101. 101

    What makes an attack a reflection and amplification attack?

    1. A

      A single server encrypts traffic and reflects it back to the sender

    2. B

      Traffic is bounced off other servers and small requests produce much larger responses

    3. C

      A firewall reflects every blocked packet to the original sender

    4. D

      An attacker uses TCP acknowledgments to reduce network traffic

    Correct answer
    B

    Traffic is bounced off other servers and small requests produce much larger responses

    Explanation

    Reflection uses third-party servers to send traffic to the victim, while amplification makes the response much larger than the request.

  102. 102

    During a typical HTTPS visit, what happens first when the browser needs the server's address?

    1. A

      It performs DNS resolution to obtain an IP address

    2. B

      It begins rendering the page before identifying the server

    3. C

      It opens an FTP session to download the HTML

    4. D

      It sends an HTTP request directly to a MAC address on the internet

    Correct answer
    A

    It performs DNS resolution to obtain an IP address

    Explanation

    The browser first resolves the domain name into an IP address, often by querying DNS over UDP port 53.

  103. 103

    After determining that a destination is outside the local network, where does a device send the packet first?

    1. A

      To its default gateway

    2. B

      To the root DNS server

    3. C

      To the application layer of the remote server

    4. D

      Directly to the destination's MAC address across the internet

    Correct answer
    A

    To its default gateway

    Explanation

    The device sends traffic for external networks to its default gateway, normally the local router.

  104. 104

    What does each router do when forwarding an IP packet?

    1. A

      It decrypts the application's HTTPS content before forwarding it

    2. B

      It reads the IP header and selects the next hop using its routing information

    3. C

      It removes the destination IP and replaces it with a domain name

    4. D

      It changes the transport protocol from TCP to UDP

    Correct answer
    B

    It reads the IP header and selects the next hop using its routing information

    Explanation

    Routers operate at the network layer, reading IP information and forwarding packets toward the destination.

  105. 105

    What occurs during the TLS handshake in an HTTPS connection?

    1. A

      The routers exchange their physical cable specifications

    2. B

      The server converts the HTTP request into a DNS query

    3. C

      The browser receives a private IP address from the web server

    4. D

      The endpoints negotiate encryption, verify certificates, and establish keys

    Correct answer
    D

    The endpoints negotiate encryption, verify certificates, and establish keys

    Explanation

    TLS negotiation selects cryptographic parameters, validates the server certificate, and establishes encryption keys.

  106. 106

    What is the goal of an SSL-stripping attack?

    1. A

      To replace a private IP address with a loopback address

    2. B

      To force DNS to use only IPv6 records

    3. C

      To downgrade a user's connection from HTTPS to unencrypted HTTP

    4. D

      To increase the encryption strength used by a web server

    Correct answer
    C

    To downgrade a user's connection from HTTPS to unencrypted HTTP

    Explanation

    SSL stripping attempts to remove HTTPS protection by forcing or tricking a user into using HTTP.

  107. 107

    What does HSTS help enforce?

    1. A

      Use of FTP rather than SFTP for file transfers

    2. B

      Use of UDP rather than TCP for every connection

    3. C

      Use of HTTPS rather than HTTP for a website

    4. D

      Use of private IP addresses rather than public addresses

    Correct answer
    C

    Use of HTTPS rather than HTTP for a website

    Explanation

    HTTP Strict Transport Security instructs browsers to use HTTPS and helps prevent downgrade attacks.

  108. 108

    What happens after a web server sends an HTTP response?

    1. A

      TCP reassembles the returning segments and retransmits missing data when necessary

    2. B

      The router verifies every application password in the response

    3. C

      The physical layer renders the HTML directly on the screen

    4. D

      DNS converts the HTML response into a MAC address

    Correct answer
    A

    TCP reassembles the returning segments and retransmits missing data when necessary

    Explanation

    TCP reassembles segments in order and requests retransmission if data is missing before the browser processes the response.

  109. 109

    Why does loading one web page often generate many additional requests?

    1. A

      The page may request CSS, JavaScript, images, and other resources

    2. B

      Routers duplicate every packet regardless of its contents

    3. C

      The browser must create a new physical cable for each element

    4. D

      Every HTML character requires a separate DNS server

    Correct answer
    A

    The page may request CSS, JavaScript, images, and other resources

    Explanation

    After receiving HTML, the browser often requests additional resources, creating more DNS lookups and HTTP activity.

  110. 110

    What does defense in depth mean?

    1. A

      Encrypting only the physical cables while ignoring applications

    2. B

      Using multiple defensive layers so one failure does not collapse the whole system

    3. C

      Relying on one extremely strong firewall for all security

    4. D

      Placing every server on the same unrestricted subnet

    Correct answer
    B

    Using multiple defensive layers so one failure does not collapse the whole system

    Explanation

    Defense in depth uses controls at multiple layers, such as network, transport, application, and physical defenses.

  111. 111

    Which security issue can occur at the application layer even when network delivery is successful?

    1. A

      A cut Ethernet cable

    2. B

      SQL injection against a vulnerable server application

    3. C

      A damaged wireless antenna

    4. D

      A failed physical connector

    Correct answer
    B

    SQL injection against a vulnerable server application

    Explanation

    Application vulnerabilities such as SQL injection can compromise a server even if the network successfully delivers the request.

  112. 112

    Which practice is most appropriate for learning network behavior safely?

    1. A

      Disable security controls on a production network

    2. B

      Capture traffic with Wireshark and experiment in an isolated virtual machine

    3. C

      Intercept other users' traffic without authorization

    4. D

      Scan external systems without permission to observe their services

    Correct answer
    B

    Capture traffic with Wireshark and experiment in an isolated virtual machine

    Explanation

    The material recommends practical observation with tools such as Wireshark, ping, traceroute, and scanners in controlled, authorized environments.

Question 1 of 112
Question 1 of 112

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent