Federal Government2079 BSQuestion 12 of 16
What is the use of firewall in network security? Differentiate IDS and IPS in network security management.
5 marks
Question source
- Exam year
- 2079 BS / 2023 AD
- Level
- Gazetted First Class (Computer Operator – Prabidhik)
- Paper
- Paper II – Sewa Sambandhit Karya Gyan
- Section
- Section B
Model answer
A firewall is a barrier that filters incoming/outgoing traffic by rules, blocking unauthorized access while allowing legitimate mail/web. Can be hardware (in router) or software (Windows Firewall).
| Basis | IDS | IPS |
|---|---|---|
| Full form | Intrusion Detection System | Intrusion Prevention System |
| Action | Detects and alerts (like CCTV) | Detects and blocks (like guard) |
| Placement | Passive, off-path | Inline in traffic path |
| Example | Alert "port scan from X" | Auto-drop malicious packets |
Best practice: firewall + IDS/IPS together — firewall filters known ports, IDS/IPS catches attacks.