Skip to content
RED SAGSkills
easyCybersecurity Analyst interview question

What is the difference between a firewall, an IDS and an IPS?

What the interviewer wants to hear

  • Firewall allows or blocks traffic based on rules such as IP, port and application
  • IDS watches traffic and raises alerts but does not block
  • IPS sits inline and can block malicious traffic
  • Trade-off: IPS false positives can break legitimate traffic

Model answer

A firewall controls which traffic is allowed, based on rules such as source, destination, port and, in next-generation firewalls, application and user. An IDS, or Intrusion Detection System, looks at a copy of the traffic and compares it with signatures or normal behaviour, then raises an alert for an analyst. It does not stop anything by itself. An IPS, or Intrusion Prevention System, sits inline in the traffic path, so it can drop packets or reset connections when it sees an attack. The trade-off is that an IPS false positive can block real business traffic, so rules are usually tested in detect mode before being switched to block. Many modern firewalls include IPS features, and tools like Suricata can run as either IDS or IPS.

Can you answer it under time pressure?

Take a timed easy round and get scored on every answer.

Start mock interview

More easy Cybersecurity Analyst questions