Correct answer: B
Explanation
A firewall monitors and filters incoming and outgoing network traffic against a set of security rules, acting as a barrier between a trusted internal network and untrusted external ones. Removing viruses is the job of antivirus software, while backups and encryption are separate functions.