What is the primary purpose of a firewall in a computer network? MCQ with Answer and Explanation

What is the primary purpose of a firewall in a computer network?
A. To detect and remove viruses
B. To encrypt all data on the network
C. To monitor and control incoming and outgoing network traffic
D. To provide backup services
Answer: Option C
Solution (By JKExamLibrary)
A firewall monitors and controls incoming and outgoing network traffic based on predetermined security rules.

This question belongs to: Computer Cyber Security

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Cyber Security Questions

Question #1 Report Error
What is the role of a security incident response team?
A. To develop software
B. To handle customer complaints
C. To respond to and manage security incidents
D. To manage human resources

Correct Answer: Option C


Explanation:
A security incident response team is responsible for preparing for, detecting, and responding to security incidents to minimize damage and ensure recovery.

This question belongs to: Computer Cyber Security
Question #2 Report Error
What type of software vulnerability occurs when untrusted user code commands are output directly into another user’s browser view, enabling script injection exploits?
A. SQL Injection
B. Zero-Day Exploit
C. Cross-Site Scripting (XSS)
D. Buffer Overflow

Correct Answer: Option C


Explanation:
XSS allows threat actors to execute malicious client-side scripts inside other users' browser views by compromising vulnerable web outputs.

This question belongs to: Computer Cyber Security
Question #3 Report Error
Which defensive security strategy isolates an unverified, suspicious executable file inside a restricted virtual space to monitor its runtime behavior safely without risking the main host OS?
A. Sandboxing
B. Firewall Rule Listing
C. Heuristic Patching
D. Data Mirroring

Correct Answer: Option A


Explanation:
Sandboxing creates a secure, isolated runtime wrapper where untrusted applications can execute safely while security tools analyze their behavior indicators for anomalies.

This question belongs to: Computer Cyber Security