All jobs / Cybersecurity / Networking Security
Cybersecurity interview question · 1–3 years
What is the difference between an IDS and an IPS, and which would you put on a production path first?
The strongest answer
An IDS watches a copy of the traffic and alerts; an IPS sits inline and can drop it. On a production path I start in detect mode, tune the false positives, then enable blocking rule by rule
Why it works
Exactly — inline blocking is an availability decision, so earn it one rule at a time.
What a good answer covers
- Detect out of band, block inline.
- IDS alerts on a copy.
- IPS drops in the path.
- Tune first, then enable blocking.
Answers that fall short
- Close, but not the strongest: An IDS detects and an IPS prevents, so the IPS is the better choice because it stops the attack instead of reporting it
Right definitions; the missing piece is that an inline device with untuned rules takes production down. - Weak: They are the same product on different licences; the IPS is the paid tier
The difference is placement and authority: out of band and alerting, versus inline and able to drop. - Red flag: Put the IPS inline in blocking mode on day one — anything less means we accept the attack
Day-one blocking on untuned rules is how the security control becomes the outage.
Who gets asked this
More Networking Security questions
- 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…
- What does a firewall actually decide, and what can it not protect you from?
- Why does a security team care about DNS, both as a control and as evidence?