wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Networking

Total questions: 25

Worksheet time: 13mins

Name
Class
Date
1.

A datagram is sent without establishing a connection, and no acknowledgment is received. Which protocol is being used?

a)

TCP

b)

ICMP

c)

UDP

d)

STCP

2.

You want to know which user is currently logged into the Linux system to ensure you’re working under the correct account. What command would you use?

a)

hostname

b)

users

c)

whoami

d)

top

3.

In a three-way handshake, which type of packet does the server send to indicate readiness to establish a connection?

a)

SYN

b)

FIN

c)

SYN-ACK

d)

RST

4.

Two devices are communicating over 172.16.5.10/16. Which is the network ID?

a)
172.16.0.255
b)
172.16.5.255
c)
A. 172.16.0.0
d)
172.16.1.0
5.

You have a file named report.txt. You want to create a new user and ensure the user has write permissions to this file, but others cannot write to it. Which command achieves this?

a)
  • chmod u+w report.txt

b)
  • chmod g-w report.txt

c)
  • chmod o-w report.txt

d)

chmod u+w, o-w report.txt

6.

A company is using IPv6 to address devices in its network. Which of the following is a valid IPv6 address?

a)
  • 192.168.0.1

b)
  • 2001:0db8:85a3:0000:0000:8a2e:0370:7334

c)
  • 255.255.255.255

d)
  • 127.0.0.1

7.

You’ve accidentally created a file with spaces in its name, like my file.txt. Which command ensures the file is removed safely?

a)
  • A. rm my file.txt

b)
  • B. rm "my file.txt"

c)
  • C. rm my\ file.txt

d)
  • Both B and C

8.

While navigating the Linux file system, you’re in /home/kali/documents and want to open a file located at /home/kali/desktop/txts. Which type of file path would you use?

a)
  • Relative path

b)
  • Absolute path

c)
  • Both work the same

d)
  • None of the above

9.
  1. Scenario: A computer establishes communication with a server, but data transfer occurs in only one direction at a time.
    Question: Which type of data flow is being used?

a)

Asynchronous

b)

Half-Duplex

c)
Full-Duplex
d)
Simplex
10.

Two devices are on the network. One has the IP address 192.168.10.1/24, and the other has 192.168.20.1/24. Can they communicate without a router?

a)
B. No
b)
C. Yes, but only with a switch
11.

A file named notes.txt resides in /home/user/docs. From /home/user, which path would access the file relatively?

a)
  • docs/notes.txt

b)
  • /docs/notes.txt

c)
  • /home/docs/notes.txt

d)
  • None of the above

12.

A user is browsing the web, and the connection to the server needs to ensure that the web page content loads reliably without missing any elements. Which protocol is best suited for this scenario?

a)

ICMP

b)

UDP

c)

SMTP

d)

TCP

13.

A file named project.zip contains multiple subdirectories. You want to compress everything into a single .zip file. What command should you use?

a)
b)
c)
14.

Two devices on the same network are communicating using IP 192.168.1.10 and 192.168.1.20 with a subnet mask of 255.255.255.0. What component ensures direct communication between them?

a)

C. Router

b)
A. Hub
c)
B. Switch
d)
D. Firewall
15.

You’re logged in as a regular user and need to run a command that requires administrative privileges. Which command prefix will help you?

a)
A. admin
b)
B. sudo
c)
C. chmod
d)
D. useradd
16.

A client and server are establishing a connection. The client sends a SYN packet, and the server responds with a SYN-ACK. What is the next step in the process?

a)

The client closes the connection.

b)

The server sends a SYN packet.

c)

The client sends a RST packet.

d)

The client sends an ACK packet.

17.

During a video call, minor packet loss occurs without affecting the quality significantly. Which protocol is likely handling the data transfer?

a)
A. FTP
b)
B. UDP
c)
C. HTTP
d)
D. SNMP
18.

A user sees the following entry in the system: kali:x:1000:1000:kali:/home/kali:/usr/bin/zsh. Which of the following represents the home directory of the user?

a)
  • /usr/bin/zsh

b)
  • /home/kali

c)
  • kali:x:1000:1000

d)
  • /usr/bin/kali

19.

Scenario: A video streaming application on a smartphone accesses the internet to stream data.
Question: Which OSI layer is responsible for providing this service?

a)

Application Layer

b)

Physical Layer

c)

Data Link Layer

d)

Network Layer

20.

A server uses IP 10.0.0.5 with a subnet mask 255.0.0.0. Which of the following IPs belongs to the same network?

a)
  • 172.16.0.1

b)
  • 10.1.2.3

c)
  • 192.168.1.1

d)
  • 10.0.1.256

21.

You want to display the last 5 lines of a large log file named access.log. Which command will you use?

a)
  • head -n 5 access.log

b)
  • tail -n 5 access.log

c)
  • cat access.log

d)
  • less access.log

22.

A video streaming app faces delays because packets are being retransmitted for reliability. Which protocol should be switched to for better performance?

a)

F. TCP

b)
C. UDP
c)

G. FTP

d)
E. SMTP
23.

ou need to identify all files in your current directory that start with "report" and include a digit in the filename. Which command works?

a)
  • ls report*

b)
  • ls report[0-9]*

c)
  • ls report?

d)
  • ls report.*

24.

A user tries to access a website but finds it unreachable. Upon investigation, the router reveals that the IP address is private. Which class of address is likely assigned to the user?

a)
  • Class A (10.x.x.x)

b)
  • Class B (172.16.x.x – 172.31.x.x)

c)
  • Class C (192.168.x.x)

d)
D. Any of the above
25.

A file’s ownership needs to be changed to a specific user. Which command should you use?

a)

A. sudo

b)
B. chown
c)

C. groupadd

d)

D. passwd