How TCP/IP Powers the Internet
- 91Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
What makes it possible for independently owned machines to exchange information over the internet?
What makes it possible for independently owned machines to exchange information over the internet?
91 questions
- 1
What makes it possible for independently owned machines to exchange information over the internet?
- A
They all reserve a dedicated cable for each user
- B
They all follow a shared set of communication rules called protocols
- C
They all connect to one central computer that directs every message
- D
They all use hardware made by the same company
Correct answer
BThey all follow a shared set of communication rules called protocols
Explanation
The internet works because machines follow shared protocols. No single central computer controls the entire network.
- A
- 2
What is the relationship between TCP/IP and communication on the internet?
- A
TCP/IP is a web browser that translates names into page contents
- B
TCP/IP is a cable standard used only for communication under the ocean
- C
TCP/IP is a single computer that stores websites for the rest of the network
- D
TCP/IP is a pair of protocols that provides shared rules for internet communication
Correct answer
DTCP/IP is a pair of protocols that provides shared rules for internet communication
Explanation
TCP and IP are core protocols: they provide rules for transporting data and addressing packets across networks.
- A
- 3
What happened during the first attempted login over ARPANET on October 29, 1969?
- A
The full word LOGIN arrived, but the remote computer rejected the password
- B
The computer at the remote site crashed before receiving any letters
- C
The letters L and O arrived, but the system crashed after G was sent
- D
The letter G arrived first, and the network failed before L and O were sent
Correct answer
CThe letters L and O arrived, but the system crashed after G was sent
Explanation
Charley Kline sent L and O successfully, but the system crashed when he sent G. The first transmitted message was therefore “lo”; the login succeeded about an hour later.
- A
- 4
What problem was the 1974 TCP/IP design intended to address?
- A
Web browsers could not display pages using images
- B
Local networks had no way to assign MAC addresses
- C
Telephone circuits could not carry voice during a call
- D
Different networks could not communicate with one another
Correct answer
DDifferent networks could not communicate with one another
Explanation
Vint Cerf and Bob Kahn designed TCP/IP to connect separate networks into a network of networks.
- A
- 5
Why is January 1, 1983, often called the internet’s “flag day”?
- A
The first IPv6 address was assigned on that day
- B
ARPANET switched to TCP/IP on that day
- C
The World Wide Web was proposed on that day
- D
The first packet was sent over ARPANET on that day
Correct answer
BARPANET switched to TCP/IP on that day
Explanation
ARPANET changed over to TCP/IP in a single day on January 1, 1983, a transition engineers call flag day.
- A
- 6
How does the World Wide Web relate to the internet?
- A
The web is the physical cable system that connects continents
- B
The web is the central network that controls all other networks
- C
The web is one service that runs on top of the internet
- D
The web is another name for the TCP/IP protocol pair
Correct answer
CThe web is one service that runs on top of the internet
Explanation
The internet is the underlying network infrastructure; the World Wide Web is one service that uses it.
- A
- 7
How does packet switching differ from the circuit approach used by older telephone networks?
- A
Packet switching reserves one complete line for each message until delivery
- B
Packet switching sends separate pieces without reserving one end-to-end line
- C
Packet switching requires every piece to follow the same physical route
- D
Packet switching sends data only when both users are silent
Correct answer
BPacket switching sends separate pieces without reserving one end-to-end line
Explanation
Circuit-based telephone calls reserve a dedicated line for the whole call. Packet switching breaks messages into packets that share network links with other traffic.
- A
- 8
What allows a recipient to rebuild a message when its packets arrive in a different order?
- A
A copy of the message stored at every router
- B
The physical order of cables along the route
- C
Packet numbering or sequence information
- D
A dedicated circuit held open during transmission
Correct answer
CPacket numbering or sequence information
Explanation
Packets carry information such as sequence numbers, which allows the receiving system to put the pieces back in order.
- A
- 9
Why can packet switching help the internet continue working when a route is damaged?
- A
The sender stops using packets and sends the message as a phone call
- B
Packets can be sent along another available route
- C
The damaged cable is automatically replaced by a dedicated circuit
- D
Every router stores a complete copy of every message
Correct answer
BPackets can be sent along another available route
Explanation
Because there is no single reserved route for a message, packets can travel another way if one route is broken. This supports network resilience.
- A
- 10
What does the OSI model provide in comparison with the four-layer TCP/IP model?
- A
A naming system that converts website names into IP addresses
- B
A method for reserving a dedicated route for each connection
- C
A seven-layer breakdown that divides networking jobs more finely
- D
A physical network that replaces TCP/IP for all internet traffic
Correct answer
CA seven-layer breakdown that divides networking jobs more finely
Explanation
The OSI model divides networking functions into seven layers. Engineers also use its layer numbers; for example, layer seven refers to the application layer.
- A
- 11
Which task belongs to the application layer of the TCP/IP model?
- A
Keeping data complete and ordered for a program
- B
Moving a frame over one Wi-Fi or Ethernet link
- C
Providing the content of a web page, email, or chat message
- D
Choosing the next router for a packet crossing the internet
Correct answer
CProviding the content of a web page, email, or chat message
Explanation
The application layer represents the message or service being used, such as a web page, email, or chat.
- A
- 12
What is the transport layer responsible for in the TCP/IP model?
- A
Converting light pulses into the words shown in a browser
- B
Delivering frames across one physical link using MAC addresses
- C
Choosing an IP route across networks and assigning network addresses
- D
Getting data to the right program and, with TCP, providing completeness and order
Correct answer
DGetting data to the right program and, with TCP, providing completeness and order
Explanation
The transport layer uses protocols such as TCP or UDP to communicate with programs. TCP also provides reliable, ordered delivery.
- A
- 13
Which function is performed by the internet layer?
- A
Moving data only across the current Wi-Fi or Ethernet link
- B
Carrying IP addressing information so packets can cross networks
- C
Selecting the web page content that an application should display
- D
Converting a domain name into a set of DNS records
Correct answer
BCarrying IP addressing information so packets can cross networks
Explanation
The internet layer uses IP addresses to move packets across interconnected networks.
- A
- 14
What does the link layer do?
- A
Looks up the IP address associated with a website name
- B
Sets the route that packets will take across the entire internet
- C
Moves data over one physical hop, such as Wi-Fi, Ethernet, or fibre
- D
Chooses the final program on a computer using a port number
Correct answer
CMoves data over one physical hop, such as Wi-Fi, Ethernet, or fibre
Explanation
The link layer handles movement over an individual network link, such as a Wi-Fi signal, Ethernet cable, or fibre connection.
- A
- 15
What is encapsulation in layered networking?
- A
Each layer wraps data from the layer above in its own header
- B
A network reserves one physical cable for the entire conversation
- C
The receiving computer replaces IP addresses with website names
- D
Every router stores an entire message before sending it onward
Correct answer
AEach layer wraps data from the layer above in its own header
Explanation
Each layer adds its own header around the data passed down from the layer above. At the destination, layers remove those headers in reverse order.
- A
- 16
How are bits represented in different transmission media?
- A
As sound waves in copper, light flashes in Wi-Fi, and electrical pulses in mobile networks
- B
As light flashes in copper, electrical pulses in fibre, and packets in radio links
- C
As electrical pulses in copper, light flashes in fibre, and radio waves over wireless links
- D
As identical electrical pulses in copper, fibre, Wi-Fi, and mobile networks
Correct answer
CAs electrical pulses in copper, light flashes in fibre, and radio waves over wireless links
Explanation
Bits can be carried as electrical pulses in copper, flashes of light in fibre, or signals on radio waves over Wi-Fi and mobile networks.
- A
- 17
What is a MAC address, and how is it used on a local network?
- A
A domain name that a resolver uses to locate a website server
- B
A 48-bit hardware address that a switch uses to deliver frames to a device
- C
A 32-bit internet address that a router uses to choose a global route
- D
A temporary port number that identifies a browser during a download
Correct answer
BA 48-bit hardware address that a switch uses to deliver frames to a device
Explanation
A network card has a 48-bit MAC address, commonly written as six pairs of letters and numbers. Local switches use these hardware addresses to deliver frames.
- A
- 18
Which statement best describes the physical infrastructure carrying data between continents?
- A
Undersea fibre cables carry nearly all intercontinental data, while satellites carry a small share
- B
Carrier pigeons carry most intercontinental data, while fibre serves only local networks
- C
Satellites carry nearly all intercontinental data, while undersea fibre carries a small share
- D
Copper telephone cables carry nearly all intercontinental data, while radio is unused
Correct answer
AUndersea fibre cables carry nearly all intercontinental data, while satellites carry a small share
Explanation
Undersea fibre-optic cables laid on the sea floor carry nearly all data traveling between continents; satellites carry only a small share.
- A
- 19
What did the pigeon-based internet experiment demonstrate?
- A
Carrier pigeons are more reliable than routers for moving data
- B
A network is valid only when every packet arrives in less than a second
- C
IP packets can be carried over an unusual link, although delivery may be slow and unreliable
- D
IP requires a fibre-optic link and cannot operate over other media
Correct answer
CIP packets can be carried over an unusual link, although delivery may be slow and unreliable
Explanation
The Bergen experiment sent pings using pigeons: some returned after roughly fifty minutes to an hour and three quarters. It showed that packets can travel over an unusual medium, though slowly and with losses.
- A
- 20
What does the networking “hourglass” model emphasize?
- A
IP is a common middle layer that can work over different links and support different applications
- B
TCP is the only protocol that can run above or below the network layer
- C
Wi-Fi and fibre use different IP protocols that cannot share applications
- D
Every application must use one particular physical cable type
Correct answer
AIP is a common middle layer that can work over different links and support different applications
Explanation
IP forms the narrow waist of the hourglass: many applications can use IP, and IP packets can travel over different link technologies.
- A
- 21
How is an IPv4 address represented, and how long is it?
- A
As four colon-separated decimal numbers, with a total length of 128 bits
- B
As four dotted decimal numbers, with a total length of 32 bits
- C
As six pairs of hexadecimal digits, with a total length of 48 bits
- D
As eight colon-separated hexadecimal groups, with a total length of 32 bits
Correct answer
BAs four dotted decimal numbers, with a total length of 32 bits
Explanation
IPv4 addresses contain 32 bits and are commonly written as four decimal numbers separated by dots, such as 142.250.183.14.
- A
- 22
Why did the supply of IPv4 addresses become inadequate?
- A
IPv4 addresses were limited to devices connected by fibre-optic cable
- B
Each IPv4 address can be used by only one program on one computer
- C
Routers stopped accepting IPv4 addresses after the web was introduced
- D
Its roughly 4.3 billion possible addresses were outnumbered by connected devices
Correct answer
DIts roughly 4.3 billion possible addresses were outnumbered by connected devices
Explanation
IPv4 provides about 4.3 billion addresses. That seemed plentiful initially, but the number of phones, computers, TVs, and other connected devices grew beyond that scale; the central pool ran out in 2011.
- A
- 23
How does NAT allow many home devices to use one public IPv4 address?
- A
The router assigns every device the same MAC address and hides all packets
- B
The router tracks which private device made each request and directs replies back to it
- C
The router converts every private address into a permanent public address
- D
The router reserves a separate cable between each device and the website
Correct answer
BThe router tracks which private device made each request and directs replies back to it
Explanation
With NAT, devices use private addresses inside the home while the router uses a public address on the internet. The router tracks connections so replies reach the correct device.
- A
- 24
What does carrier-grade NAT allow a mobile operator to do?
- A
Let many phones share a public IP address through a large-scale translation system
- B
Replace every phone’s IP address with its Bluetooth hardware address
- C
Send every phone’s traffic directly without using any router
- D
Give every phone a permanent, unique IPv4 address from the central pool
Correct answer
ALet many phones share a public IP address through a large-scale translation system
Explanation
A mobile operator can perform NAT at large scale, allowing thousands of phones to share one public address at the same time.
- A
- 25
What are the two conceptual parts of an IP address block?
- A
A port part identifying an application and a MAC part identifying a cable
- B
A sender part identifying a router and a receiver part identifying a server
- C
A public part identifying a country and a private part identifying a website
- D
A network part identifying an area and a host part identifying a device within it
Correct answer
DA network part identifying an area and a host part identifying a device within it
Explanation
IP addresses are allocated in blocks. A network portion identifies the block or area, and a host portion identifies an address within that block.
- A
- 26
In the block
192.168.1.0/24, what does the/24indicate?- A
The first 24 bits identify the host, leaving 8 bits for the network
- B
The first 24 bits identify the network, leaving 8 bits for host addresses
- C
The block uses 24 public addresses and 8 private addresses
- D
The block contains 24 addresses, each with an 8-bit network part
Correct answer
BThe first 24 bits identify the network, leaving 8 bits for host addresses
Explanation
A
/24prefix means the first 24 bits are the network portion and the remaining 8 bits are available for addresses within the block. - A
- 27
Why can a
/24IPv4 block support 254 devices rather than 256?- A
One address identifies the network and another is reserved for broadcast
- B
The subnet mask uses two of the host bits to identify DNS servers
- C
The first two addresses are reserved for the internet service provider
- D
Two addresses must always be assigned to the default gateway
Correct answer
AOne address identifies the network and another is reserved for broadcast
Explanation
Eight host bits provide 256 addresses. In a typical
/24, one names the network itself and one is used for broadcast, leaving 254 device addresses. - A
- 28
Which subnet mask corresponds to a
/24prefix?- A
255.255.255.24
- B
255.0.255.0
- C
255.255.255.0
- D
255.255.0.255
Correct answer
C255.255.255.0
Explanation
The
/24prefix is equivalent to the subnet mask 255.255.255.0. - A
- 29
What is the purpose of CIDR?
- A
It assigns every device the same-size block of 256 addresses
- B
It encrypts packets so their IP addresses cannot be read
- C
It converts private addresses into MAC addresses
- D
It allows address blocks of different sizes to be allocated as needed
Correct answer
DIt allows address blocks of different sizes to be allocated as needed
Explanation
CIDR uses flexible prefix lengths, such as
/16,/24, or/30, so organizations can receive blocks sized for their needs. - A
- 30
When does a computer send a packet directly, and when does it use the default gateway?
- A
It sends directly when DNS has cached a name and uses the gateway otherwise
- B
It sends directly to addresses in its subnet and uses the gateway for other destinations
- C
It sends directly to public addresses and uses the gateway for private addresses
- D
It sends directly only to devices with matching port numbers
Correct answer
BIt sends directly to addresses in its subnet and uses the gateway for other destinations
Explanation
The computer checks whether the destination is in its own subnet. If so, it can deliver locally; otherwise, it sends the packet to the default gateway, usually its router.
- A
- 31
How are IPv6 addresses represented, and what does their length provide?
- A
As six hexadecimal pairs separated by colons, using 48 bits for local addresses
- B
As eight hexadecimal groups separated by colons, using 128 bits for a vast address space
- C
As four decimal groups separated by dots, using 128 bits for about 4.3 billion addresses
- D
As eight decimal groups separated by dots, using 32 bits for global addresses
Correct answer
BAs eight hexadecimal groups separated by colons, using 128 bits for a vast address space
Explanation
IPv6 addresses are 128 bits long and are written as eight hexadecimal groups separated by colons. This provides about 340 undecillion addresses.
- A
- 32
What does the double colon represent in a shortened IPv6 address?
- A
A run of zero-valued groups that has been omitted
- B
A marker that changes the address from hexadecimal to decimal
- C
A boundary between the network and host portions
- D
A pair of public addresses translated by NAT
Correct answer
AA run of zero-valued groups that has been omitted
Explanation
IPv6 notation allows a long run of zero groups to be compressed using a double colon.
- A
- 33
Why are IPv4 and IPv6 currently used side by side?
- A
IPv6 addresses are shorter and cannot identify individual devices
- B
IPv6 can be used only on undersea fibre cables
- C
The two versions cannot communicate directly with each other
- D
IPv4 is needed to translate all domain names into MAC addresses
Correct answer
CThe two versions cannot communicate directly with each other
Explanation
IPv4 and IPv6 are not directly compatible, so networks commonly operate both versions while the transition continues.
- A
- 34
Which statement about IPv6 is supported by its design?
- A
Its large address space can give devices public addresses without relying on NAT, and its header was simplified
- B
It reduces the address space so routers can assign private addresses more easily
- C
It requires NAT because its addresses are smaller than IPv4 addresses
- D
It replaces IP routing with domain-name lookups at every router
Correct answer
AIts large address space can give devices public addresses without relying on NAT, and its header was simplified
Explanation
IPv6’s 128-bit address space is large enough for devices to have public addresses without NAT tricks. Its packet header was also simplified to help routers process packets faster.
- A
- 35
What decision does a router make during hop-by-hop forwarding?
- A
Which complete end-to-end route every packet must follow
- B
Which private address should replace the sender’s MAC address
- C
Which next hop should receive the packet based on its destination address
- D
Which application should create the requested web page
Correct answer
CWhich next hop should receive the packet based on its destination address
Explanation
A router generally does not know the packet’s entire route. It examines the destination and chooses the next road, or hop, to use.
- A
- 36
How does a router choose among matching entries in its routing table?
- A
It prefers the shortest prefix because that covers the fewest addresses
- B
It prefers the most specific match, meaning the longest matching prefix
- C
It always selects the route with the largest number of routers
- D
It chooses randomly among all entries that contain an IP address
Correct answer
BIt prefers the most specific match, meaning the longest matching prefix
Explanation
Routers use longest-prefix matching: when multiple routes match a destination, the most specific address block is preferred.
- A
- 37
What happens to a packet whose destination does not match a router’s known routes?
- A
The router converts it into a DNS request
- B
The router assigns it a new destination address
- C
The router sends it back to the same device indefinitely
- D
The router can send it using its default route
Correct answer
DThe router can send it using its default route
Explanation
A router’s default route provides a next hop for destinations it does not otherwise recognize.
- A
- 38
What is the purpose of the IP time-to-live counter?
- A
It records how long a TCP connection has been open
- B
It limits how many router hops a packet can make before being discarded
- C
It measures how long a website is allowed to remain online
- D
It tells a DNS resolver how long an answer should be cached
Correct answer
BIt limits how many router hops a packet can make before being discarded
Explanation
Each router reduces the packet’s TTL. If the counter reaches zero, the packet is discarded, preventing it from circulating forever.
- A
- 39
How does traceroute use TTL values to reveal a packet’s route?
- A
It sends probes with increasing TTLs so successive routers reveal themselves when they discard them
- B
It asks every router to send a complete map of the internet
- C
It looks up router locations in DNS without sending any packets
- D
It sends a single packet with an unlimited TTL and reads every route stored inside it
Correct answer
AIt sends probes with increasing TTLs so successive routers reveal themselves when they discard them
Explanation
Traceroute sends probes with TTL values of one, then two, then three, and so on. The router where each probe expires can return an error that reveals that hop.
- A
- 40
What is an autonomous system in the context of internet routing?
- A
A group of home devices that share a private subnet
- B
A single computer that stores every website’s IP address
- C
A separately operated network that participates in routing between networks
- D
A temporary collection of packets sent through one router
Correct answer
CA separately operated network that participates in routing between networks
Explanation
The internet consists of tens of thousands of separately operated networks, called autonomous systems.
- A
- 41
What information do networks exchange using BGP?
- A
Encryption keys for every TCP connection
- B
The contents of every web page stored on their servers
- C
Announcements that particular address blocks are reachable through them
- D
Private MAC addresses for every device in their networks
Correct answer
CAnnouncements that particular address blocks are reachable through them
Explanation
BGP lets autonomous systems announce which address blocks are reachable through them. Neighboring networks pass those announcements onward.
- A
- 42
Why did the 2008 Pakistan Telecom route announcement disrupt access to YouTube?
- A
YouTube switched from IPv4 to IPv6 and could no longer reach routers
- B
A more specific YouTube route leaked globally, drawing traffic toward Pakistan
- C
Pakistan Telecom deleted YouTube’s DNS records from every root server
- D
The announcement forced all websites to use the same public IP address
Correct answer
BA more specific YouTube route leaked globally, drawing traffic toward Pakistan
Explanation
Pakistan Telecom announced a more specific route intended for local blocking. When that route leaked, much of the internet sent YouTube traffic toward Pakistan instead.
- A
- 43
What caused Facebook, Instagram, and WhatsApp to disappear from the internet for several hours in 2021?
- A
A global DNS root server deleted all records for social media
- B
A failure in IPv6 made every IPv4 router stop forwarding packets
- C
A maintenance command disconnected Facebook’s backbone, and its BGP routes were withdrawn
- D
A damaged undersea cable destroyed the companies’ stored web pages
Correct answer
CA maintenance command disconnected Facebook’s backbone, and its BGP routes were withdrawn
Explanation
A maintenance command disconnected Facebook’s backbone. Its BGP routes were withdrawn, so other networks no longer had routes to its services.
- A
- 44
How does RPKI help improve the reliability of BGP routing?
- A
It helps networks verify route announcements and reject false claims
- B
It encrypts all packets traveling between autonomous systems
- C
It replaces the routing tables maintained by individual routers
- D
It assigns a unique port number to every route announcement
Correct answer
AIt helps networks verify route announcements and reject false claims
Explanation
RPKI allows networks to sign and check route announcements, helping identify and reject invalid claims about address reachability.
- A
- 45
What does a port number identify in network communication?
- A
The local network block that contains an IP address
- B
The physical router that should forward a packet next
- C
The hardware manufacturer of a network card
- D
The program or service on a device that should receive the traffic
Correct answer
DThe program or service on a device that should receive the traffic
Explanation
An IP address identifies a device, while a port number directs traffic to a particular program or service on that device.
- A
- 46
Which set of well-known port mappings is correct?
- A
80 for ordinary web traffic, 443 for HTTPS, 22 for SSH, 25 for email sending, and 53 for DNS
- B
80 for SSH, 443 for DNS, 22 for email sending, 25 for HTTPS, and 53 for ordinary web traffic
- C
80 for DNS, 443 for SSH, 22 for HTTPS, 25 for web traffic, and 53 for email sending
- D
80 for email sending, 443 for ordinary web traffic, 22 for DNS, 25 for SSH, and 53 for HTTPS
Correct answer
A80 for ordinary web traffic, 443 for HTTPS, 22 for SSH, 25 for email sending, and 53 for DNS
Explanation
Common mappings include port 80 for HTTP, 443 for HTTPS, 22 for SSH, 25 for sending email, and 53 for DNS.
- A
- 47
What is typical of the port used by a client on its side of a conversation?
- A
It is usually a randomly selected temporary port
- B
It is always the same well-known port used by the server
- C
It identifies the network portion of the client’s IP address
- D
It is the client’s 48-bit MAC address written as a number
Correct answer
AIt is usually a randomly selected temporary port
Explanation
A client typically uses a temporary, randomly selected port for its side of a connection, while the server listens on a service port.
- A
- 48
Which comparison best describes UDP and TCP?
- A
UDP reserves a circuit; TCP broadcasts every packet to all local devices
- B
UDP sends without confirming delivery or order; TCP tracks delivery and provides ordered data
- C
UDP guarantees perfect ordering; TCP sends each piece without checking for loss
- D
UDP is only for wired networks; TCP is only for wireless networks
Correct answer
BUDP sends without confirming delivery or order; TCP tracks delivery and provides ordered data
Explanation
UDP is simple and does not itself confirm delivery or reorder packets. TCP acknowledges data, retransmits missing pieces, and presents an ordered stream.
- A
- 49
Why might a live video call use UDP rather than TCP?
- A
TCP cannot carry data between two different IP addresses
- B
UDP guarantees that every video frame arrives perfectly and in order
- C
A late packet may be less useful than continuing with a small glitch
- D
UDP automatically encrypts the video without using another protocol
Correct answer
CA late packet may be less useful than continuing with a small glitch
Explanation
For real-time applications, a delayed packet may be useless by the time it arrives. They may prefer a brief glitch over waiting for TCP to retransmit missing data.
- A
- 50
What is the correct order of messages in the TCP three-way handshake?
- A
SYN, SYN-ACK, ACK
- B
FIN, SYN, SYN-ACK
- C
SYN-ACK, ACK, FIN
- D
ACK, FIN, SYN
Correct answer
ASYN, SYN-ACK, ACK
Explanation
The initiator sends SYN, the server responds with SYN-ACK, and the initiator completes the handshake with ACK.
- A
- 51
What does the server communicate in its SYN-ACK message?
- A
That the client’s DNS lookup failed and must be repeated
- B
That it heard the client and will start counting from its own sequence number
- C
That every packet has already arrived in its final order
- D
That the connection is finished and all data should be discarded
Correct answer
BThat it heard the client and will start counting from its own sequence number
Explanation
The server’s SYN-ACK acknowledges the client’s request and supplies the server’s own starting sequence number.
- A
- 52
How does TCP use sequence numbers and acknowledgements to provide reliable, ordered data?
- A
It asks DNS to compare the data received with the original message
- B
It numbers bytes, tracks acknowledgements, retransmits missing data, and removes duplicates
- C
It sends all bytes simultaneously and relies on routers to restore their order
- D
It gives every connection one permanent route that cannot lose packets
Correct answer
BIt numbers bytes, tracks acknowledgements, retransmits missing data, and removes duplicates
Explanation
TCP numbers data, receives acknowledgements for delivered bytes, retransmits when needed, discards duplicates, and fills gaps so the application gets an ordered stream.
- A
- 53
How does TCP normally signal that a connection is being closed?
- A
Each side sends FIN to say goodbye, and the other side confirms
- B
The client sends a DNS request, and the server deletes its IP address
- C
A router removes the connection’s MAC address without notifying either side
- D
Both sides send SYN messages to restart the connection
Correct answer
AEach side sends FIN to say goodbye, and the other side confirms
Explanation
TCP uses FIN messages to signal that each side is finished, with the other side confirming the closure.
- A
- 54
What does TCP flow control protect against?
- A
A fast sender overwhelming a receiver that has limited available buffer space
- B
A network switch delivering a frame to the wrong MAC address
- C
A router announcing an invalid address block to its neighbors
- D
A website name being sent to the wrong DNS server
Correct answer
AA fast sender overwhelming a receiver that has limited available buffer space
Explanation
In flow control, the receiver communicates how much space it has available, called its window, so a fast sender does not flood a slower receiver.
- A
- 55
How does TCP congestion control respond when it detects packet loss?
- A
It reserves the entire network for the connection until loss stops
- B
It sends packets faster so that the lost data is replaced immediately
- C
It backs off its sending rate and then increases it gradually
- D
It switches every packet to a different destination IP address
Correct answer
CIt backs off its sending rate and then increases it gradually
Explanation
TCP congestion control reduces sending speed when loss indicates congestion, then increases speed gradually as conditions allow.
- A
- 56
What caused the 1986 congestion collapse described in the content?
- A
DNS servers returned private addresses for all public websites
- B
TCP connections refused to resend any packet after the first loss
- C
Routers stopped decrementing TTL, causing packets to disappear too soon
- D
Senders rapidly resent lost packets, creating more losses and still more resending
Correct answer
DSenders rapidly resent lost packets, creating more losses and still more resending
Explanation
When senders responded to losses by resending as fast as possible, the extra traffic caused more losses, which triggered still more retransmissions and worsened congestion.
- A
- 57
What does DNS do?
- A
Translates human-readable names into IP addresses
- B
Confirms that every TCP packet has arrived
- C
Encrypts web traffic between a browser and a server
- D
Assigns MAC addresses to network cards
Correct answer
ATranslates human-readable names into IP addresses
Explanation
The Domain Name System maps names such as website domains to IP addresses that computers can use to reach servers.
- A
- 58
How is DNS organized?
- A
As one central list containing every name and address in the world
- B
As a sequence beginning with a device’s MAC address and ending at the root
- C
As a hierarchy read from right to left, from the root to top-level domains and then organization servers
- D
As a flat network in which each website asks every other website for its address
Correct answer
CAs a hierarchy read from right to left, from the root to top-level domains and then organization servers
Explanation
DNS is a distributed tree. A lookup proceeds through levels such as the root, a top-level domain like
.com, and the organization’s own name servers. - A
- 59
What is the usual sequence of an uncached DNS lookup?
- A
The resolver asks a root server, then a top-level-domain server, then the site’s name server
- B
The resolver asks the site’s server, then the root, then the top-level-domain server
- C
The resolver asks a MAC address registry, then a router, then a TCP port
- D
The resolver asks every root server in sequence until one returns the web page
Correct answer
AThe resolver asks a root server, then a top-level-domain server, then the site’s name server
Explanation
If the resolver does not have an answer cached, it follows the DNS hierarchy: root, top-level domain, and then the site’s authoritative name server.
- A
- 60
What is unusual about the thirteen root server identities named A through M?
- A
Each identity exists on only one physical computer in one country
- B
Each identity is served from many locations worldwide using the same address
- C
Each identity stores the complete contents of every website
- D
Each identity can answer only DNS requests sent over IPv6
Correct answer
BEach identity is served from many locations worldwide using the same address
Explanation
The thirteen root server identities are copied across hundreds of sites worldwide, with more than a thousand instances in total, helping queries reach a nearby copy.
- A
- 61
Why are most DNS lookups completed quickly?
- A
Every website has a permanent direct cable to each device
- B
Every router stores the full DNS tree in its routing table
- C
DNS uses TCP acknowledgements instead of asking name servers
- D
Resolvers cache answers for a period of time
Correct answer
DResolvers cache answers for a period of time
Explanation
DNS answers are cached for a while, so a resolver often does not need to repeat the full lookup process.
- A
- 62
How did the Mirai attack on Dyn affect users in 2016?
- A
A botnet flooded a DNS company, preventing many users from looking up otherwise functioning sites
- B
A botnet deleted the web pages stored by Twitter, Netflix, Reddit, and GitHub
- C
A failure in TCP prevented all packets from being delivered to any server
- D
A routing announcement changed all those sites’ MAC addresses
Correct answer
AA botnet flooded a DNS company, preventing many users from looking up otherwise functioning sites
Explanation
Mirai used compromised cameras and video recorders to flood Dyn with junk traffic. Many users could not resolve names for sites that were otherwise running.
- A
- 63
What is the correct order of the four DHCP messages remembered as DORA?
- A
Offer, Discover, Acknowledge, Request
- B
Discover, Request, Offer, Acknowledge
- C
Request, Acknowledge, Discover, Offer
- D
Discover, Offer, Request, Acknowledge
Correct answer
DDiscover, Offer, Request, Acknowledge
Explanation
A device discovers a DHCP server, receives an offer, requests the offered address, and receives an acknowledgement.
- A
- 64
Besides an IP address, what network settings can DHCP provide to a device?
- A
A permanent public address, a TCP sequence number, and a MAC address
- B
A browser cookie, a private key, and a DNS root identity
- C
A website certificate, a port number, and a BGP route
- D
A subnet mask, a default gateway, and DNS servers
Correct answer
DA subnet mask, a default gateway, and DNS servers
Explanation
DHCP can provide the device’s address along with its subnet mask, default gateway, and DNS server settings.
- A
- 65
What does it mean that a DHCP address is a lease?
- A
The device owns the address permanently and can never change it
- B
The address is valid only while the device uses a website
- C
The address is assigned for a period and must be renewed to remain in use
- D
The router can use the address only for DNS traffic
Correct answer
CThe address is assigned for a period and must be renewed to remain in use
Explanation
A DHCP address is leased for a period. The device needs to renew the lease if it is to keep using the address.
- A
- 66
Why does a device use ARP on a local IPv4 network?
- A
To choose a BGP route across the internet
- B
To assign a new IP address when a DHCP lease expires
- C
To find the public IP address associated with a website name
- D
To find the MAC address associated with a known local IP address
Correct answer
DTo find the MAC address associated with a known local IP address
Explanation
ARP lets a device that knows a local IP address, such as its router’s, ask for the corresponding MAC address so it can send a local frame.
- A
- 67
Why can ARP create a security risk on a shared local network?
- A
A device may falsely claim to have the router’s IP address and receive traffic
- B
A device may change a domain name into an invalid IPv6 address
- C
A router may use ARP to read encrypted HTTPS content
- D
A DNS resolver may assign the same port to every application
Correct answer
AA device may falsely claim to have the router’s IP address and receive traffic
Explanation
ARP relies on local claims about which MAC address belongs to an IP address. A malicious device can lie and claim to be the router, which is one reason additional protections matter on public Wi-Fi.
- A
- 68
How does a basic HTTP exchange work?
- A
A router sends a certificate, and the browser returns an encrypted IP address
- B
A server sends a request, and the browser returns a DNS route and a MAC address
- C
A browser sends a request, and the server returns a status code, headers, and content
- D
A browser reserves a circuit, and the server transmits only after the call ends
Correct answer
CA browser sends a request, and the server returns a status code, headers, and content
Explanation
HTTP is a request-and-response protocol. A browser may request a resource, and the server responds with a status code, headers, and the requested content.
- A
- 69
Which interpretation of HTTP status codes is correct?
- A
200 means OK, 301 means moved, 404 means not found, and 500 indicates a server error
- B
200 means a DNS failure, 301 means a TCP reset, 404 means encryption, and 500 means success
- C
200 means not found, 301 means a server error, 404 means OK, and 500 means moved
- D
200 means moved, 301 means OK, 404 means a server error, and 500 means not found
Correct answer
A200 means OK, 301 means moved, 404 means not found, and 500 indicates a server error
Explanation
The examples given are 200 for OK, 301 for a moved resource, 404 for not found, and 500 for a server-side failure.
- A
- 70
What is the intended humorous meaning of HTTP status code 418?
- A
A server cannot find the requested page
- B
A browser has successfully opened a secure connection
- C
A teapot refuses to brew coffee
- D
A website has moved to a new address
Correct answer
CA teapot refuses to brew coffee
Explanation
Code 418 comes from an April Fools’ standard about internet-controlled coffee pots: a teapot asked to brew coffee should refuse with “I’m a teapot.”
- A
- 71
How can cookies help a website remember a user between HTTP requests?
- A
The browser stores the server’s complete database and sends it each time
- B
The router assigns the user the same MAC address at every website
- C
The server keeps one permanent TCP connection open for every user
- D
The site gives the browser a small note that the browser sends back on later requests
Correct answer
DThe site gives the browser a small note that the browser sends back on later requests
Explanation
HTTP has no built-in memory between requests. Websites can use cookies, small pieces of information sent back by the browser, to remember logins or shopping carts.
- A
- 72
What feature distinguishes HTTP/2 as described in the content?
- A
It replaces IP addresses with MAC addresses
- B
It sends every web request using carrier pigeons
- C
It can send many files over one connection at the same time
- D
It prevents browsers from sending more than one request per page
Correct answer
CIt can send many files over one connection at the same time
Explanation
HTTP/2 can carry many files over a single connection at once.
- A
- 73
What is distinctive about HTTP/3?
- A
It uses BGP to deliver files directly to a browser
- B
It removes encryption so that mobile connections start faster
- C
It runs over QUIC, which is built on UDP and can start connections faster
- D
It runs only over traditional telephone circuits using TCP
Correct answer
CIt runs over QUIC, which is built on UDP and can start connections faster
Explanation
HTTP/3 uses QUIC, a protocol built on UDP that can make connections faster to start and work better on unreliable mobile networks.
- A
- 74
What risk does plain HTTP create on a network path such as public café Wi-Fi?
- A
The server must reveal its private encryption key
- B
Routers cannot see the destination IP address
- C
Someone on the path may read or alter the traffic
- D
The browser cannot send a request to a server
Correct answer
CSomeone on the path may read or alter the traffic
Explanation
Plain HTTP travels as readable text, so someone in the path may be able to read or modify it.
- A
- 75
What does HTTPS mean?
- A
TCP carried inside BGP
- B
IP carried inside DHCP
- C
HTTP carried inside DNS
- D
HTTP carried inside TLS
Correct answer
DHTTP carried inside TLS
Explanation
HTTPS is HTTP protected by TLS, or Transport Layer Security.
- A
- 76
Which set correctly names the three guarantees TLS is intended to provide?
- A
Speed, availability, and address allocation
- B
Compression, caching, and retransmission
- C
Ordering, routing, and name resolution
- D
Privacy, integrity, and authenticity
Correct answer
DPrivacy, integrity, and authenticity
Explanation
TLS aims to keep communication private, detect unauthorized changes to it, and verify that the other party is the intended site.
- A
- 77
What does the shared-secret paint-mixing analogy illustrate?
- A
Two parties can send the same password in plain text without risk
- B
A router can encrypt packets by mixing together their MAC addresses
- C
Two parties can agree on a shared secret over a public exchange without revealing their private inputs
- D
A browser can identify a website by comparing its IP address with its colour
Correct answer
CTwo parties can agree on a shared secret over a public exchange without revealing their private inputs
Explanation
In the analogy, each side keeps a secret colour and combines it with public information. Both can derive the same final colour, while an observer who sees only the public mixtures cannot work it out.
- A
- 78
How does a browser check that a TLS server is the site the user intended to contact?
- A
It compares the server’s MAC address with the browser’s own MAC address
- B
It checks the server’s certificate and its signature from a trusted certificate authority
- C
It asks the server to provide its private key in a DNS response
- D
It checks whether the server uses the same temporary port as the browser
Correct answer
BIt checks the server’s certificate and its signature from a trusted certificate authority
Explanation
A server presents a certificate, a digital identity card signed by a certificate authority. The browser checks the signature against authorities it trusts.
- A
- 79
What role did free certificate services such as Let’s Encrypt play?
- A
They replaced DNS with encrypted IP addresses for all websites
- B
They allowed websites to avoid using certificates or TLS
- C
They helped more websites adopt HTTPS by making certificates freely available
- D
They assigned temporary ports to browsers and web servers
Correct answer
CThey helped more websites adopt HTTPS by making certificates freely available
Explanation
Free certificate services helped reduce barriers to obtaining certificates, contributing to wider HTTPS adoption.
- A
- 80
Which pairing correctly describes SMTP and IMAP?
- A
SMTP synchronizes clocks, while IMAP sends network error messages
- B
SMTP reads email across devices, while IMAP sends email between mail servers
- C
SMTP secures remote terminals, while IMAP transfers files
- D
SMTP sends email between mail servers, while IMAP lets users read mail across devices
Correct answer
DSMTP sends email between mail servers, while IMAP lets users read mail across devices
Explanation
SMTP is used to send messages between mail servers. IMAP lets users access and read their mail from multiple devices.
- A
- 81
What are SSH and FTP used for, respectively?
- A
SSH resolves website names; FTP synchronizes clocks
- B
SSH sends email between servers; FTP tests network reachability
- C
SSH assigns IP addresses; FTP encrypts all web browsing
- D
SSH provides a secure remote terminal; FTP was an older method for moving files
Correct answer
DSSH provides a secure remote terminal; FTP was an older method for moving files
Explanation
SSH gives engineers a secure remote terminal for controlling distant servers. FTP was an older protocol for transferring files.
- A
- 82
Why does NTP matter to networked systems?
- A
It keeps clocks synchronized, which matters for transactions and security certificates
- B
It converts domain names into IP addresses before every web request
- C
It retransmits missing packets in an ordered TCP stream
- D
It assigns MAC addresses to computers joining a network
Correct answer
AIt keeps clocks synchronized, which matters for transactions and security certificates
Explanation
NTP synchronizes clocks across the world, often to within milliseconds. Accurate time is important for tasks such as financial transactions and certificate checks.
- A
- 83
What does ICMP carry, and what does ping do with it?
- A
ICMP assigns local IP addresses; ping checks whether a DHCP lease is renewed
- B
ICMP carries email; ping opens a secure remote terminal
- C
ICMP carries network error and test messages; ping sends an echo request and times the reply
- D
ICMP carries web page content; ping asks DNS for a server’s address
Correct answer
CICMP carries network error and test messages; ping sends an echo request and times the reply
Explanation
ICMP is used for network error and test messages. Ping uses an echo request and measures the time until the reply returns.
- A
- 84
Why was the tool called ping?
- A
Its creator named it after the sonar-like sound of a submarine echo
- B
Its name is an abbreviation for private internet gateway
- C
Its creator named it after the first packet sent over ARPANET
- D
Its name refers to a DNS record used only by web browsers
Correct answer
AIts creator named it after the sonar-like sound of a submarine echo
Explanation
Ping’s creator, Mike Muuss, named it after the sound of submarine sonar: send a signal and wait for an echo.
- A
- 85
What happens to IP packets when the underlying link changes from Wi-Fi to mobile radio or fibre?
- A
The packets can continue only if the destination uses the same link
- B
The same IP packets can flow over the different link technologies
- C
Every packet must be rewritten as a different application protocol
- D
The packet’s IP address is replaced by the link’s radio frequency
Correct answer
BThe same IP packets can flow over the different link technologies
Explanation
IP is designed to run over different link technologies. Wi-Fi, Bluetooth, mobile networks, copper, fibre, and other links can carry IP traffic.
- A
- 86
Which sequence correctly describes how a phone obtains its local network settings and sends its first local frame to the router?
- A
TCP provides the subnet mask, then TLS finds the router’s IP address
- B
ARP provides network settings, then DHCP finds the router’s MAC address
- C
DNS provides the MAC address, then BGP assigns the phone’s IP address
- D
DHCP provides network settings, then ARP finds the router’s MAC address
Correct answer
DDHCP provides network settings, then ARP finds the router’s MAC address
Explanation
DHCP automatically gives the phone an IP address and other settings. ARP then maps the router’s known local IP address to its MAC address.
- A
- 87
What happens when a browser requests a website over a typical HTTPS connection?
- A
It uses ARP to find the website’s MAC address across the internet, then opens port 80
- B
It sends an unencrypted HTTP request first, then asks DNS to encrypt the response
- C
It asks BGP to create a TCP connection, then uses DHCP to encrypt the page
- D
It establishes TCP to port 443, negotiates TLS and verifies a certificate, then sends an encrypted HTTP request
Correct answer
DIt establishes TCP to port 443, negotiates TLS and verifies a certificate, then sends an encrypted HTTP request
Explanation
A typical HTTPS visit uses a TCP connection to port 443, followed by a TLS handshake that establishes keys and checks the certificate. The browser then sends an encrypted HTTP request.
- A
- 88
How does the response to a web request become a page displayed by the browser?
- A
BGP decrypts the response, DHCP orders it, and the router draws the page
- B
The server returns packets, TCP orders them, TLS decrypts the data, and the browser renders the page
- C
The server returns a single frame, ARP orders its bytes, and DNS renders the page
- D
The browser asks each router to return a separate section of the page directly
Correct answer
BThe server returns packets, TCP orders them, TLS decrypts the data, and the browser renders the page
Explanation
A server may return a page in many packets. TCP reassembles the ordered stream, TLS decrypts it, and the browser uses the resulting data to draw the page.
- A
- 89
Which Windows command is matched correctly with its networking use?
- A
ipconfigshows local IP settings,pingtests reachability,tracertshows hops, andnslookupqueries DNS - B
ipconfigqueries DNS,pingshows hops,tracertassigns an IP address, andnslookuptests reachability - C
ipconfigshows web pages,pingchanges routes,tracertchecks certificates, andnslookuptransfers files - D
ipconfigencrypts a connection,pingassigns a gateway,tracertreads email, andnslookuplists MAC addresses
Correct answer
Aipconfigshows local IP settings,pingtests reachability,tracertshows hops, andnslookupqueries DNSExplanation
ipconfigdisplays IP configuration,pingtests reachability and response time,tracertreveals hops, andnslookupasks DNS a question. - A
- 90
What does Wireshark help a learner observe?
- A
The physical contents of every undersea cable on the internet
- B
Packets entering and leaving a computer, including DNS, TCP, and TLS exchanges
- C
The private keys stored by every website certificate authority
- D
The complete routing tables of all autonomous systems worldwide
Correct answer
BPackets entering and leaving a computer, including DNS, TCP, and TLS exchanges
Explanation
Wireshark is a packet-analysis tool that can show network traffic from a computer, making exchanges such as DNS lookups and TCP and TLS handshakes observable.
- A
- 91
Why is understanding networking layers useful in technology work?
- A
It helps identify which part of a layered system is causing a problem
- B
It removes the need for applications to use protocols
- C
It guarantees that network failures cannot happen
- D
It allows one computer to control every network globally
Correct answer
AIt helps identify which part of a layered system is causing a problem
Explanation
Many technology fields rely on networks. Understanding the layers helps diagnose where a failure is occurring and how to fix it.
- A

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