Which of the following is used to prevent unauthorized access to a network?
A
Switch
B
Modem
C
Router
D
Firewall
Correct Answer: Option D — Firewall
Explanation:
A firewall is a network security device or software that monitors and controls incoming and outgoing traffic based on security rules, preventing unauthorized access to a network.