All jobs / Cybersecurity / Networking Security
Cybersecurity interview question · 0–1 years
What does a firewall actually decide, and what can it not protect you from?
The strongest answer
It allows or blocks traffic by source, destination, port and protocol — it cannot tell a good request from a malicious one on a port you have allowed
Why it works
Exactly — that gap is why an allowed port still needs application controls, and why egress rules matter too.
What a good answer covers
- Firewalls filter reachability, not intent.
- Match on address, port, protocol.
- Allowed ports still carry attacks.
- Filter egress as well as ingress.
Answers that fall short
- Close, but not the strongest: It blocks traffic the rules do not allow, so only approved ports are reachable
True, and the interviewer wants the second half: what still gets through on a port you allowed. - Weak: It inspects traffic for attacks and stops attackers before they reach the servers
That describes an IPS or a web application firewall; a classic firewall matches addresses, ports and protocol state. - Red flag: With a firewall in front, the services behind it do not need their own authentication
A firewall is a network boundary, not an identity control — internal callers are still callers.
Who gets asked this
More Networking Security questions
- Why does a security team care about DNS, both as a control and as evidence?
- What is the difference between an IDS and an IPS, and which would you put on a production path first?
- What does segmentation buy you here, and how would you start without breaking the business?
- Admin panels are on the public internet with a strong password. What do you add first?
- You can take a packet capture. What are you hoping it tells you, and what will it not tell you?
- A vendor proposes decrypting all outbound employee traffic at the gateway so the tools can inspect it. You…
- Contractors need three internal applications. The default answer is a VPN. What is the strategic case against…