MCQ on Firewall

1. What is the primary function of a firewall?

A) To block all incoming and outgoing traffic
B) To monitor and control network traffic based on security rules
C) To provide unlimited internet access
D) To increase network speed

Answer: B) To monitor and control network traffic based on security rules


2. At which layer of the OSI model do packet filtering firewalls operate?

A) Layer 2 (Data Link Layer)
B) Layer 3 (Network Layer)
C) Layer 5 (Session Layer)
D) Layer 7 (Application Layer)

Answer: B) Layer 3 (Network Layer)


3. What is a major limitation of a packet filtering firewall?

A) Cannot inspect packet contents
B) Too expensive to implement
C) Slows down network performance
D) Cannot filter traffic

Answer: A) Cannot inspect packet contents


4. Which type of firewall tracks the state of active connections?

A) Packet Filtering Firewall
B) Stateless Firewall
C) Stateful Inspection Firewall
D) Proxy Firewall

Answer: C) Stateful Inspection Firewall


5. Which firewall type acts as an intermediary between a user and the internet?

A) Packet Filtering Firewall
B) Stateful Firewall
C) Proxy Firewall
D) Circuit-Level Firewall

Answer: C) Proxy Firewall


6. What is the main purpose of a Web Application Firewall (WAF)?

A) To filter IP addresses
B) To protect web applications from threats like SQL injection and XSS
C) To block all outgoing traffic
D) To accelerate web page loading

Answer: B) To protect web applications from threats like SQL injection and XSS


7. Which of the following is NOT a type of firewall?

A) Hardware Firewall
B) Software Firewall
C) Cloud Firewall
D) Internet Firewall

Answer: D) Internet Firewall


8. What is a Next-Generation Firewall (NGFW)?

A) A firewall that only blocks incoming connections
B) A firewall that combines traditional firewalls with advanced security features
C) A firewall with no logging feature
D) A firewall that does not use any security rules

Answer: B) A firewall that combines traditional firewalls with advanced security features


9. Which firewall method examines packet headers but does not track connection state?

A) Proxy Filtering
B) Packet Filtering
C) Stateful Inspection
D) Deep Packet Inspection

Answer: B) Packet Filtering


10. What is the key advantage of a stateful firewall over a stateless firewall?

A) It is faster in processing packets
B) It tracks the state of active network connections
C) It does not require any rules
D) It blocks all incoming traffic

Answer: B) It tracks the state of active network connections


11. In which layer does a proxy firewall operate?

A) Layer 2
B) Layer 3
C) Layer 4
D) Layer 7

Answer: D) Layer 7


12. Which firewall technique inspects the actual content of a packet?

A) Stateful Inspection
B) Packet Filtering
C) Deep Packet Inspection (DPI)
D) Circuit-Level Filtering

Answer: C) Deep Packet Inspection (DPI)


13. What is a disadvantage of a proxy firewall?

A) Does not provide security
B) Slower performance due to deep traffic inspection
C) Cannot hide user identities
D) Cannot filter malicious content

Answer: B) Slower performance due to deep traffic inspection


14. A firewall that is integrated within network hardware is called a:

A) Software Firewall
B) Cloud Firewall
C) Hardware Firewall
D) Stateful Firewall

Answer: C) Hardware Firewall


15. Which type of firewall uses Access Control Lists (ACLs) to filter traffic?

A) Packet Filtering Firewall
B) Proxy Firewall
C) Next-Generation Firewall
D) Web Application Firewall

Answer: A) Packet Filtering Firewall


16. What is the function of a firewall in a corporate network?

A) To prevent unauthorized access
B) To increase internet speed
C) To replace antivirus software
D) To eliminate all cyber threats

Answer: A) To prevent unauthorized access


17. What type of firewall is best suited for cloud-based applications?

A) Packet Filtering Firewall
B) Cloud Firewall
C) Stateful Inspection Firewall
D) Proxy Firewall

Answer: B) Cloud Firewall


18. Which protocol is commonly used by firewalls for secure remote management?

A) HTTP
B) Telnet
C) SSH
D) FTP

Answer: C) SSH


19. Which firewall mechanism helps prevent Distributed Denial of Service (DDoS) attacks?

A) Stateless Filtering
B) Web Application Firewall (WAF)
C) Circuit-Level Filtering
D) VPN

Answer: B) Web Application Firewall (WAF)


20. Which of the following is an example of a commercial firewall product?

A) Windows Defender
B) Cisco ASA
C) Linux Kernel
D) Google Chrome

Answer: B) Cisco ASA


Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *