StudyToCert

All certifications / Security+ / Lessons

CompTIA Security+ SY0-701 · Domain 3: Security architecture

IDS vs IPS, inline vs tap

▶ Watch the overview video

Last reviewed October 6, 2026 · Leer en español

Explain it simpler

An IDS (intrusion detection system) watches network traffic and raises an alert when it sees something suspicious, but it does not stop it. An IPS (intrusion prevention system) can actually block harmful traffic. To block, an IPS must sit inline, meaning traffic passes directly through it, like a gate. An IDS usually watches a copy of traffic from a tap or mirrored port, so it sits off to the side and cannot slow down or interrupt the network, but it also cannot stop anything. The tradeoff is that an inline IPS that wrongly flags normal traffic can block real work. Think of a store: a camera with an alarm is an IDS, recording and alerting, while a security guard at the door who stops shoplifters is an IPS.

It is 2:10 a.m. and Maya, on the night shift at Bluewater Logistics, is staring at a dashboard full of red. The new sensor on the internet link has fired four hundred alerts in an hour, most of them for a file-transfer tool the warehouse uses every night. Her manager's message from the afternoon sits at the top of the chat: 'Once the sensor looks good, let's switch it to blocking mode.' Maya pictures every one of those alerts becoming a dropped connection and a stalled truck schedule. Then she wonders about the opposite problem: what attacks are not showing up on this screen at all? Should this device be watching, or should it be stopping?

Start with the two definitions. An intrusion detection system (IDS) watches traffic or activity and raises alerts when it sees something suspicious. An intrusion prevention system (IPS) performs the same kind of analysis but can also act automatically, dropping malicious packets, resetting connections or blocking a source address. The difference comes down to placement and action: an IDS observes a copy of traffic and tells you; an IPS sits in the traffic path and stops it. Security+ regularly tests this distinction, along with how these systems detect attacks and what happens when they make mistakes.

Free account

Keep reading for free

Create a free StudyToCert account to read the rest of this lesson: 8 more sections, 9 key terms, a real-world example, an exam tip and self-check questions. Every lesson, lab and practice test is free with an account.

Sign up free Log in

Study Security+ for free
A week-by-week plan with every lesson, quizzes, checkpoint tests, a practice exam and hands-on labs.
Open the Security+ study plan