Quiz - Module 5: Network & Security
Test your knowledge on networking, OSI, DNS, and Windows security!
Question 1
How many layers does the OSI model have?
- A) 5
- B) 6
- C) 7
- D) 8
See the answer
Answer: C) 7
The OSI model has 7 layers: Physical, Data Link, Network, Transport, Session, Presentation, Application.
Question 2
Which OSI layer does the IP protocol belong to?
- A) Layer 2 (Data Link)
- B) Layer 3 (Network)
- C) Layer 4 (Transport)
- D) Layer 7 (Application)
See the answer
Answer: B) Layer 3 (Network)
IP handles addressing and routing at the network level.
Question 3
Which layer does TCP belong to?
- A) Layer 2
- B) Layer 3
- C) Layer 4 (Transport)
- D) Layer 7
See the answer
Answer: C) Layer 4 (Transport)
TCP ensures reliable data transport.
Question 4
What does DNS stand for?
- A) Dynamic Network System
- B) Domain Name System
- C) Data Network Service
- D) Digital Name Server
See the answer
Answer: B) Domain Name System
DNS translates domain names into IP addresses.
Question 5
Which port does DNS use by default?
- A) 80
- B) 443
- C) 53
- D) 22
See the answer
Answer: C) 53
DNS uses port 53 (UDP and TCP).
Question 6
What does DHCP stand for?
- A) Dynamic Host Configuration Protocol
- B) Data Handling Control Process
- C) Digital Home Connection Port
- D) Domain Host Control Protocol
See the answer
Answer: A) Dynamic Host Configuration Protocol
DHCP automatically assigns IP addresses.
Question 7
What is the loopback IP address?
- A) 192.168.1.1
- B) 127.0.0.1
- C) 10.0.0.1
- D) 255.255.255.255
See the answer
Answer: B) 127.0.0.1
127.0.0.1 (localhost) points to the machine itself.
Question 8
What is UAC?
- A) A virus
- B) User Account Control
- C) A network protocol
- D) A type of RAM
See the answer
Answer: B) User Account Control
UAC protects against unauthorized system changes.
Question 9
What is Windows Defender?
- A) A game
- B) The built-in antivirus and anti-malware for Windows
- C) A browser
- D) A firewall only
See the answer
Answer: B) The built-in antivirus and anti-malware for Windows
Windows Defender protects against viruses, malware, and threats.
Question 10
Which port does HTTP use?
- A) 21
- B) 22
- C) 80
- D) 443
See the answer
Answer: C) 80
HTTP uses port 80 by default.
Question 11
Which port does HTTPS use?
- A) 80
- B) 443
- C) 21
- D) 22
See the answer
Answer: B) 443
HTTPS (secure HTTP) uses port 443.
Question 12
Which command displays the ARP table?
- A) ipconfig
- B) arp -a
- C) ping
- D) netstat
See the answer
Answer: B) arp -a
arp -a displays known IP/MAC associations.
Question 13
What is a MAC address?
- A) An IP address
- B) The unique physical address of a network card
- C) An email address
- D) A web address
See the answer
Answer: B) The unique physical address of a network card
The MAC address uniquely identifies each network card.
Question 14
Which class of private IP address starts with 192.168?
- A) Class A
- B) Class B
- C) Class C
- D) Class D
See the answer
Answer: C) Class C
192.168.x.x is a private Class C range.
Question 15
What is a subnet mask?
- A) A virus
- B) A value that separates the network part from the host part of an IP
- C) A password
- D) A protocol
See the answer
Answer: B) A value that separates the network part from the host part
The mask defines which part of the IP identifies the network.
Question 16
What does 255.255.255.0 mean?
- A) IP address
- B) Subnet mask /24
- C) Broadcast address
- D) Gateway
See the answer
Answer: B) Subnet mask /24
255.255.255.0 = /24, the first 24 bits are for the network.
Question 17
What is the default gateway?
- A) A virus
- B) The router's address to access other networks
- C) The local IP address
- D) The DNS server
See the answer
Answer: B) The router's address to access other networks
The gateway routes traffic to the Internet or other networks.
Question 18
Which command clears the Windows DNS cache?
- A) ipconfig /release
- B) ipconfig /flushdns
- C) ping /dns
- D) netstat /dns
See the answer
Answer: B) ipconfig /flushdns
ipconfig /flushdns clears the DNS resolution cache.
Question 19
What is Nmap?
- A) A virus
- B) A network scanning and port discovery tool
- C) A browser
- D) An antivirus
See the answer
Answer: B) A network scanning and port discovery tool
Nmap allows discovering hosts and services on a network.
Question 20
Which port does SSH use?
- A) 21
- B) 22
- C) 23
- D) 25
See the answer
Answer: B) 22
SSH (Secure Shell) uses port 22.
Question 21
Which port does FTP use?
- A) 20 and 21
- B) 22
- C) 80
- D) 443
See the answer
Answer: A) 20 and 21
FTP uses port 21 (commands) and 20 (data).
Question 22
What is the ARP protocol?
- A) A virus
- B) Address Resolution Protocol - associates IP and MAC
- C) A browser
- D) An antivirus
See the answer
Answer: B) Address Resolution Protocol
ARP finds the MAC address corresponding to an IP address.
Question 23
What is an ARP Spoofing attack?
- A) A port scan
- B) A MAC address spoofing to intercept traffic
- C) An email virus
- D) A weak password
See the answer
Answer: B) A MAC address spoofing to intercept traffic
The attacker impersonates the gateway to intercept traffic.
Question 24
What is the ICMP protocol?
- A) A browser
- B) Internet Control Message Protocol - used by ping
- C) A virus
- D) An antivirus
See the answer
Answer: B) Internet Control Message Protocol
ICMP is used by ping and traceroute for network diagnostics.
Question 25
What is the difference between TCP and UDP?
- A) They are identical
- B) TCP is reliable with connection, UDP is fast without guarantee
- C) UDP is more secure
- D) TCP is faster
See the answer
Answer: B) TCP is reliable with connection, UDP is fast without guarantee
TCP guarantees delivery, UDP is lighter and faster.
Question 26
What is a firewall?
- A) An antivirus
- B) A system that filters incoming/outgoing network traffic
- C) A browser
- D) A protocol
See the answer
Answer: B) A system that filters incoming/outgoing network traffic
The firewall blocks or allows traffic according to rules.
Question 27
Which command opens the advanced Windows firewall?
- A) firewall.cpl
- B) wf.msc
- C) cmd
- D) regedit
See the answer
Answer: B) wf.msc
wf.msc opens the Windows Firewall with advanced features.
Question 28
What is an inbound firewall rule?
- A) A virus
- B) A rule that filters traffic arriving at the machine
- C) A rule for outgoing traffic
- D) A protocol
See the answer
Answer: B) A rule that filters traffic arriving at the machine
Inbound rules control what can connect to the machine.
Question 29
What is NAT?
- A) A virus
- B) Network Address Translation - translates private addresses to public
- C) An antivirus
- D) An email protocol
See the answer
Answer: B) Network Address Translation
NAT allows multiple private machines to share a public IP.
Question 30
Which command displays listening ports?
- A) ipconfig
- B) netstat -an
- C) ping
- D) arp
See the answer
Answer: B) netstat -an
netstat -an displays all connections and listening ports.
Score
| Score | Level |
|---|---|
| 27-30 | Excellent! |
| 22-26 | Very good! |
| 17-21 | Good |
| 12-16 | Fair |
| 0-11 | Needs review |
Quiz for Module 5 - Network & Security - 30 questions