Networking Basics
- 112Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
What is a computer network?
What is a computer network?
112 questions
- 1
What is a computer network?
- A
A physical cable that carries electrical signals
- B
A security program that blocks unauthorized users
- C
A collection of connected devices that share information
- D
A single computer that stores information locally
Correct answer
CA collection of connected devices that share information
Explanation
A network is a collection of devices connected so they can communicate and share information.
- A
- 2
In the neighborhood analogy for networking, what represents the data?
- A
The houses
- B
The package
- C
The delivery address
- D
The roads
Correct answer
BThe package
Explanation
Devices are compared with houses, cables or wireless signals with roads, and data with packages being delivered.
- A
- 3
Which situation best illustrates how attackers commonly enter systems?
- A
They physically replace every computer in the organization
- B
They access the system only through an authorized administrator
- C
They exploit a protocol, open port, or misconfigured service
- D
They disable all network cables before connecting a device
Correct answer
CThey exploit a protocol, open port, or misconfigured service
Explanation
Many attacks enter through networks by exploiting protocols, open ports, or misconfigured services.
- A
- 4
What does an IP address primarily identify?
- A
The specific application receiving data
- B
The communication rules used by two devices
- C
The location and identity of a device on a network
- D
The physical material used to transmit signals
Correct answer
CThe 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.
- A
- 5
What is the primary purpose of a port number?
- A
To identify the physical cable carrying a packet
- B
To encrypt the contents of a network message
- C
To replace the destination IP address during routing
- D
To identify which service or application receives data
Correct answer
DTo 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.
- A
- 6
What is a network protocol?
- A
A set of rules governing how devices communicate
- B
A hardware component that connects computers
- C
A security boundary between two networks
- D
A numerical address assigned to a device
Correct answer
AA set of rules governing how devices communicate
Explanation
A protocol defines communication procedures, including formatting, timing, error handling, and message exchange.
- A
- 7
Which pairing correctly matches a port with its commonly associated service?
- A
Port 22 with domain-name resolution
- B
Port 80 with web traffic
- C
Port 25 with remote command-line access
- D
Port 443 with email delivery
Correct answer
BPort 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.
- A
- 8
Why is networking knowledge especially important in cybersecurity?
- A
Attackers can only target systems that have no network connection
- B
Networks eliminate the need to secure individual applications
- C
Major attacks commonly use network protocols, ports, and services
- D
Most security controls operate without communicating over networks
Correct answer
CMajor attacks commonly use network protocols, ports, and services
Explanation
Breaches, ransomware, phishing, and man-in-the-middle attacks operate through or depend on networks.
- A
- 9
What distinguishes a LAN from a WAN?
- A
A LAN always uses wireless signals, while a WAN always uses cables
- B
A LAN connects different countries, while a WAN connects one room
- C
A LAN covers a small local area, while a WAN spans a large geographic area
- D
A LAN is public, while a WAN is always private
Correct answer
CA 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.
- A
- 10
Why are LANs often faster than WANs?
- A
WANs cannot use routers
- B
LANs transmit data without protocols
- C
LANs never use encryption
- D
LAN devices are usually closer together
Correct answer
DLAN devices are usually closer together
Explanation
LAN devices are geographically close, so data generally travels a shorter distance.
- A
- 11
Why is network segmentation valuable inside a LAN?
- A
It guarantees that no device can communicate with any other device
- B
It allows every device to receive every transmitted packet
- C
It replaces all network hardware with wireless access points
- D
It divides the network into isolated zones and limits an attacker's movement
Correct answer
DIt 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.
- A
- 12
Why is encryption particularly important for traffic crossing a WAN?
- A
WANs prevent all unauthorized users from observing traffic
- B
WAN devices do not use IP addresses
- C
WAN traffic passes through many networks, routers, providers, and data centers
- D
WAN traffic cannot be divided into packets
Correct answer
CWAN traffic passes through many networks, routers, providers, and data centers
Explanation
WAN traffic travels through many intermediary systems, creating more opportunities for interception.
- A
- 13
Which example best represents a PAN?
- A
Bluetooth connecting a phone to wireless earbuds
- B
The internet connecting continents
- C
A university connecting buildings across a city
- D
A bank connecting offices in fifty cities
Correct answer
ABluetooth 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.
- A
- 14
What is a WLAN?
- A
A WAN that uses satellite communication
- B
A LAN that uses wireless communication such as Wi-Fi
- C
A network that connects only personal devices through Bluetooth
- D
A private network created only by a VPN
Correct answer
BA 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.
- A
- 15
What does a VPN create over a public network?
- A
A replacement for every physical router
- B
A private encrypted tunnel
- C
A direct physical cable between distant devices
- D
A public broadcast channel
Correct answer
BA private encrypted tunnel
Explanation
A VPN creates a private encrypted tunnel through a public network such as the internet.
- A
- 16
What is the primary function of a router?
- A
To encrypt every application message automatically
- B
To connect devices only within the same local network
- C
To connect different networks and direct traffic between them
- D
To convert domain names directly into web pages
Correct answer
CTo connect different networks and direct traffic between them
Explanation
Routers connect separate networks and use destination IP addresses to determine where packets should go.
- A
- 17
What is the main difference between a switch and a router?
- A
A switch connects devices within a network, while a router connects different networks
- B
A switch assigns domain names, while a router encrypts email
- C
A switch provides internet access, while a router only connects printers
- D
A switch operates only wirelessly, while a router operates only through fiber
Correct answer
AA 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.
- A
- 18
How does a switch differ from a traditional hub?
- A
A switch encrypts traffic, while a hub authenticates users
- B
A switch sends traffic to the intended device, while a hub broadcasts it to all devices
- C
A switch connects networks, while a hub assigns public IP addresses
- D
A switch uses only radio signals, while a hub uses only fiber
Correct answer
BA 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.
- A
- 19
What can MAC flooding force a switch to do?
- A
Act more like a hub and broadcast traffic broadly
- B
Disable every port on the network permanently
- C
Encrypt all packets before they leave the switch
- D
Convert all private IP addresses into public addresses
Correct answer
AAct 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.
- A
- 20
What does a firewall do?
- A
Breaks every file into packets for internet transmission
- B
Assigns a unique MAC address to every device
- C
Translates application names into physical connectors
- D
Monitors and controls traffic according to defined rules
Correct answer
DMonitors 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.
- A
- 21
Which factor can a firewall use when deciding whether to allow traffic?
- A
The brand of keyboard attached to the computer
- B
The physical color of the network cable
- C
The packet's IP address or port number
- D
The number of applications installed on the device
Correct answer
CThe packet's IP address or port number
Explanation
Firewalls can filter by IP address, port, protocol, and more complex behavioral patterns.
- A
- 22
What is the purpose of a wireless access point?
- A
To route packets between continents without an ISP
- B
To inspect application content as a firewall does
- C
To broadcast a wireless network that devices can join
- D
To replace all IP addresses with MAC addresses
Correct answer
CTo 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.
- A
- 23
Why are wireless networks generally more exposed than wired networks?
- A
Wireless networks cannot use passwords or encryption
- B
Wireless signals travel through the air and can be captured within range
- C
Wireless devices never use authentication protocols
- D
Wireless traffic cannot be divided into packets
Correct answer
BWireless 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.
- A
- 24
What is the role of a network interface card?
- A
It determines the best route between internet providers
- B
It stores every DNS record used by the organization
- C
It provides the hardware interface for a device's network communication
- D
It blocks all incoming traffic without configuration
Correct answer
CIt 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.
- A
- 25
What happens to a large file sent across the internet?
- A
It is divided into smaller packets that can travel independently
- B
It remains one continuous block transported by a single router
- C
It is converted directly into a domain name before transmission
- D
It is sent only through the physically shortest cable
Correct answer
AIt 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.
- A
- 26
Which information can be included in a packet?
- A
Only the physical location of the nearest router
- B
The complete contents of every file on the sender's device
- C
Only the name of the person who created the file
- D
Source IP, destination IP, reassembly information, and error-checking data
Correct answer
DSource IP, destination IP, reassembly information, and error-checking data
Explanation
Packets include data plus addressing, reassembly, and error-checking information.
- A
- 27
What is packet switching?
- A
Switching between public and private IP addresses manually
- B
Sending data as packets that may take different routes and are reassembled later
- C
Replacing packets with unstructured electrical noise
- D
Sending all data through one permanent circuit
Correct answer
BSending 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.
- A
- 28
What can a packet sniffer such as Wireshark do?
- A
Replace TCP with UDP on every network connection
- B
Automatically repair every vulnerability in a server
- C
Assign private addresses to devices without a router
- D
Capture and inspect packets traveling across a network
Correct answer
DCapture and inspect packets traveling across a network
Explanation
Packet sniffers capture network packets for inspection; unencrypted contents may be readable.
- A
- 29
What distinguishes the client-server model?
- A
Clients request services and servers respond to those requests
- B
Every device performs identical roles without centralized systems
- C
Servers can only communicate with other servers
- D
Clients route packets while servers provide physical cables
Correct answer
AClients request services and servers respond to those requests
Explanation
In the client-server model, clients such as browsers request resources and servers provide them.
- A
- 30
What distinguishes a peer-to-peer network?
- A
Only routers can request or provide data
- B
Each device can act as both a client and a server
- C
Devices are unable to upload data to one another
- D
All devices must communicate through one centralized server
Correct answer
BEach 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.
- A
- 31
Why can peer-to-peer networks be difficult to control?
- A
They require all traffic to pass through one firewall
- B
They lack a single central server that can be monitored or shut down
- C
They allow communication only within one physical building
- D
They never use network protocols
Correct answer
BThey 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.
- A
- 32
What does bandwidth measure?
- A
The number of devices connected to a router
- B
The time required for one packet to reach its destination
- C
The maximum amount of data transferred per unit of time
- D
The physical distance between two network endpoints
Correct answer
CThe 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.
- A
- 33
What does latency measure?
- A
The total storage capacity of a network server
- B
The number of lanes available for simultaneous data transfer
- C
The time required for data to travel from source to destination
- D
The number of ports open on a firewall
Correct answer
CThe time required for data to travel from source to destination
Explanation
Latency is travel time, usually measured in milliseconds; lower latency is generally preferable.
- A
- 34
How does a denial-of-service attack affect bandwidth?
- A
It converts all network traffic into encrypted traffic
- B
It reduces latency by sending fewer packets
- C
It consumes bandwidth with excessive traffic, preventing legitimate access
- D
It increases available bandwidth by closing unused ports
Correct answer
CIt 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.
- A
- 35
Why was the OSI model created?
- A
To eliminate the need for physical network connections
- B
To replace all practical internet protocols with one protocol
- C
To ensure every network uses identical hardware from one vendor
- D
To provide a standardized framework that helps different systems interoperate
Correct answer
DTo provide a standardized framework that helps different systems interoperate
Explanation
The OSI model addressed incompatibility among vendor-specific systems by defining conceptual communication layers.
- A
- 36
How is the OSI model organized?
- A
Into two layers, one for hardware and one for software
- B
Into ten layers, each dedicated to one application
- C
Into four layers, each representing a different vendor
- D
Into seven layers, each with a specific communication responsibility
Correct answer
DInto 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.
- A
- 37
What is the primary responsibility of the physical layer?
- A
Transmitting raw bits over a physical medium
- B
Managing application login sessions
- C
Routing packets between different IP networks
- D
Translating domain names into IP addresses
Correct answer
ATransmitting raw bits over a physical medium
Explanation
The physical layer handles raw bits, signals, connectors, voltages, cables, fiber, and radio transmission.
- A
- 38
Which attack targets the physical layer?
- A
Cutting or tapping a cable
- B
Stealing an application session token
- C
Forging a source IP address
- D
Injecting malicious SQL commands
Correct answer
ACutting or tapping a cable
Explanation
Physical-layer attacks include cable cutting, cable tapping, and wireless-frequency jamming.
- A
- 39
What does the data link layer handle?
- A
Frames, MAC addresses, local delivery, and error detection
- B
Application requests and web-page rendering
- C
End-user authentication for remote applications
- D
Global routing using domain names
Correct answer
AFrames, 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.
- A
- 40
How does ARP spoofing enable a man-in-the-middle attack?
- A
It encrypts traffic with a stronger version of TLS
- B
It physically disconnects every device from the switch
- C
It changes a server's application port from 80 to 443
- D
It sends false mappings so traffic is directed to the attacker's MAC address
Correct answer
DIt 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.
- A
- 41
What is the main role of the network layer?
- A
Establishing application sessions and checkpoints
- B
Sending raw electrical signals through cables
- C
Logical addressing and routing packets between networks
- D
Encoding characters into different formats
Correct answer
CLogical addressing and routing packets between networks
Explanation
The network layer uses IP addresses to determine paths across interconnected networks.
- A
- 42
What is IP spoofing?
- A
Redirecting a local application to a different port
- B
Changing a device's physical MAC address permanently
- C
Forging the source IP address to disguise the origin of traffic
- D
Encrypting a packet so its destination cannot be identified
Correct answer
CForging 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.
- A
- 43
Which functions belong to the transport layer?
- A
Domain-name lookup and web-page formatting
- B
Physical access control and building surveillance
- C
Segmentation, flow control, retransmission, and port identification
- D
Cable signaling, voltage levels, and connector design
Correct answer
CSegmentation, flow control, retransmission, and port identification
Explanation
The transport layer manages end-to-end delivery, including segments, ports, flow control, and error recovery.
- A
- 44
What is session hijacking?
- A
Overwhelming a switch with false MAC addresses
- B
Changing the route a packet takes between two routers
- C
Stealing an active session token to impersonate a logged-in user
- D
Capturing wireless signals without joining the network
Correct answer
CStealing 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.
- A
- 45
Which responsibilities belong to the presentation layer?
- A
Data translation, encryption, decryption, and compression
- B
Assigning ports to individual applications
- C
Routing packets and selecting the next network hop
- D
Connecting computers with Ethernet cables
Correct answer
AData translation, encryption, decryption, and compression
Explanation
The presentation layer handles data representation, encryption and decryption, and compression.
- A
- 46
Which activity is associated with the application layer?
- A
Defining the voltage that represents a binary one
- B
Controlling the physical shape of network connectors
- C
Using protocols such as HTTP, DNS, FTP, SMTP, and SSH
- D
Forwarding packets based only on MAC addresses
Correct answer
CUsing 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.
- A
- 47
What is encapsulation?
- A
Adding layer-specific headers as data moves down the sending stack
- B
Sending all packets without transport or network information
- C
Removing every header before data is transmitted
- D
Converting a public IP address into a private MAC address
Correct answer
AAdding 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.
- A
- 48
What is decapsulation?
- A
Assigning a new public IP address at every router
- B
Broadcasting a packet to every local device
- C
Removing and processing headers as data moves up the receiving stack
- D
Adding multiple encryption layers while data leaves the sender
Correct answer
CRemoving 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.
- A
- 49
What is DNS tunneling?
- A
Using DNS to physically connect two distant routers
- B
Replacing all HTTP requests with email messages
- C
Hiding data inside DNS traffic to move it through a network
- D
Encrypting every DNS response with a private MAC address
Correct answer
CHiding 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.
- A
- 50
How does the TCP/IP model differ from the OSI model?
- A
TCP/IP is only theoretical, while OSI is used by every internet packet
- B
TCP/IP has seven required layers, while OSI has four required layers
- C
TCP/IP is the practical internet model, while OSI is a seven-layer conceptual framework
- D
TCP/IP excludes application protocols, while OSI includes only applications
Correct answer
CTCP/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.
- A
- 51
How does TCP/IP map to OSI layers?
- A
TCP/IP transport combines OSI layers 1 and 2
- B
TCP/IP application combines OSI layers 5 through 7
- C
TCP/IP internet combines OSI layers 5 through 7
- D
TCP/IP network access corresponds only to OSI layer 7
Correct answer
BTCP/IP application combines OSI layers 5 through 7
Explanation
The TCP/IP application layer combines the OSI session, presentation, and application layers.
- A
- 52
Which protocols operate at the TCP/IP internet layer?
- A
TCP, UDP, and SSH
- B
Ethernet, Wi-Fi, and TLS
- C
IP, ICMP, and ARP
- D
HTTP, SMTP, and FTP
Correct answer
CIP, ICMP, and ARP
Explanation
The internet layer handles logical addressing and routing through protocols such as IP, ICMP, and ARP.
- A
- 53
What does ICMP support?
- A
Network-control messages such as those used by ping
- B
Encrypted file transfer over SSH
- C
Web-page requests over HTTPS
- D
Email retrieval from a mail server
Correct answer
ANetwork-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.
- A
- 54
Which statement correctly describes TCP and UDP?
- A
TCP never retransmits data, while UDP guarantees every packet
- B
TCP emphasizes reliable ordered delivery, while UDP emphasizes speed
- C
TCP is used only for local traffic, while UDP is used only globally
- D
TCP is connectionless, while UDP requires a three-way handshake
Correct answer
BTCP 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.
- A
- 55
What is an IPv4 address?
- A
A 16-bit number identifying an application service
- B
A 48-bit hardware address embedded in a network card
- C
A 32-bit address written as four decimal numbers separated by dots
- D
A 128-bit address written as eight hexadecimal groups
Correct answer
CA 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.
- A
- 56
What is the valid range for each IPv4 octet?
- A
0 through 65,535
- B
1 through 128
- C
10 through 999
- D
0 through 255
Correct answer
D0 through 255
Explanation
Each IPv4 octet contains 8 bits and therefore ranges from 0 to 255.
- A
- 57
Why did IPv6 become necessary?
- A
IPv4 addresses can only be used by wireless devices
- B
IPv4 does not support any form of encryption
- C
The limited IPv4 address space could not support the growing number of devices
- D
IPv4 cannot route traffic between two local networks
Correct answer
CThe 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.
- A
- 58
How does IPv6 differ from IPv4 in address size?
- A
IPv6 uses 16-bit addresses, while IPv4 uses 64-bit addresses
- B
IPv6 uses 48-bit addresses, while IPv4 uses 16-bit addresses
- C
IPv6 uses 128-bit addresses, while IPv4 uses 32-bit addresses
- D
IPv6 uses 32-bit addresses, while IPv4 uses 128-bit addresses
Correct answer
CIPv6 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.
- A
- 59
What is a dual-stack network?
- A
A network that supports both IPv4 and IPv6
- B
A network that assigns two ports to every service
- C
A network that encrypts traffic twice with the same key
- D
A network with two physical switches but no router
Correct answer
AA network that supports both IPv4 and IPv6
Explanation
Dual-stack networks operate IPv4 and IPv6 simultaneously; security controls must cover both.
- A
- 60
What distinguishes a public IP address from a private IP address?
- A
A public IP never changes, while a private IP must always be static
- B
A public IP is internet-reachable, while a private IP is used inside a local network
- C
A public IP is used only for printers, while a private IP is used only for servers
- D
A public IP identifies a MAC address, while a private IP identifies a protocol
Correct answer
BA 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.
- A
- 61
Which address belongs to a common private IPv4 range?
- A
203.0.113.50
- B
192.168.1.5
- C
93.184.216.34
- D
8.8.8.8
Correct answer
B192.168.1.5
Explanation
The 192.168.0.0 through 192.168.255.255 range is reserved for private networks.
- A
- 62
What is the purpose of NAT?
- A
To guarantee encryption for all internet traffic
- B
To let multiple private devices share a public IP address
- C
To convert every MAC address into a domain name
- D
To assign a permanent static address to every device
Correct answer
BTo 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.
- A
- 63
Why can NAT complicate forensic investigations?
- A
One public IP may represent many internal devices
- B
NAT prevents routers from recording any packet information
- C
NAT removes all records of network activity automatically
- D
One private IP always represents thousands of public servers
Correct answer
AOne public IP may represent many internal devices
Explanation
Investigators may need NAT logs because a single public address can correspond to many internal devices.
- A
- 64
What is the difference between static and dynamic IP addressing?
- A
Static addresses are private, while dynamic addresses are always public
- B
Static addresses are manually fixed, while dynamic addresses are assigned automatically and may change
- C
Static addresses use IPv6, while dynamic addresses use only IPv4
- D
Static addresses identify applications, while dynamic addresses identify cables
Correct answer
BStatic 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.
- A
- 65
What is DHCP starvation?
- A
Capturing packets from a wireless network without encryption
- B
Sending false DNS responses to redirect web users
- C
Changing a device's MAC address to avoid local restrictions
- D
Flooding a network with requests until available IP addresses are exhausted
Correct answer
DFlooding 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.
- A
- 66
What does the loopback address refer to?
- A
Every device on the local network
- B
The public address assigned by an ISP
- C
The local device itself
- D
The default router on the local network
Correct answer
CThe local device itself
Explanation
The loopback address, commonly 127.0.0.1, refers back to the device on which it is used.
- A
- 67
What is the default gateway?
- A
The switch port assigned to the device's application
- B
The router a device uses to reach destinations outside its local network
- C
The physical connector used for wireless communication
- D
The DNS server that stores every domain name
Correct answer
BThe 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.
- A
- 68
What does a broadcast address do?
- A
It sends data to every device on a local network
- B
It sends data exclusively across the public internet
- C
It sends data only to the default gateway
- D
It sends data to one application on one device
Correct answer
AIt sends data to every device on a local network
Explanation
A broadcast address targets all devices on the relevant local network.
- A
- 69
What is a MAC address?
- A
A port number used by web servers
- B
A protocol that encrypts wireless traffic
- C
A logical address used to route between continents
- D
A hardware address associated with a network interface
Correct answer
DA 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.
- A
- 70
How do MAC and IP addresses behave when traffic crosses networks?
- A
MAC addresses change at network boundaries, while the destination IP generally remains the same
- B
IP addresses change at every switch, while MAC addresses remain globally constant
- C
Both addresses are replaced at every application layer
- D
Neither address is used after a packet leaves the sender
Correct answer
AMAC 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.
- A
- 71
What does a subnet mask identify?
- A
Which portion of an IP address represents the network and which represents the host
- B
Which protocol controls wireless authentication
- C
Which physical cable carries the packet
- D
Which port receives encrypted web traffic
Correct answer
AWhich 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.
- A
- 72
What does the notation 192.168.1.0/24 indicate?
- A
The network can contain exactly 24 total addresses
- B
The address contains 24 separate devices
- C
The last 24 bits identify the network
- D
The first 24 bits identify the network
Correct answer
DThe first 24 bits identify the network
Explanation
The /24 prefix means that 24 bits are allocated to the network portion of the address.
- A
- 73
Why is subnetting useful for cybersecurity?
- A
It guarantees that attackers cannot compromise any device
- B
It gives every device a globally routable public address
- C
It eliminates the need for firewalls and access controls
- D
It separates systems into zones and limits the blast radius of a compromise
Correct answer
DIt 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.
- A
- 74
What is the numerical range of TCP and UDP ports?
- A
0 through 65,535
- B
1 through 255
- C
0 through 1,024
- D
1,024 through 65,535 only
Correct answer
A0 through 65,535
Explanation
Port numbers range from 0 to 65,535.
- A
- 75
Which range contains well-known ports?
- A
10,000 through 20,000
- B
1,024 through 49,151
- C
0 through 1,023
- D
49,152 through 65,535
Correct answer
C0 through 1,023
Explanation
Well-known ports range from 0 through 1,023 and are reserved for standard services.
- A
- 76
Which range contains registered ports?
- A
49,152 through 65,535
- B
65,536 through 100,000
- C
1,024 through 49,151
- D
0 through 1,023
Correct answer
C1,024 through 49,151
Explanation
Registered ports range from 1,024 through 49,151 and are assigned to particular applications.
- A
- 77
What are ephemeral ports used for?
- A
Permanent router-to-router links
- B
Only encrypted DNS communication
- C
Temporary client-side connections
- D
Reserved physical cable connections
Correct answer
CTemporary client-side connections
Explanation
Ephemeral ports, commonly 49,152 through 65,535, are temporary ports often opened by clients for responses.
- A
- 78
Which port is associated with HTTPS?
- A
443
- B
25
- C
21
- D
3389
Correct answer
A443
Explanation
HTTPS commonly uses port 443.
- A
- 79
Which port is associated with SSH?
- A
22
- B
23
- C
110
- D
53
Correct answer
A22
Explanation
SSH commonly runs on port 22.
- A
- 80
Why do attackers perform port scans?
- A
To encrypt all traffic leaving the network
- B
To increase the bandwidth available to legitimate users
- C
To identify open ports and the services that may contain vulnerabilities
- D
To assign private IP addresses to every device
Correct answer
CTo identify open ports and the services that may contain vulnerabilities
Explanation
Open ports indicate running services, which may provide potential attack surfaces.
- A
- 81
What is the main function of DNS?
- A
To translate domain names into IP addresses
- B
To guarantee delivery of every transport segment
- C
To assign MAC addresses to network cards
- D
To encrypt web traffic between a browser and server
Correct answer
ATo translate domain names into IP addresses
Explanation
DNS resolves human-readable names such as google.com into numerical IP addresses.
- A
- 82
What usually happens before a device asks a DNS resolver for a name?
- A
It checks its local DNS cache
- B
It sends a TCP reset to the root servers
- C
It opens an FTP connection
- D
It changes its default gateway
Correct answer
AIt checks its local DNS cache
Explanation
The device first checks its local cache; if no answer is present, it queries a configured resolver.
- A
- 83
What is DNS spoofing?
- A
Blocking all DNS queries at the default gateway
- B
Encrypting a DNS query with a private MAC address
- C
Using TCP instead of UDP for every DNS request
- D
Returning a fraudulent IP address for a requested domain
Correct answer
DReturning 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.
- A
- 84
What is the key security difference between HTTP and HTTPS?
- A
HTTPS uses TLS encryption and server certificates, while HTTP sends data in plain text
- B
HTTP uses encryption, while HTTPS disables all authentication
- C
HTTPS is used only for email, while HTTP is used only for file transfer
- D
HTTP guarantees confidentiality, while HTTPS guarantees only delivery
Correct answer
AHTTPS 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.
- A
- 85
Which protocol is primarily used to send email?
- A
IMAP
- B
SMTP
- C
DNS
- D
POP3
Correct answer
BSMTP
Explanation
SMTP is used to send email from a client to a mail server and between mail servers.
- A
- 86
How does IMAP differ from POP3?
- A
IMAP encrypts all messages, while POP3 always uses TLS
- B
IMAP sends email, while POP3 resolves domain names
- C
IMAP keeps messages on the server for synchronization, while POP3 commonly downloads them
- D
IMAP transfers files, while POP3 provides remote command-line access
Correct answer
CIMAP 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.
- A
- 87
Why is SSH safer than Telnet?
- A
SSH uses no authentication, while Telnet requires cryptographic keys
- B
SSH operates only locally, while Telnet operates across the internet
- C
SSH does not use ports, while Telnet uses dynamic ports
- D
SSH encrypts remote sessions, while Telnet sends commands and passwords in plain text
Correct answer
DSSH 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.
- A
- 88
What is the security advantage of SFTP over FTP?
- A
SFTP avoids authentication by using anonymous access
- B
SFTP sends passwords in plain text but uses a faster port
- C
SFTP operates without any network protocol
- D
SFTP transfers files through an encrypted SSH connection
Correct answer
DSFTP transfers files through an encrypted SSH connection
Explanation
SFTP runs over SSH, encrypting file transfers and authentication information.
- A
- 89
Why is anonymous FTP a serious misconfiguration?
- A
It forces every user to use multi-factor authentication
- B
It blocks all file transfers from unauthorized users
- C
It may allow anyone to access files without valid credentials
- D
It encrypts files with an unknown private key
Correct answer
CIt may allow anyone to access files without valid credentials
Explanation
Anonymous FTP can expose sensitive data because users may log in without proper credentials.
- A
- 90
What is the defining characteristic of TCP?
- A
It sends datagrams without any delivery guarantee
- B
It provides reliable, ordered, connection-based delivery
- C
It operates only at the physical layer
- D
It assigns domain names to web servers
Correct answer
BIt provides reliable, ordered, connection-based delivery
Explanation
TCP establishes a connection and provides ordered delivery, acknowledgments, retransmission, and flow control.
- A
- 91
What is the purpose of the TCP three-way handshake?
- A
To resolve a domain name through root servers
- B
To establish that both endpoints are ready to communicate
- C
To encrypt a file before it is placed in a packet
- D
To assign a permanent MAC address to a client
Correct answer
BTo 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.
- A
- 92
What does TCP do when a segment is lost?
- A
It can retransmit the missing segment
- B
It changes the destination domain name
- C
It forwards the segment to every device on the LAN
- D
It permanently discards the entire connection
Correct answer
AIt can retransmit the missing segment
Explanation
TCP uses acknowledgments and retransmission to recover lost data.
- A
- 93
Why is TCP suitable for file transfers and databases?
- A
TCP is faster because it has no connection setup
- B
Those applications generally require complete and correctly ordered data
- C
TCP eliminates the need for any application-layer protocol
- D
Those applications can tolerate arbitrary data loss and reordering
Correct answer
BThose applications generally require complete and correctly ordered data
Explanation
File transfers and databases depend on reliable, ordered delivery, which TCP provides.
- A
- 94
How does a SYN flood attack exhaust a server?
- A
It sends fake DNS responses until all domain names disappear
- B
It compresses packets until the server cannot decompress them
- C
It replaces every server MAC address with the attacker's address
- D
It creates many half-open connections that consume server resources
Correct answer
DIt 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.
- A
- 95
What is a stealth TCP scan?
- A
Scanning only ports that are already known to be closed
- B
Sending a SYN and analyzing the response without completing the connection
- C
Broadcasting a completed TCP session to every local device
- D
Using DNS requests to determine a server's MAC address
Correct answer
BSending 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.
- A
- 96
What is the defining characteristic of UDP?
- A
It establishes a connection and retransmits every lost packet
- B
It can be used only for encrypted web browsing
- C
It is fast and connectionless but does not guarantee delivery
- D
It guarantees ordered delivery with acknowledgments
Correct answer
CIt is fast and connectionless but does not guarantee delivery
Explanation
UDP sends data without connection setup, acknowledgments, or automatic retransmission.
- A
- 97
Why is UDP useful for voice calls and video streaming?
- A
A small loss is often preferable to waiting for retransmission and causing a delay
- B
UDP guarantees that every frame arrives in perfect order
- C
UDP automatically encrypts audio and video content
- D
UDP prevents all packets from being dropped
Correct answer
AA 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.
- A
- 98
Why is UDP commonly used by DNS?
- A
DNS servers cannot receive TCP connections
- B
DNS requires TCP's ordered file-transfer features for every lookup
- C
A simple query can be sent quickly, and a failed response can be requested again
- D
UDP automatically validates every DNS answer cryptographically
Correct answer
CA 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.
- A
- 99
How can an application gain reliability while using UDP?
- A
It can convert all UDP headers into TCP headers during transmission
- B
It can rely on UDP to retransmit every missing packet automatically
- C
It can prevent every network router from dropping packets
- D
It can implement ordering, error handling, and loss recovery at the application level
Correct answer
DIt 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.
- A
- 100
Why are UDP-based amplification attacks possible?
- A
UDP encrypts source addresses so servers cannot inspect them
- B
UDP requires a verified connection before every response
- C
Attackers can spoof source addresses because UDP has no connection handshake
- D
UDP prevents responses from being sent to the apparent source
Correct answer
CAttackers 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.
- A
- 101
What makes an attack a reflection and amplification attack?
- A
A single server encrypts traffic and reflects it back to the sender
- B
Traffic is bounced off other servers and small requests produce much larger responses
- C
A firewall reflects every blocked packet to the original sender
- D
An attacker uses TCP acknowledgments to reduce network traffic
Correct answer
BTraffic 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.
- A
- 102
During a typical HTTPS visit, what happens first when the browser needs the server's address?
- A
It performs DNS resolution to obtain an IP address
- B
It begins rendering the page before identifying the server
- C
It opens an FTP session to download the HTML
- D
It sends an HTTP request directly to a MAC address on the internet
Correct answer
AIt 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.
- A
- 103
After determining that a destination is outside the local network, where does a device send the packet first?
- A
To its default gateway
- B
To the root DNS server
- C
To the application layer of the remote server
- D
Directly to the destination's MAC address across the internet
Correct answer
ATo its default gateway
Explanation
The device sends traffic for external networks to its default gateway, normally the local router.
- A
- 104
What does each router do when forwarding an IP packet?
- A
It decrypts the application's HTTPS content before forwarding it
- B
It reads the IP header and selects the next hop using its routing information
- C
It removes the destination IP and replaces it with a domain name
- D
It changes the transport protocol from TCP to UDP
Correct answer
BIt 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.
- A
- 105
What occurs during the TLS handshake in an HTTPS connection?
- A
The routers exchange their physical cable specifications
- B
The server converts the HTTP request into a DNS query
- C
The browser receives a private IP address from the web server
- D
The endpoints negotiate encryption, verify certificates, and establish keys
Correct answer
DThe endpoints negotiate encryption, verify certificates, and establish keys
Explanation
TLS negotiation selects cryptographic parameters, validates the server certificate, and establishes encryption keys.
- A
- 106
What is the goal of an SSL-stripping attack?
- A
To replace a private IP address with a loopback address
- B
To force DNS to use only IPv6 records
- C
To downgrade a user's connection from HTTPS to unencrypted HTTP
- D
To increase the encryption strength used by a web server
Correct answer
CTo 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.
- A
- 107
What does HSTS help enforce?
- A
Use of FTP rather than SFTP for file transfers
- B
Use of UDP rather than TCP for every connection
- C
Use of HTTPS rather than HTTP for a website
- D
Use of private IP addresses rather than public addresses
Correct answer
CUse of HTTPS rather than HTTP for a website
Explanation
HTTP Strict Transport Security instructs browsers to use HTTPS and helps prevent downgrade attacks.
- A
- 108
What happens after a web server sends an HTTP response?
- A
TCP reassembles the returning segments and retransmits missing data when necessary
- B
The router verifies every application password in the response
- C
The physical layer renders the HTML directly on the screen
- D
DNS converts the HTML response into a MAC address
Correct answer
ATCP 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.
- A
- 109
Why does loading one web page often generate many additional requests?
- A
The page may request CSS, JavaScript, images, and other resources
- B
Routers duplicate every packet regardless of its contents
- C
The browser must create a new physical cable for each element
- D
Every HTML character requires a separate DNS server
Correct answer
AThe 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.
- A
- 110
What does defense in depth mean?
- A
Encrypting only the physical cables while ignoring applications
- B
Using multiple defensive layers so one failure does not collapse the whole system
- C
Relying on one extremely strong firewall for all security
- D
Placing every server on the same unrestricted subnet
Correct answer
BUsing 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.
- A
- 111
Which security issue can occur at the application layer even when network delivery is successful?
- A
A cut Ethernet cable
- B
SQL injection against a vulnerable server application
- C
A damaged wireless antenna
- D
A failed physical connector
Correct answer
BSQL 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.
- A
- 112
Which practice is most appropriate for learning network behavior safely?
- A
Disable security controls on a production network
- B
Capture traffic with Wireshark and experiment in an isolated virtual machine
- C
Intercept other users' traffic without authorization
- D
Scan external systems without permission to observe their services
Correct answer
BCapture 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.
- A

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