What is the role of a firewall in a network? MCQ with Answer and Explanation

What is the role of a firewall in a network?
A. To boost signal
B. To assign IP addresses
C. To protect against unauthorized access
D. To route packets
Answer: Option C
Solution (By JKSSB Mock Tests)
Firewalls enforce security policies by blocking unauthorized traffic.

Discuss this Question (0)

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

Practice More Computer Networking Questions

Question #1
Which address class specifies an initial octet value spanning from 128 to 191 under traditional classful IP routing protocols?
A. Class A
B. Class B
C. Class C
D. Class D

Correct Answer: Option B


Explanation:
Class B IP addresses feature a first octet ranging from 128 to 191, typically mapped to medium-sized corporate networks.

This question belongs to: Computer Computer Networking
Question #2
What is the primary advantage of a switch over a hub?
A. Longer reach
B. Lower cost
C. Supports more devices
D. No collisions due to dedicated bandwidth per port

Correct Answer: Option D


Explanation:
Switches create separate collision domains per port, eliminating collisions and improving performance.

This question belongs to: Computer Computer Networking
Question #3
Which device is used to connect multiple computers in a LAN using twisted-pair cables?
A. Router
B. Hub or switch
C. Modem
D. Firewall

Correct Answer: Option B


Explanation:
Hubs and switches are used to interconnect devices within a LAN.

This question belongs to: Computer Computer Networking