0
0
Computer Networksknowledge~20 mins

Firewalls and packet filtering in Computer Networks - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Firewall Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
How does a stateful firewall differ from a stateless firewall?

Which of the following best describes the main difference between a stateful firewall and a stateless firewall?

AA stateless firewall encrypts data packets, while a stateful firewall does not.
BA stateless firewall uses machine learning to detect threats, while a stateful firewall uses fixed rules.
CA stateful firewall only filters incoming packets, while a stateless firewall filters both incoming and outgoing packets.
DA stateful firewall tracks the state of active connections, while a stateless firewall filters packets individually without context.
Attempts:
2 left
💡 Hint

Think about whether the firewall remembers previous packets or treats each packet on its own.

📋 Factual
intermediate
1:30remaining
What is the primary function of a packet filter firewall?

What is the main role of a packet filter firewall in network security?

ATo filter packets based on source and destination IP addresses and ports.
BTo inspect the content of data packets and block viruses.
CTo encrypt all network traffic between two points.
DTo monitor user behavior and block suspicious activities.
Attempts:
2 left
💡 Hint

Consider what basic information is available in packet headers.

🔍 Analysis
advanced
2:30remaining
Analyzing firewall rule order impact

Given these firewall rules applied in order, what will happen to a packet from IP 192.168.1.10 to port 80?

1. Deny all traffic from 192.168.1.0/24
2. Allow traffic to port 80
AThe packet will be allowed because the allow rule matches port 80.
BThe packet will be denied because the deny rule matches the source IP first.
CThe packet will be allowed because rules are applied simultaneously.
DThe packet will be denied because port 80 is blocked by default.
Attempts:
2 left
💡 Hint

Remember that firewall rules are processed in order, and the first matching rule applies.

Comparison
advanced
2:00remaining
Comparing firewall types for application layer filtering

Which firewall type is best suited for filtering traffic based on application data, such as HTTP requests?

AProxy firewall
BStateful firewall
CPacket filter firewall
DCircuit-level gateway
Attempts:
2 left
💡 Hint

Think about which firewall can inspect the actual content of the communication.

Reasoning
expert
3:00remaining
Identifying the cause of a firewall bypass

A network administrator notices that unauthorized traffic is passing through the firewall despite rules blocking it. Which of the following is the most likely cause?

AThe unauthorized traffic uses a protocol that firewalls cannot inspect.
BThe firewall hardware is physically damaged and cannot filter packets.
CThe firewall is configured with overlapping rules that allow the traffic before the block rule.
DThe firewall is set to block all traffic by default.
Attempts:
2 left
💡 Hint

Consider how rule order and overlaps affect firewall behavior.