Computer networks worksheet with answers

Free printable Computer networks worksheet: 8 problems from easy to exam level, with an answer key. Print it or save it as a PDF.

For teachers: free to print, copy and use in class. Every new worksheet has new values and its own answer key. A link to ExamProblems on your course page is appreciated.

Name: ____________________   Date: ____________

1.Easy

What does a VPN mainly provide?

  1. AA free public IP address for every device
  2. BA faster physical connection to the internet through a dedicated line
  3. CAutomatic backup of files to a server
  4. DAn encrypted tunnel across an untrusted network such as the internet
2.Easy

In a peer-to-peer network:

  1. ADevices cannot communicate directly
  2. BEach node can act as both a client and a server
  3. COnly routers may share files
  4. DOne central server handles every request
3.Easy

What is the main job of a firewall?

  1. ATo speed up downloads by caching files
  2. BTo convert domain names into addresses
  3. CTo allow or block traffic according to security rules
  4. DTo assign IP addresses to hosts
4.Medium

Which host is in the same /16 subnet as 10.1.2.3?

  1. A10.0.2.3
  2. B11.1.2.3
  3. C10.1.200.5
  4. D10.2.2.3
5.Medium

TLS provides which security properties for HTTPS?

  1. AAnonymity of the user
  2. BProtection against all malware and phishing on the visited site
  3. CConfidentiality, integrity and server authentication
  4. DOnly faster loading
6.Medium

What does an MX record in DNS specify?

  1. AAn alias name for another host
  2. BThe IPv4 address of a web server
  3. CThe name servers for a zone
  4. DThe mail servers that accept email for a domain
7.Hard

The count-to-infinity problem occurs in which kind of routing protocol, and what helps against it?

  1. ALink-state; flooding link updates
  2. BStatic routing; adding default routes
  3. CPath-vector; longer AS paths
  4. DDistance-vector; split horizon and poison reverse
8.Hard

Why does the side that closes a TCP connection first stay in the TIME_WAIT state for twice the maximum segment lifetime?

  1. ATo wait for the DNS cache to expire
  2. BSo delayed segments die out and the final ACK can be resent if it was lost
  3. CTo let the routers along the path update their routing tables for the next connection
  4. DTo keep the encryption keys for later reuse

Answer key

  1. 1. D · An encrypted tunnel across an untrusted network such as the internet
  2. 2. B · Each node can act as both a client and a server
  3. 3. C · To allow or block traffic according to security rules
  4. 4. C · 10.1.200.5
  5. 5. C · Confidentiality, integrity and server authentication
  6. 6. D · The mail servers that accept email for a domain
  7. 7. D · Distance-vector; split horizon and poison reverse
  8. 8. B · So delayed segments die out and the final ACK can be resent if it was lost

Full step-by-step solutions: practise this topic on examproblems.com.