Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

IT - LA2 Quiz

Total questions: 30

Worksheet time: 15mins

Name
Class
Date
1.

Which component acts as the communication backbone of a computer by connecting the CPU, RAM, storage, and peripherals and containing slots such as DIMM, CPU socket, and PCIe?

a)

Motherboard

b)

Power Supply (SMPS)

c)

Expansion card

d)

SATA cable

2.

Which statement best defines an Operating System (OS) in this context?

a)

Software that controls computer hardware and provides a platform for application programs

b)

A single application used only for file management tasks

c)

Firmware that only initializes hardware during boot and then stops running

d)

A cloud service that replaces local storage without running on the computer

3.

According to the examples, which command moves you from /home/god/vidh1 back to /home/god?

a)

cd /

b)

cd ..

c)

rmdir ..

d)

pwd ..

4.

According to the examples, which command displays the contents of a file to the terminal without pagination?

a)

more filename

b)

cat filename

c)

head filename

d)

tail filename

5.

You have connected two PCs with an Ethernet cable and assigned static IPv4 addresses. Which command should you run in Command Prompt to test connectivity from PC1 to PC2 using the given addressing?

a)

ping 192.168.1.2

b)

tracert 192.168.1.1

c)

ipconfig /all

d)

arp -a 192.168.1.2

6.

According to the troubleshooting steps, which message in Command Prompt indicates that the LAN connection is successful?

a)

Reply from 192.168.1.2 ...

b)

Destination host unreachable

c)

Request timed out

d)

General failure

7.

If the ping test results in "Request timed out," which item is NOT listed among the recommended checks?

a)

Verify DNS server settings

b)

Confirm IP settings

c)

Inspect Ethernet cable condition

d)

Check if a firewall is blocking ICMP

e)

Review network adapter status

8.

According to the principle of least privilege, which is the best approach when assigning access rights to users?

a)

Grant only the specific permissions required for the task

b)

Give Full Control to simplify management

c)

Use the Administrator account for all routine activities

d)

Assign Modify permissions to every standard user by default

9.

A folder D:\LabData should allow student1 to create, edit, and delete files but not change permissions or ownership. Which single NTFS permission is most appropriate?

a)

Read

b)

Write

c)

Modify

d)

Full Control

10.

Which statement best defines a firewall in the context of computer networks?

a)

A tool that scans files for malware signatures

b)

A service that translates domain names to IP addresses

c)

A control that permits or blocks network traffic based on rules

d)

A protocol used to transfer web pages over the internet

11.

In the material, which port and protocol pair is explicitly used as an example of a common web service?

a)

UDP port 53

b)

TCP port 80

c)

TCP port 25

d)

UDP port 161

12.

Which command shows numbered UFW rules to verify a deny entry exists?

a)

sudo ufw status numbered

b)

sudo ufw delete deny 8080/tcp

c)

sudo firewall-cmd --list-all

d)

sudo iptables -F

13.

Which local test indicates a blocked port when trying to connect to 8080?

a)

telnet localhost 8080 returns immediate welcome banner

b)

nc -vz localhost 8080 shows 'succeeded'

c)

curl -I http://localhost:8080 times out or is refused

d)

ping localhost succeeds

14.

What iptables command deletes a rule in the INPUT chain by its rule number?

a)

sudo iptables -A INPUT

b)

sudo iptables -D INPUT

c)

sudo iptables -X INPUT

d)

sudo iptables -P INPUT DROP

15.

Which network test from a remote host should indicate the blocked state as closed/filtered?

a)

curl to port 22 over SSH

b)

nmap / nc / curl targeting port 8080

c)

scp file transfer to port 8080

d)

ip a show

16.

According to the sample report, which tools demonstrated that connections to 8080 were refused/filtered?

a)

Test-NetConnection, curl, nc, nmap

b)

ping, arp, route

c)

ss, netstat, lsof

d)

tcpdump, wireshark, tshark

17.

Which statement correctly distinguishes port from protocol as per the viva expected answers?

a)

Port is TCP/UDP; protocol is numeric endpoint

b)

Port is numeric endpoint; protocol is TCP/UDP

c)

Port and protocol are synonyms

d)

Protocol is a physical interface; port is OSI layer 2

18.

Which two or more tools are suggested for checking if a remote port is open?

a)

nmap, nc, telnet, curl, Test-NetConnection

b)

ipconfig, ifconfig, arp

c)

top, htop, free

d)

sed, awk, grep

19.

If a service is not running, what will be the port's state when checked with ss -tlnp or netstat -tlnp?

a)

It will be LISTENING

b)

It will not be LISTENING

c)

It will always be FILTERED

d)

It will appear as ESTABLISHED

20.

Why is testing from a remote host recommended when possible?

a)

Local firewall/loopback behavior can differ from remote testing

b)

Remote tests are always faster

c)

Local tests damage the firewall

d)

Remote hosts bypass all firewall rules

21.

Which checklist item confirms Linux-side verification of the block?

a)

Student exported browser bookmarks

b)

Student created a rule to block specified port

c)

Student enabled SSH root login

d)

Student configured DHCP

22.

Which command specifically verifies UFW rule removal by showing a normal/open state after cleanup?

a)

sudo ufw status

b)

sudo ufw enable

c)

sudo iptables -S

d)

sudo firewall-cmd --panic-on

23.

Which netsh command removes the Windows firewall rule named Block_TCP_8080 for TCP port 8080?

a)

netsh advfirewall firewall reset rule name="Block_TCP_8080" protocol=TCP localport=8080

b)

netsh advfirewall firewall delete rule name="Block_TCP_8080" protocol=TCP localport=8080

c)

netsh firewall rule remove name=Block_TCP_8080 port=8080 proto=TCP

d)

Remove-NetFirewallRule -Name Block_TCP_8080 -Port 8080 -Protocol TCP

24.

Which command would you run first on a fresh Linux setup to start managing rules using the quick reference sequence?

a)

sudo ufw status numbered

b)

sudo ufw enable

c)

sudo ufw deny 8080/tcp

d)

nc -vz localhost 8080

25.

Which step demonstrates verification after blocking a port as described in the reference?

a)

Reboot the system and check BIOS logs

b)

Use Test-NetConnection or curl/nc to test connectivity

c)

Install antivirus and run a full scan

d)

View system time synchronization status

26.

Which statement best matches the Windows command Test-NetConnection -ComputerName localhost -Port 8080?

a)

It deletes an existing firewall rule for port 8080

b)

It creates a listening socket on port 8080

c)

It checks connectivity to localhost on TCP port 8080

d)

It enables the Windows firewall service

27.

What is the correct action parameter used in the Windows netsh command to block traffic?

a)

action=deny

b)

action=drop

c)

action=block

d)

action=reject

28.

Which command would you execute to revert the Windows system to its previous state by removing the specific block rule?

a)

netsh advfirewall firewall delete rule name="Block_TCP_8080" protocol=TCP localport=8080

b)

netsh advfirewall reset all

c)

Disable-NetFirewallProfile -All

d)

Remove-NetRoute -DestinationPrefix 0.0.0.0/0

29.

Which statement from the summary connects the practical to theoretical concepts?

a)

It replaces theoretical learning with unrelated tasks

b)

It helps relate network security and access control concepts with real-world implementation

c)

It focuses only on GUI-based operations

d)

It avoids discussing ports and protocols

30.

Which backup type copies only the files that have changed since the last backup of any type?

a)

Full backup

b)

Incremental backup

c)

Differential backup

d)

Mirror backup