Internet & Networking quiz

How the internet works — IP, DNS, HTTP, browsers and staying safe online.

70 questionsInstant feedbackFree

Set up your quiz

Difficulty
Number of questions

Tip: press 1–4 to answer and Enter for the next question.

All 70 questions with answers
  1. Who invented the World Wide Web?

    • Bill Gates
    • Tim Berners-Lee (correct)
    • Steve Jobs
    • Mark Zuckerberg
  2. What does IP stand for in IP address?

    • Internal Process
    • Internet Provider
    • Internet Protocol (correct)
    • Instant Packet
  3. What does URL stand for?

    • Uniform Resource Locator (correct)
    • Universal Reference Link
    • Unified Resource Loader
    • User Request Line
  4. Which protocol is used for secure web browsing?

    • HTTP
    • FTP
    • SMTP
    • HTTPS (correct)
  5. What does DNS do?

    • Encrypts web traffic
    • Translates domain names into IP addresses (correct)
    • Stores emails
    • Blocks viruses
  6. What is the default port for HTTP?

    • 21
    • 443
    • 80 (correct)
    • 25
  7. Which of these is a web browser?

    • Chrome (correct)
    • Windows
    • Linux
    • Oracle
  8. How many bits are in an IPv4 address?

    • 64
    • 128
    • 16
    • 32 (correct)
  9. Which protocol is used to send email?

    • FTP
    • HTTP
    • SMTP (correct)
    • SSH
  10. Which statement about TCP is correct?

    • It is connectionless and unreliable
    • It is connection-oriented and reliable (correct)
    • It is used only for video
    • It has no error checking
  11. What is the default port for HTTPS?

    • 443 (correct)
    • 80
    • 22
    • 53
  12. What does a router do?

    • Stores web pages
    • Displays web pages
    • Forwards data packets between networks (correct)
    • Encrypts files
  13. What is FTP mainly used for?

    • Sending email
    • Browsing web pages
    • Resolving domain names
    • Transferring files (correct)
  14. At which OSI layer does IP operate?

    • Transport layer
    • Data link layer
    • Network layer (correct)
    • Application layer
  15. What does DHCP do?

    • Automatically assigns IP addresses to devices (correct)
    • Encrypts traffic
    • Hosts websites
    • Filters spam
  16. What are the steps of the TCP three-way handshake?

    • ACK, SYN, FIN
    • SYN, SYN-ACK, ACK (correct)
    • SYN, ACK, FIN
    • FIN, ACK, SYN
  17. Which HTTP status code means "Moved Permanently"?

    • 200
    • 404
    • 500
    • 301 (correct)
  18. What is the main purpose of TLS?

    • Speed up downloads
    • Assign IP addresses
    • Encrypt and authenticate communication (correct)
    • Resolve domain names
  19. What does NAT do?

    • Encrypts email
    • Translates private IP addresses to a public IP address (correct)
    • Blocks all traffic
    • Assigns domain names
  20. Which DNS record maps a domain name to an IPv4 address?

    • A record (correct)
    • MX record
    • CNAME record
    • TXT record
  21. What is the internet?

    • A web browser
    • A single computer
    • A website
    • A global network of interconnected computer networks (correct)
  22. What is a website?

    • A collection of related web pages under one domain (correct)
    • An email
    • A cable
    • A web browser
  23. What is a web browser used for?

    • Printing
    • Viewing web pages (correct)
    • Writing code only
    • Storing files
  24. What is an ISP?

    • A browser
    • A protocol
    • A company that provides internet access (correct)
    • A type of website
  25. What does Wi-Fi provide?

    • Mobile calls only
    • Wired electricity
    • Wireless network access (correct)
    • Satellite TV
  26. What is a domain name?

    • An IP address only
    • A human-readable address for a website, like example.com (correct)
    • An email address
    • A password
  27. What is a search engine?

    • An email client
    • A service that finds web pages for keywords (correct)
    • A browser
    • A server
  28. What is email?

    • A website
    • A phone call
    • Printed letters
    • Messages sent electronically over a network (correct)
  29. What does a hyperlink do?

    • Closes the browser
    • Prints a page
    • Deletes a page
    • Takes you to another page or resource when clicked (correct)
  30. What is downloading?

    • Copying data from the internet to your device (correct)
    • Sending data to the internet
    • Deleting files
    • Printing files
  31. What is uploading?

    • Deleting cookies
    • Opening a web page
    • Sending data from your device to the internet (correct)
    • Receiving files
  32. What is a cookie on a website?

    • A virus
    • A small piece of data a site stores in your browser (correct)
    • An advertisement
    • A type of image
  33. What does a padlock icon in the address bar usually mean?

    • The site is safe from all scams
    • The connection uses HTTPS encryption (correct)
    • The site is blocked
    • The site is offline
  34. What is a strong password?

    • A long mix of letters, numbers and symbols that is hard to guess (correct)
    • Your name
    • Your birthday
    • 123456
  35. What is malware?

    • A web browser
    • A type of cable
    • Software designed to harm or exploit a device (correct)
    • A hardware part
  36. What is the difference between the internet and the World Wide Web?

    • The web is older than the internet
    • The internet runs on the web
    • They are the same
    • The web is a service of linked pages that runs on the internet (correct)
  37. What is an IP address?

    • A numeric address that identifies a device on a network (correct)
    • A password
    • A website name
    • A browser setting
  38. How many bits are in an IPv6 address?

    • 256
    • 64
    • 32
    • 128 (correct)
  39. What is a MAC address?

    • An Apple product code
    • A hardware address of a network interface (correct)
    • A website address
    • An IP address
  40. What is a LAN?

    • A network covering a city
    • A worldwide network
    • A network covering a small area such as a home or office (correct)
    • A satellite network
  41. What is a WAN?

    • A wireless network only
    • A local printer network
    • A network spanning large geographic areas (correct)
    • A home network
  42. What does a switch do in a network?

    • Connects to the internet only
    • Assigns domain names
    • Stores websites
    • Forwards data between devices on the same local network (correct)
  43. What does a modem do?

    • Blocks viruses
    • Converts signals between your network and your ISP's line (correct)
    • Shows web pages
    • Stores files
  44. What is the default port for SSH?

    • 22 (correct)
    • 80
    • 21
    • 25
  45. What is the default port for DNS queries?

    • 80
    • 443
    • 53 (correct)
    • 25
  46. Which protocol is commonly used to receive email on a device?

    • SMTP
    • FTP
    • HTTP only
    • IMAP (correct)
  47. What is the difference between TCP and UDP?

    • TCP is only for email
    • UDP is reliable; TCP is not
    • They are the same
    • TCP is reliable and ordered; UDP is faster but does not guarantee delivery (correct)
  48. Which protocol is better suited to live video calls and games?

    • SMTP
    • UDP (correct)
    • FTP
    • TCP only
  49. What is a firewall?

    • A system that filters network traffic based on rules (correct)
    • A web browser
    • A hard drive
    • A physical wall
  50. What is a VPN?

    • A web page
    • An encrypted tunnel between your device and another network (correct)
    • A virus
    • A type of Wi-Fi router only
  51. What is HTTP status code 404?

    • OK
    • Not Found (correct)
    • Server Error
    • Forbidden
  52. What is HTTP status code 403?

    • Forbidden (correct)
    • OK
    • Not Found
    • Bad Gateway
  53. What is a subnet mask used for?

    • Hiding an IP address
    • Dividing an IP address into network and host parts (correct)
    • Naming a network
    • Encrypting traffic
  54. What is two-factor authentication?

    • Logging in with a password plus a second proof such as a code (correct)
    • Using two browsers
    • Using two passwords
    • Logging in twice
  55. What is a URL's path in https://example.com/docs/page?

    • /docs/page (correct)
    • .com
    • example.com
    • https
  56. How many layers does the OSI model have?

    • 4
    • 9
    • 5
    • 7 (correct)
  57. At which OSI layer do TCP and UDP operate?

    • Network (layer 3)
    • Transport (layer 4) (correct)
    • Data link (layer 2)
    • Application (layer 7)
  58. Which layer of the OSI model deals with MAC addresses?

    • Physical (layer 1)
    • Transport (layer 4)
    • Network (layer 3)
    • Data link (layer 2) (correct)
  59. What does ARP do?

    • Resolves domain names
    • Encrypts packets
    • Assigns IP addresses
    • Finds the MAC address for a given IP address on a local network (correct)
  60. What is a DNS CNAME record?

    • An IPv6 address
    • A mail server
    • A text record only
    • An alias that points one domain name to another (correct)
  61. Which DNS record points to a domain's mail servers?

    • MX (correct)
    • A
    • CNAME
    • TXT
  62. What is the purpose of TTL in an IP packet?

    • Setting the packet size
    • Encrypting the packet
    • Limiting how many hops a packet can make before being dropped (correct)
    • Naming the sender
  63. What is CIDR notation like 192.168.1.0/24?

    • A DNS record
    • An IP range where the first 24 bits are the network part (correct)
    • A MAC address
    • A port range
  64. How many usable host addresses are in a /24 IPv4 network?

    • 255
    • 254 (correct)
    • 256
    • 24
  65. What does BGP do?

    • Encrypts web pages
    • Routes traffic between large networks (autonomous systems) on the internet (correct)
    • Resolves domain names
    • Assigns IP addresses to home devices
  66. What is a DDoS attack?

    • Guessing a password
    • Installing a keylogger
    • Flooding a service with traffic from many machines to make it unavailable (correct)
    • Stealing passwords by email
  67. What is a man-in-the-middle attack?

    • A spam email
    • An attacker secretly intercepts communication between two parties (correct)
    • A broken router
    • A slow network
  68. What does HTTP/2 add compared with HTTP/1.1?

    • Encryption only
    • Email support
    • Multiplexing several requests over one connection (correct)
    • Support for images
  69. Which transport protocol does HTTP/3 use?

    • TCP only
    • FTP
    • SCTP
    • QUIC over UDP (correct)
  70. What is a certificate authority (CA)?

    • An ISP
    • A trusted organization that issues digital certificates for websites (correct)
    • A web host
    • A domain registrar only