Category: Computer Science | Last updated: 2026-09-18

What is the primary purpose of a 'firewall' in network security?

A) To speed up internet connection by blocking ads
B) To prevent unauthorized access to or from a private network
C) To automatically back up all computer data to the cloud
D) To encrypt all files stored on a computer's hard drive

Explanation

A firewall acts as a barrier, monitoring and controlling incoming and outgoing network traffic based on predetermined security rules to protect a network from unauthorized access.

Practice More Computer Science Questions

Browse all questions