WorksheetsIT - LA2 Quiz
Total questions: 30
Worksheet time: 15mins
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?
Motherboard
Power Supply (SMPS)
Expansion card
SATA cable
Which statement best defines an Operating System (OS) in this context?
Software that controls computer hardware and provides a platform for application programs
A single application used only for file management tasks
Firmware that only initializes hardware during boot and then stops running
A cloud service that replaces local storage without running on the computer
According to the examples, which command moves you from /home/god/vidh1 back to /home/god?
cd /
cd ..
rmdir ..
pwd ..
According to the examples, which command displays the contents of a file to the terminal without pagination?
more filename
cat filename
head filename
tail filename
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?
ping 192.168.1.2
tracert 192.168.1.1
ipconfig /all
arp -a 192.168.1.2
According to the troubleshooting steps, which message in Command Prompt indicates that the LAN connection is successful?
Reply from 192.168.1.2 ...
Destination host unreachable
Request timed out
General failure
If the ping test results in "Request timed out," which item is NOT listed among the recommended checks?
Verify DNS server settings
Confirm IP settings
Inspect Ethernet cable condition
Check if a firewall is blocking ICMP
Review network adapter status
According to the principle of least privilege, which is the best approach when assigning access rights to users?
Grant only the specific permissions required for the task
Give Full Control to simplify management
Use the Administrator account for all routine activities
Assign Modify permissions to every standard user by default
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?
Read
Write
Modify
Full Control
Which statement best defines a firewall in the context of computer networks?
A tool that scans files for malware signatures
A service that translates domain names to IP addresses
A control that permits or blocks network traffic based on rules
A protocol used to transfer web pages over the internet
In the material, which port and protocol pair is explicitly used as an example of a common web service?
UDP port 53
TCP port 80
TCP port 25
UDP port 161
Which command shows numbered UFW rules to verify a deny entry exists?
sudo ufw status numbered
sudo ufw delete deny 8080/tcp
sudo firewall-cmd --list-all
sudo iptables -F
Which local test indicates a blocked port when trying to connect to 8080?
telnet localhost 8080 returns immediate welcome banner
nc -vz localhost 8080 shows 'succeeded'
curl -I http://localhost:8080 times out or is refused
ping localhost succeeds
What iptables command deletes a rule in the INPUT chain by its rule number?
sudo iptables -A INPUT
sudo iptables -D INPUT
sudo iptables -X INPUT
sudo iptables -P INPUT DROP
Which network test from a remote host should indicate the blocked state as closed/filtered?
curl to port 22 over SSH
nmap / nc / curl targeting port 8080
scp file transfer to port 8080
ip a show
According to the sample report, which tools demonstrated that connections to 8080 were refused/filtered?
Test-NetConnection, curl, nc, nmap
ping, arp, route
ss, netstat, lsof
tcpdump, wireshark, tshark
Which statement correctly distinguishes port from protocol as per the viva expected answers?
Port is TCP/UDP; protocol is numeric endpoint
Port is numeric endpoint; protocol is TCP/UDP
Port and protocol are synonyms
Protocol is a physical interface; port is OSI layer 2
Which two or more tools are suggested for checking if a remote port is open?
nmap, nc, telnet, curl, Test-NetConnection
ipconfig, ifconfig, arp
top, htop, free
sed, awk, grep
If a service is not running, what will be the port's state when checked with ss -tlnp or netstat -tlnp?
It will be LISTENING
It will not be LISTENING
It will always be FILTERED
It will appear as ESTABLISHED
Why is testing from a remote host recommended when possible?
Local firewall/loopback behavior can differ from remote testing
Remote tests are always faster
Local tests damage the firewall
Remote hosts bypass all firewall rules
Which checklist item confirms Linux-side verification of the block?
Student exported browser bookmarks
Student created a rule to block specified port
Student enabled SSH root login
Student configured DHCP
Which command specifically verifies UFW rule removal by showing a normal/open state after cleanup?
sudo ufw status
sudo ufw enable
sudo iptables -S
sudo firewall-cmd --panic-on
Which netsh command removes the Windows firewall rule named Block_TCP_8080 for TCP port 8080?
netsh advfirewall firewall reset rule name="Block_TCP_8080" protocol=TCP localport=8080
netsh advfirewall firewall delete rule name="Block_TCP_8080" protocol=TCP localport=8080
netsh firewall rule remove name=Block_TCP_8080 port=8080 proto=TCP
Remove-NetFirewallRule -Name Block_TCP_8080 -Port 8080 -Protocol TCP
Which command would you run first on a fresh Linux setup to start managing rules using the quick reference sequence?
sudo ufw status numbered
sudo ufw enable
sudo ufw deny 8080/tcp
nc -vz localhost 8080
Which step demonstrates verification after blocking a port as described in the reference?
Reboot the system and check BIOS logs
Use Test-NetConnection or curl/nc to test connectivity
Install antivirus and run a full scan
View system time synchronization status
Which statement best matches the Windows command Test-NetConnection -ComputerName localhost -Port 8080?
It deletes an existing firewall rule for port 8080
It creates a listening socket on port 8080
It checks connectivity to localhost on TCP port 8080
It enables the Windows firewall service
What is the correct action parameter used in the Windows netsh command to block traffic?
action=deny
action=drop
action=block
action=reject
Which command would you execute to revert the Windows system to its previous state by removing the specific block rule?
netsh advfirewall firewall delete rule name="Block_TCP_8080" protocol=TCP localport=8080
netsh advfirewall reset all
Disable-NetFirewallProfile -All
Remove-NetRoute -DestinationPrefix 0.0.0.0/0
Which statement from the summary connects the practical to theoretical concepts?
It replaces theoretical learning with unrelated tasks
It helps relate network security and access control concepts with real-world implementation
It focuses only on GUI-based operations
It avoids discussing ports and protocols
Which backup type copies only the files that have changed since the last backup of any type?
Full backup
Incremental backup
Differential backup
Mirror backup
