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 provide backup services
B. To encrypt all data on the network
C. To monitor and control incoming and outgoing network traffic
D. To detect and remove viruses
Answer: Option C
Solution (By JKSSB Mock Tests)
A firewall monitors and controls incoming and outgoing network traffic based on predetermined security rules.

Discuss this Question (0)

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

Practice More Cyber Security Questions

Question #1
Which of the following is a type of cyber attack that involves stealing data from a system?
A. Phishing
B. Data exfiltration
C. Man-in-the-middle
D. Denial-of-service

Correct Answer: Option B


Explanation:
Data exfiltration is the unauthorized transfer of data from a system, often carried out by attackers to steal sensitive information.

This question belongs to: Computer Cyber Security
Question #2
Which of the following is a common security threat to mobile devices?
A. All of the above
B. Malicious apps
C. Unsecured Wi-Fi
D. Physical theft

Correct Answer: Option A


Explanation:
Mobile devices face multiple security threats, including malicious apps, physical theft, and unsecured Wi-Fi networks that can be exploited by attackers.

This question belongs to: Computer Cyber Security
Question #3
What is the difference between encryption and hashing?
A. They are the same
B. Encryption is used for integrity, hashing for confidentiality
C. Hashing is reversible, encryption is not
D. Encryption is reversible, hashing is not

Correct Answer: Option D


Explanation:
Encryption is a two-way function that can be reversed with a key, while hashing is a one-way function that produces a fixed-size output from input and cannot be reversed to obtain the original data.

This question belongs to: Computer Cyber Security